Package evaluation to test ModelContextProtocol on Julia 1.14.0-DEV.2309 (6e1a27e459*) started at 2026-06-06T09:53:10.496 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 17.28s ################################################################################ # Installation # Installing ModelContextProtocol... Resolving package versions... Installed CodecZlib ──────────── v0.7.8 Installed ConcurrentUtilities ── v2.5.1 Installed ExceptionUnwrapping ── v0.1.11 Installed URIs ───────────────── v1.6.1 Installed OrderedCollections ─── v1.8.2 Installed TranscodingStreams ─── v0.11.3 Installed DataStructures ─────── v0.19.5 Installed MacroTools ─────────── v0.5.16 Installed BitFlags ───────────── v0.1.10 Installed OpenSSL ────────────── v1.6.1 Installed JSON3 ──────────────── v1.14.3 Installed MbedTLS ────────────── v1.1.10 Installed Parsers ────────────── v2.8.5 Installed MbedTLS_jll ────────── v2.28.1010+0 Installed LoggingExtras ──────── v1.2.0 Installed SimpleBufferStream ─── v1.2.0 Installed PrecompileTools ────── v1.3.4 Installed HTTP ───────────────── v1.11.0 Installed JLLWrappers ────────── v1.8.0 Installed Preferences ────────── v1.5.2 Installed StructTypes ────────── v1.11.0 Installed ModelContextProtocol ─ v0.4.1 Installing 1 artifacts Installed artifact MbedTLS 2.2 MiB Updating `~/.julia/environments/v1.14/Project.toml` [c58f755f] + ModelContextProtocol v0.4.1 Updating `~/.julia/environments/v1.14/Manifest.toml` [d1d4a3ce] + BitFlags v0.1.10 [944b1d66] + CodecZlib v0.7.8 [f0e56b4a] + ConcurrentUtilities v2.5.1 [864edb3b] + DataStructures v0.19.5 [460bff9d] + ExceptionUnwrapping v0.1.11 ⌅ [cd3eb016] + HTTP v1.11.0 [692b3bcd] + JLLWrappers v1.8.0 [0f8b85d8] + JSON3 v1.14.3 [e6f89c97] + LoggingExtras v1.2.0 [1914dd2f] + MacroTools v0.5.16 [739be429] + MbedTLS v1.1.10 [c58f755f] + ModelContextProtocol v0.4.1 [4d8831e6] + OpenSSL v1.6.1 ⌅ [bac558e1] + OrderedCollections v1.8.2 [69de0a69] + Parsers v2.8.5 [aea7be01] + PrecompileTools v1.3.4 [21216c6a] + Preferences v1.5.2 [777ac1f9] + SimpleBufferStream v1.2.0 [856f2bd8] + StructTypes v1.11.0 [3bb67fe8] + TranscodingStreams v0.11.3 [5c2747f8] + URIs v1.6.1 [c8ffd9c3] + MbedTLS_jll v2.28.1010+0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.13.0 [8f399da3] + Libdl v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.13.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [f489334b] + StyledStrings v1.13.0 [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [14a3606d] + MozillaCACerts_jll v2026.5.14 [458c3c95] + OpenSSL_jll v3.5.6+0 [83775a58] + Zlib_jll v1.3.2+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 5.71s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 6.4 s ✓ TestEnv 1 dependency successfully precompiled in 7 seconds. 27 already precompiled. Precompiling package dependencies... Precompiling project... 4.8 s ✓ MacroTools 40.9 s ✓ URIs 39.9 s ✓ BitFlags 154.0 s ✓ OrderedCollections 55.5 s ✓ TranscodingStreams 0.7 s ✓ SimpleBufferStream 1.5 s ✓ ConcurrentUtilities 3.6 s ✓ StructTypes 2.7 s ✓ LoggingExtras 2.9 s ✓ Preferences 40.4 s ✓ ExceptionUnwrapping 83.2 s ✓ OpenSSL 175.3 s ✓ DataStructures 21.0 s ✓ CodecZlib 3.5 s ✓ JLLWrappers 3.1 s ✓ PrecompileTools 3.7 s ✓ MbedTLS_jll 39.6 s ✓ Parsers 4.1 s ✓ MbedTLS 44.3 s ✓ JSON3 ┌ Info: Ignoring an error that occurred during the precompilation workload │ exception = │ HTTP.RequestError: │ HTTP.Request: │ HTTP.Messages.Request: │ """ │ GET / HTTP/1.1 │ Host: localhost:57814 │ Accept: */* │ User-Agent: HTTP.jl/1.14.0-DEV.2309 │ Content-Length: 0 │ Accept-Encoding: gzip │ │ """Underlying error: │ MethodError: objects of type ReentrantLock are not callable. │ In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. │ The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. │ Stacktrace: │ [1] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] │ [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) │ @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 │ [3] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] │ [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) │ @ Base error.jl:311 │ [5] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] │ [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) │ @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 │ [7] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] │ [8] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] │ [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) │ @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 │ [10] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] │ [11] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] │ [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) │ @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 │ [13] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] │ [14] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] │ [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) │ @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 │ [16] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] │ [17] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] │ [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URIs.URI, headers::Nothing, body::Vector{UInt8}; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) │ @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 │ [19] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] │ [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URIs.URI, headers::Nothing, body::Vector{UInt8}) │ @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 │ [21] request(stack::Function, method::String, url::String, h::Nothing, b::Vector{UInt8}, q::Nothing; headers::Nothing, body::Vector{UInt8}, query::Nothing, kw::@Kwargs{}) │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 │ [22] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] │ [23] request(method::String, url::String, h::Nothing, b::Vector{UInt8}; headers::Nothing, body::Vector{UInt8}, query::Nothing, observelayers::Bool, kw::@Kwargs{}) │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] │ [24] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] │ [25] request(method::String, url::String, h::Nothing, b::Vector{UInt8}) │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] │ [26] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] │ [27] request(method::String, url::String) │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] │ [28] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:526 [inlined] │ [29] get(a::String; kw::@Kwargs{}) │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:521 [inlined] │ [30] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:526 [inlined] │ [31] get(a::String) │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:521 [inlined] │ [32] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:36 [inlined] │ [33] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:34 [inlined] │ [34] (::HTTP.var"##->###3"{String})() │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:4 [inlined] │ [35] withenv(::HTTP.var"##->###3"{String}, ::Pair{String, Union{Nothing, String}}, ::Vararg{Pair{String, Union{Nothing, String}}}) │ @ Base env.jl:265 │ [36] macro expansion │ @ ~/.julia/packages/PrecompileTools/QUxvR/src/workloads.jl:75 [inlined] │ [37] macro expansion │ @ ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:34 [inlined] │ [38] top-level scope │ @ ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:4 │ [39] include(mapexpr::Function, mod::Module, _path::String) │ @ Base Base.jl:327 │ [40] top-level scope │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:651 │ [41] include(mod::Module, _path::String) │ @ Base Base.jl:326 │ [42] include_package_for_output(pkg::Base.PkgId, input::String, syntax_version::VersionNumber, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing) │ @ Base loading.jl:3296 │ [43] top-level scope │ @ stdin:5 │ [44] eval(m::Module, e::Any) │ @ Core boot.jl:521 │ [45] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) │ @ Base loading.jl:3132 │ [46] include_string(m::Module, txt::String, fname::String) │ @ Base loading.jl:3142 [inlined] │ [47] exec_options(opts::Base.JLOptions) │ @ Base client.jl:353 │ [48] _start() └ @ Base client.jl:596 151.0 s ✓ HTTP 84.6 s ✓ ModelContextProtocol 22 dependencies successfully precompiled in 960 seconds. 18 already precompiled. 1 dependency had output during precompilation: ┌ HTTP │ ┌ Info: Ignoring an error that occurred during the precompilation workload │ │ exception = │ │ HTTP.RequestError: │ │ HTTP.Request: │ │ HTTP.Messages.Request: │ │ """ │ │ GET / HTTP/1.1 │ │ Host: localhost:57814 │ │ Accept: */* │ │ User-Agent: HTTP.jl/1.14.0-DEV.2309 │ │ Content-Length: 0 │ │ Accept-Encoding: gzip │ │ │ │ """Underlying error: │ │ MethodError: objects of type ReentrantLock are not callable. │ │ In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. │ │ The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. │ │ Stacktrace: │ │ [1] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] │ │ [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) │ │ @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 │ │ [3] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] │ │ [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) │ │ @ Base error.jl:311 │ │ [5] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] │ │ [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) │ │ @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 │ │ [7] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] │ │ [8] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] │ │ [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) │ │ @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 │ │ [10] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] │ │ [11] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] │ │ [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) │ │ @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 │ │ [13] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] │ │ [14] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] │ │ [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) │ │ @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 │ │ [16] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] │ │ [17] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] │ │ [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URIs.URI, headers::Nothing, body::Vector{UInt8}; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) │ │ @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 │ │ [19] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] │ │ [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URIs.URI, headers::Nothing, body::Vector{UInt8}) │ │ @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 │ │ [21] request(stack::Function, method::String, url::String, h::Nothing, b::Vector{UInt8}, q::Nothing; headers::Nothing, body::Vector{UInt8}, query::Nothing, kw::@Kwargs{}) │ │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 │ │ [22] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] │ │ [23] request(method::String, url::String, h::Nothing, b::Vector{UInt8}; headers::Nothing, body::Vector{UInt8}, query::Nothing, observelayers::Bool, kw::@Kwargs{}) │ │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] │ │ [24] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] │ │ [25] request(method::String, url::String, h::Nothing, b::Vector{UInt8}) │ │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] │ │ [26] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] │ │ [27] request(method::String, url::String) │ │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] │ │ [28] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:526 [inlined] │ │ [29] get(a::String; kw::@Kwargs{}) │ │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:521 [inlined] │ │ [30] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:526 [inlined] │ │ [31] get(a::String) │ │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:521 [inlined] │ │ [32] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:36 [inlined] │ │ [33] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:34 [inlined] │ │ [34] (::HTTP.var"##->###3"{String})() │ │ @ HTTP ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:4 [inlined] │ │ [35] withenv(::HTTP.var"##->###3"{String}, ::Pair{String, Union{Nothing, String}}, ::Vararg{Pair{String, Union{Nothing, String}}}) │ │ @ Base env.jl:265 │ │ [36] macro expansion │ │ @ ~/.julia/packages/PrecompileTools/QUxvR/src/workloads.jl:75 [inlined] │ │ [37] macro expansion │ │ @ ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:34 [inlined] │ │ [38] top-level scope │ │ @ ~/.julia/packages/HTTP/Y97L1/src/precompile.jl:4 │ │ [39] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base Base.jl:327 │ │ [40] top-level scope │ │ @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:651 │ │ [41] include(mod::Module, _path::String) │ │ @ Base Base.jl:326 │ │ [42] include_package_for_output(pkg::Base.PkgId, input::String, syntax_version::VersionNumber, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing) │ │ @ Base loading.jl:3296 │ │ [43] top-level scope │ │ @ stdin:5 │ │ [44] eval(m::Module, e::Any) │ │ @ Core boot.jl:521 │ │ [45] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) │ │ @ Base loading.jl:3132 │ │ [46] include_string(m::Module, txt::String, fname::String) │ │ @ Base loading.jl:3142 [inlined] │ │ [47] exec_options(opts::Base.JLOptions) │ │ @ Base client.jl:353 │ │ [48] _start() │ └ @ Base client.jl:596 └ Precompilation completed after 994.4s ################################################################################ # Testing # Testing ModelContextProtocol Status `/tmp/jl_BB3nsU/Project.toml` [864edb3b] DataStructures v0.19.5 ⌅ [cd3eb016] HTTP v1.11.0 [0f8b85d8] JSON3 v1.14.3 [1914dd2f] MacroTools v0.5.16 [c58f755f] ModelContextProtocol v0.4.1 ⌅ [bac558e1] OrderedCollections v1.8.2 [856f2bd8] StructTypes v1.11.0 [5c2747f8] URIs v1.6.1 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [56ddb016] Logging v1.11.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 Status `/tmp/jl_BB3nsU/Manifest.toml` [d1d4a3ce] BitFlags v0.1.10 [944b1d66] CodecZlib v0.7.8 [f0e56b4a] ConcurrentUtilities v2.5.1 [864edb3b] DataStructures v0.19.5 [460bff9d] ExceptionUnwrapping v0.1.11 ⌅ [cd3eb016] HTTP v1.11.0 [692b3bcd] JLLWrappers v1.8.0 [0f8b85d8] JSON3 v1.14.3 [e6f89c97] LoggingExtras v1.2.0 [1914dd2f] MacroTools v0.5.16 [739be429] MbedTLS v1.1.10 [c58f755f] ModelContextProtocol v0.4.1 [4d8831e6] OpenSSL v1.6.1 ⌅ [bac558e1] OrderedCollections v1.8.2 [69de0a69] Parsers v2.8.5 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [777ac1f9] SimpleBufferStream v1.2.0 [856f2bd8] StructTypes v1.11.0 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.6.1 [c8ffd9c3] MbedTLS_jll v2.28.1010+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [8f399da3] Libdl v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [f489334b] StyledStrings v1.13.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [14a3606d] MozillaCACerts_jll v2026.5.14 [458c3c95] OpenSSL_jll v3.5.6+0 [83775a58] Zlib_jll v1.3.2+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... [ Info: Auto-registering components from /tmp/jl_ZA13O6 [ Info: Registered MCPTool from /tmp/jl_ZA13O6/tools/test_tool.jl [ Info: Registered MCPResource from /tmp/jl_ZA13O6/resources/test_resource.jl [ Info: Registered MCPPrompt from /tmp/jl_ZA13O6/prompts/test_prompt.jl This file doesn't return a tool ┌ Warning: File /tmp/jl_5X3cWt/tools/invalid_tool.jl did not return a MCPTool (got Nothing) └ @ ModelContextProtocol ~/.julia/packages/ModelContextProtocol/UTKTR/src/core/init.jl:139 [ Info: Auto-registering components from /tmp/jl_CZ0CKR/components/v1 [ Info: Registered MCPTool from /tmp/jl_CZ0CKR/components/v1/tools/nested.jl [ Info: Auto-registering components from /tmp/jl_2XSKqS [ Info: Auto-registering components from /tmp/definitely_does_not_exist_2337 ┌ Info: Starting HTTP server │ host = "127.0.0.1" │ port = 8324 └ endpoint = "/" [ Info: Listening on: 127.0.0.1:8324, thread id: 1 ┌ Info: HTTP server started └ url = "http://127.0.0.1:8324/" {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: test-http-server","timestamp":"2026-06-06T10:16:34","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Basic HTTP Server: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:2 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ POST / HTTP/1.1 Content-Type: application/json MCP-Protocol-Version: 2025-06-18 Accept: application/json, text/event-stream Host: 127.0.0.1:8324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 160 Accept-Encoding: gzip {"method":"initialize","jsonrpc":"2.0","id":1,"params":{"protocolVersion":"2025-06-18","clientInfo":{"version":"1.0.0","name":"test-client"},"capabilities":{}}}"""Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [27] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [29] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [30] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [33] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:2 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [36] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:38 [inlined] [37] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [38] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [40] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [41] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [42] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [43] top-level scope @ none:6 [44] eval(m::Module, e::Any) @ Core boot.jl:521 [45] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [46] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [37] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [39] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:2 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [45] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [46] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:38 [inlined] [47] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [48] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [51] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [52] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [53] top-level scope @ none:6 [54] eval(m::Module, e::Any) @ Core boot.jl:521 [55] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [56] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:19","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"9324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Listening on: 127.0.0.1:9324, thread id: 1","timestamp":"2026-06-06T10:17:19","metadata":{"module":"HTTP.Servers","file":"/home/pkgeval/.julia/packages/HTTP/Y97L1/src/Servers.jl","line":382}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"HTTP server started","timestamp":"2026-06-06T10:17:19","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":573,"context":{"url":"http://127.0.0.1:9324/"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: test-server","timestamp":"2026-06-06T10:17:19","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Tool Execution: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:102 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ POST / HTTP/1.1 Content-Type: application/json MCP-Protocol-Version: 2025-06-18 Accept: application/json, text/event-stream Host: 127.0.0.1:9324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 151 Accept-Encoding: gzip {"method":"initialize","jsonrpc":"2.0","id":1,"params":{"protocolVersion":"2025-06-18","clientInfo":{"version":"1.0","name":"test"},"capabilities":{}}}"""Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [27] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [29] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [30] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [33] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:102 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [36] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:137 [inlined] [37] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [38] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [40] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [41] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [42] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [43] top-level scope @ none:6 [44] eval(m::Module, e::Any) @ Core boot.jl:521 [45] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [46] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [37] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [39] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:102 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [45] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [46] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:137 [inlined] [47] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [48] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [51] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [52] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [53] top-level scope @ none:6 [54] eval(m::Module, e::Any) @ Core boot.jl:521 [55] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [56] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:22","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"10324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Listening on: 127.0.0.1:10324, thread id: 1","timestamp":"2026-06-06T10:17:22","metadata":{"module":"HTTP.Servers","file":"/home/pkgeval/.julia/packages/HTTP/Y97L1/src/Servers.jl","line":382}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"HTTP server started","timestamp":"2026-06-06T10:17:22","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":573,"context":{"url":"http://127.0.0.1:10324/"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: session-test-server","timestamp":"2026-06-06T10:17:22","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Session Management: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:190 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ POST / HTTP/1.1 Content-Type: application/json MCP-Protocol-Version: 2025-06-18 Accept: application/json, text/event-stream Host: 127.0.0.1:10324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 151 Accept-Encoding: gzip {"method":"initialize","jsonrpc":"2.0","id":1,"params":{"protocolVersion":"2025-06-18","clientInfo":{"version":"1.0","name":"test"},"capabilities":{}}}"""Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [27] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [29] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [30] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [33] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:190 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [36] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:207 [inlined] [37] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [38] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [40] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [41] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [42] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [43] top-level scope @ none:6 [44] eval(m::Module, e::Any) @ Core boot.jl:521 [45] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [46] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [37] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [39] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:190 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [45] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [46] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:207 [inlined] [47] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [48] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [51] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [52] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [53] top-level scope @ none:6 [54] eval(m::Module, e::Any) @ Core boot.jl:521 [55] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [56] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:24","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"11324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Listening on: 127.0.0.1:11324, thread id: 1","timestamp":"2026-06-06T10:17:24","metadata":{"module":"HTTP.Servers","file":"/home/pkgeval/.julia/packages/HTTP/Y97L1/src/Servers.jl","line":382}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"HTTP server started","timestamp":"2026-06-06T10:17:25","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":573,"context":{"url":"http://127.0.0.1:11324/"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: notification-test","timestamp":"2026-06-06T10:17:25","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Notification Handling: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:303 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ POST / HTTP/1.1 Content-Type: application/json MCP-Protocol-Version: 2025-06-18 Accept: application/json, text/event-stream Host: 127.0.0.1:11324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 66 Accept-Encoding: gzip {"method":"notifications/initialized","jsonrpc":"2.0","params":{}}"""Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [27] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [29] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [30] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [33] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:303 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [36] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:319 [inlined] [37] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [38] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [40] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [41] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [42] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [43] top-level scope @ none:6 [44] eval(m::Module, e::Any) @ Core boot.jl:521 [45] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [46] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [37] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [39] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:303 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [45] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [46] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:319 [inlined] [47] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [48] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [51] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [52] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [53] top-level scope @ none:6 [54] eval(m::Module, e::Any) @ Core boot.jl:521 [55] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [56] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:27","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"12324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Listening on: 127.0.0.1:12324, thread id: 1","timestamp":"2026-06-06T10:17:27","metadata":{"module":"HTTP.Servers","file":"/home/pkgeval/.julia/packages/HTTP/Y97L1/src/Servers.jl","line":382}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"HTTP server started","timestamp":"2026-06-06T10:17:28","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":573,"context":{"url":"http://127.0.0.1:12324/"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: health-check-server","timestamp":"2026-06-06T10:17:28","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Health Check (Plain GET): Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:347 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ GET / HTTP/1.1 Accept: application/json Host: 127.0.0.1:12324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 0 Accept-Encoding: gzip """Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::Vector{UInt8}; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::Vector{UInt8}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::Vector{UInt8}, q::Nothing; headers::Vector{Pair{String, String}}, body::Vector{UInt8}, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::Vector{UInt8}; headers::Vector{Pair{String, String}}, body::Vector{UInt8}, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::Vector{UInt8}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [27] request(method::String, url::String, h::Vector{Pair{String, String}}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:526 [inlined] [29] get(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:521 [30] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:526 [inlined] [31] get(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:521 [32] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [33] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [35] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:347 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [37] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [38] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:365 [inlined] [39] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [44] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [45] top-level scope @ none:6 [46] eval(m::Module, e::Any) @ Core boot.jl:521 [47] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [48] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::Vector{UInt8}; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::Vector{UInt8}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::Vector{UInt8}, q::Nothing; headers::Vector{Pair{String, String}}, body::Vector{UInt8}, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::Vector{UInt8}; headers::Vector{Pair{String, String}}, body::Vector{UInt8}, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::Vector{UInt8}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [37] request(method::String, url::String, h::Vector{Pair{String, String}}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:526 [inlined] [39] get(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:521 [40] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:526 [inlined] [41] get(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:521 [42] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [43] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [45] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:347 [inlined] [46] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [47] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [48] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:365 [inlined] [49] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [50] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [53] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [54] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [55] top-level scope @ none:6 [56] eval(m::Module, e::Any) @ Core boot.jl:521 [57] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [58] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:31","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"13324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Listening on: 127.0.0.1:13324, thread id: 1","timestamp":"2026-06-06T10:17:31","metadata":{"module":"HTTP.Servers","file":"/home/pkgeval/.julia/packages/HTTP/Y97L1/src/Servers.jl","line":382}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"HTTP server started","timestamp":"2026-06-06T10:17:31","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":573,"context":{"url":"http://127.0.0.1:13324/"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: lenient-header-server","timestamp":"2026-06-06T10:17:31","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Lenient Accept Header for POST: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:396 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ POST / HTTP/1.1 Content-Type: application/json Accept: application/json Host: 127.0.0.1:13324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 151 Accept-Encoding: gzip {"method":"initialize","jsonrpc":"2.0","id":1,"params":{"protocolVersion":"2025-06-18","clientInfo":{"version":"1.0","name":"test"},"capabilities":{}}}"""Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [27] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [29] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [30] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [33] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:396 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [36] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:424 [inlined] [37] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [38] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [40] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [41] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [42] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [43] top-level scope @ none:6 [44] eval(m::Module, e::Any) @ Core boot.jl:521 [45] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [46] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [37] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [39] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:1 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:396 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [45] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [46] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_http.jl:424 [inlined] [47] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [48] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [51] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:31 [inlined] [52] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [53] top-level scope @ none:6 [54] eval(m::Module, e::Any) @ Core boot.jl:521 [55] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [56] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:34","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"13324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"error","data":{"message":"Failed to start HTTP server","timestamp":"2026-06-06T10:17:34","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":565,"context":{"error":"Base.IOError(\"listen: address already in use (EADDRINUSE)\", -98)"}}}}} SSE Streaming: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:42 Got exception outside of a @test IOError: listen: address already in use (EADDRINUSE) Stacktrace: [1] _uv_error(prefix::String, c::Int32) @ Base libuv.jl:114 [2] uv_error(prefix::String, c::Int32) @ Base libuv.jl:113 [inlined] [3] listen(sock::Sockets.TCPServer; backlog::Int64) @ Sockets /opt/julia/share/julia/stdlib/v1.14/Sockets/src/Sockets.jl:648 [inlined] [4] listen(addr::Sockets.InetAddr{Sockets.IPv4}; backlog::Int64) @ Sockets /opt/julia/share/julia/stdlib/v1.14/Sockets/src/Sockets.jl:641 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:69 [inlined] [6] HTTP.Servers.Listener(addr::Sockets.InetAddr{Sockets.IPv4}, host::String, port::String; sslconfig::Nothing, reuseaddr::Bool, backlog::Int64, server::Nothing, listenany::Bool, kw::@Kwargs{}) @ HTTP.Servers ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:1 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:39 [inlined] [8] HTTP.Servers.Listener(addr::Sockets.InetAddr{Sockets.IPv4}, host::String, port::String) @ HTTP.Servers ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:1 [inlined] [9] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:74 [inlined] [10] HTTP.Servers.Listener(host::String, port::Int64; kw::@Kwargs{}) @ HTTP.Servers ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:1 [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:74 [inlined] [12] HTTP.Servers.Listener(host::String, port::Int64) @ HTTP.Servers ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:1 [inlined] [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:326 [inlined] [14] listen!(::ModelContextProtocol.var"#connect##->###0"{HttpTransport}, ::String, ::Int64; kw::@Kwargs{}) @ HTTP.Servers ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:1 [inlined] [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:326 [inlined] [16] listen!(::ModelContextProtocol.var"#connect##->###0"{HttpTransport}, ::String, ::Int64) @ HTTP.Servers ~/.julia/packages/HTTP/Y97L1/src/Servers.jl:1 [inlined] [17] serve!(::ModelContextProtocol.var"#connect##->###0"{HttpTransport}, ::String, ::Int64; stream::Bool, kw::@Kwargs{}) @ HTTP.Handlers ~/.julia/packages/HTTP/Y97L1/src/Handlers.jl:140 [inlined] [18] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl:561 [inlined] [19] connect(transport::HttpTransport) @ ModelContextProtocol ~/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl:534 [20] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:1 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [23] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:42 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [26] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:64 [inlined] [27] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [28] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [30] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [31] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:32 [inlined] [32] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [33] top-level scope @ none:6 [34] eval(m::Module, e::Any) @ Core boot.jl:521 [35] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [36] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:34","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"14324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Listening on: 127.0.0.1:14324, thread id: 1","timestamp":"2026-06-06T10:17:34","metadata":{"module":"HTTP.Servers","file":"/home/pkgeval/.julia/packages/HTTP/Y97L1/src/Servers.jl","line":382}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"HTTP server started","timestamp":"2026-06-06T10:17:35","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":573,"context":{"url":"http://127.0.0.1:14324/"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: origin-test","timestamp":"2026-06-06T10:17:35","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Origin Validation: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:133 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ POST / HTTP/1.1 Content-Type: application/json Origin: http://localhost:3000 MCP-Protocol-Version: 2025-06-18 Accept: application/json, text/event-stream Host: 127.0.0.1:14324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 151 Accept-Encoding: gzip {"method":"initialize","jsonrpc":"2.0","id":1,"params":{"protocolVersion":"2025-06-18","clientInfo":{"version":"1.0","name":"test"},"capabilities":{}}}"""Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [27] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [29] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [30] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:1 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [33] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:133 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [36] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:154 [inlined] [37] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [38] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [40] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [41] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:32 [inlined] [42] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [43] top-level scope @ none:6 [44] eval(m::Module, e::Any) @ Core boot.jl:521 [45] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [46] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [37] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [39] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:1 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:133 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [45] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [46] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:154 [inlined] [47] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [48] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [51] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:32 [inlined] [52] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [53] top-level scope @ none:6 [54] eval(m::Module, e::Any) @ Core boot.jl:521 [55] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [56] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:37","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"15324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Listening on: 127.0.0.1:15324, thread id: 1","timestamp":"2026-06-06T10:17:37","metadata":{"module":"HTTP.Servers","file":"/home/pkgeval/.julia/packages/HTTP/Y97L1/src/Servers.jl","line":382}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"HTTP server started","timestamp":"2026-06-06T10:17:38","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":573,"context":{"url":"http://127.0.0.1:15324/"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: version-test","timestamp":"2026-06-06T10:17:38","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Protocol Version Negotiation: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:214 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ POST / HTTP/1.1 Content-Type: application/json MCP-Protocol-Version: 2025-11-25 Accept: application/json, text/event-stream Host: 127.0.0.1:15324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 151 Accept-Encoding: gzip {"method":"initialize","jsonrpc":"2.0","id":1,"params":{"protocolVersion":"2025-11-25","clientInfo":{"version":"1.0","name":"test"},"capabilities":{}}}"""Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [27] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [29] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [30] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:1 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [33] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:214 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [36] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:235 [inlined] [37] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [38] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [40] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [41] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:32 [inlined] [42] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [43] top-level scope @ none:6 [44] eval(m::Module, e::Any) @ Core boot.jl:521 [45] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [46] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [37] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [39] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:1 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:214 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [45] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [46] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:235 [inlined] [47] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [48] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [51] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:32 [inlined] [52] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [53] top-level scope @ none:6 [54] eval(m::Module, e::Any) @ Core boot.jl:521 [55] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [56] _start() @ Base client.jl:596 {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting HTTP server","timestamp":"2026-06-06T10:17:40","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":558,"context":{"port":"16324","endpoint":"/","host":"127.0.0.1"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Listening on: 127.0.0.1:16324, thread id: 1","timestamp":"2026-06-06T10:17:40","metadata":{"module":"HTTP.Servers","file":"/home/pkgeval/.julia/packages/HTTP/Y97L1/src/Servers.jl","line":382}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"HTTP server started","timestamp":"2026-06-06T10:17:40","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/transports/http.jl","line":573,"context":{"url":"http://127.0.0.1:16324/"}}}}} {"jsonrpc":"2.0","method":"notifications/message","params":{"level":"info","data":{"message":"Starting MCP server: concurrent-test","timestamp":"2026-06-06T10:17:40","metadata":{"module":"ModelContextProtocol","file":"/home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/src/core/server.jl","line":237}}}} Multiple Concurrent Requests: Error During Test at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:293 Got exception outside of a @test HTTP.RequestError: HTTP.Request: HTTP.Messages.Request: """ POST / HTTP/1.1 Content-Type: application/json MCP-Protocol-Version: 2025-06-18 Accept: application/json, text/event-stream Host: 127.0.0.1:16324 User-Agent: HTTP.jl/1.14.0-DEV.2309 Content-Length: 151 Accept-Encoding: gzip {"method":"initialize","jsonrpc":"2.0","id":1,"params":{"protocolVersion":"2025-06-18","clientInfo":{"version":"1.0","name":"test"},"capabilities":{}}}"""Underlying error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:143 [inlined] [2] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [3] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [4] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [6] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [9] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [12] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [14] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [15] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [16] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [18] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [19] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [20] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [21] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [22] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [23] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [25] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [27] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [28] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [29] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [30] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:1 [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [33] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:293 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [36] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:330 [inlined] [37] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [38] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [40] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [41] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:32 [inlined] [42] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [43] top-level scope @ none:6 [44] eval(m::Module, e::Any) @ Core boot.jl:521 [45] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [46] _start() @ Base client.jl:596 caused by: TaskFailedException nested task error: MethodError: objects of type ReentrantLock are not callable. In case you did not try calling it explicitly, check if a ReentrantLock has been passed as an argument to a method that expects a callable instead. The object of type `ReentrantLock` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object. Stacktrace: [1] macro expansion @ lock.jl:374 [inlined] [2] (::HTTP.StreamRequest.var"##kw_body#streamlayer#0##->###0"{ReentrantLock, HTTP.Messages.Request, HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}, Float64})() @ HTTP.StreamRequest threadingconstructs.jl:10 ...and 1 more exception. Stacktrace: [1] sync_end(c::Channel{Any}) @ Base task.jl:630 [2] macro expansion @ task.jl:663 [inlined] [3] streamlayer(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; iofunction::Nothing, decompress::Nothing, logerrors::Bool, logtag::Nothing, timedout::Nothing, sse_callback::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.StreamRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:10 [4] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/StreamRequest.jl:21 [inlined] [5] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:14 [inlined] [6] (::HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; status_exception::Bool, timedout::Nothing, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ExceptionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:7 [7] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ExceptionRequest.jl:13 [inlined] [8] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:18 [inlined] [9] (::HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.Connections.Connection{Sockets.TCPSocket}}; readtimeout::Int64, logerrors::Bool, logtag::Nothing, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.TimeoutRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:9 [10] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/TimeoutRequest.jl:15 [inlined] [11] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:122 [inlined] [12] (::HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.ConnectionRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:51 [13] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/ConnectionRequest.jl:60 [inlined] [14] (::Base.var"#45#46"{Base.var"#47#48"{ExponentialBackOff, HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##->###0"{HTTP.Messages.Request, Int64, typeof(HTTP.RetryRequest.FALSE), Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ Base error.jl:311 [15] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:75 [inlined] [16] (::HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.RetryRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:10 [17] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RetryRequest.jl:30 [inlined] [18] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:42 [inlined] [19] (::HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}})(req::HTTP.Messages.Request; cookies::Bool, cookiejar::HTTP.Cookies.CookieJar, kw::@Kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64}) @ HTTP.CookieRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:11 [20] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/CookieRequest.jl:19 [inlined] [21] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:71 [inlined] [22] (::HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}})(req::HTTP.Messages.Request; iofunction::Nothing, decompress::Nothing, basicauth::Bool, detect_content_type::Bool, canonicalize_headers::Bool, kw::@Kwargs{verbose::Int64}) @ HTTP.HeadersRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:8 [23] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/HeadersRequest.jl:14 [inlined] [24] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:25 [inlined] [25] (::HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}})(req::HTTP.Messages.Request; redirect::Bool, redirect_limit::Int64, redirect_method::Nothing, forwardheaders::Bool, response_stream::Nothing, kw::@Kwargs{verbose::Int64}) @ HTTP.RedirectRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:8 [26] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/RedirectRequest.jl:14 [inlined] [27] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:30 [inlined] [28] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String; copyheaders::Bool, response_stream::Nothing, http_version::HTTP.Strings.HTTPVersion, verbose::Int64, kw::@Kwargs{}) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [29] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:24 [inlined] [30] (::HTTP.MessageRequest.var"#messagelayer#makerequest##0"{HTTP.MessageRequest.var"#messagelayer##kw_body#makerequest#0##0"{HTTP.RedirectRequest.var"#redirectlayer#redirects##0"{HTTP.RedirectRequest.var"#redirectlayer##kw_body#redirects#0##0"{HTTP.HeadersRequest.var"#headerslayer#defaultheaders##0"{HTTP.HeadersRequest.var"#headerslayer##kw_body#defaultheaders#0##0"{HTTP.CookieRequest.var"#cookielayer#managecookies##0"{HTTP.CookieRequest.var"#cookielayer##kw_body#managecookies#0##0"{HTTP.RetryRequest.var"#retrylayer#manageretries##0"{HTTP.RetryRequest.var"#retrylayer##kw_body#manageretries#0##0"{HTTP.ConnectionRequest.var"#connectionlayer#connections##0"{HTTP.ConnectionRequest.var"#connectionlayer##kw_body#connections#0##0"{HTTP.TimeoutRequest.var"#timeoutlayer#timeouts##0"{HTTP.TimeoutRequest.var"#timeoutlayer##kw_body#timeouts#0##0"{HTTP.ExceptionRequest.var"#exceptionlayer#exceptions##0"{HTTP.ExceptionRequest.var"#exceptionlayer##kw_body#exceptions#0##0"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}}}}}}}}}})(method::String, url::URI, headers::Vector{Pair{String, String}}, body::String) @ HTTP.MessageRequest ~/.julia/packages/HTTP/Y97L1/src/clientlayers/MessageRequest.jl:17 [31] request(stack::Function, method::String, url::String, h::Vector{Pair{String, String}}, b::String, q::Nothing; headers::Vector{Pair{String, String}}, body::String, query::Nothing, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:463 [32] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [33] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String; headers::Vector{Pair{String, String}}, body::String, query::Nothing, observelayers::Bool, kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [inlined] [34] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:321 [inlined] [35] request(method::String, url::String, h::Vector{Pair{String, String}}, b::String) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:88 [36] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [37] post(::String, ::Vararg{Any}; kw::@Kwargs{}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [38] macro expansion @ ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:540 [inlined] [39] post(::String, ::Vararg{Any}) @ HTTP ~/.julia/packages/HTTP/Y97L1/src/HTTP.jl:535 [40] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:1 [41] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [42] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [43] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:293 [inlined] [44] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [45] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [46] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/transports/test_streamable_http.jl:330 [inlined] [47] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [48] top-level scope @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] [51] macro expansion @ ~/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:32 [inlined] [52] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:327 [53] top-level scope @ none:6 [54] eval(m::Module, e::Any) @ Core boot.jl:521 [55] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [56] _start() @ Base client.jl:596 Test Summary: | Pass Error Total Time ModelContextProtocol.jl | 254 10 264 3m42.0s Core Types | 3 3 0.2s Server Configuration | 5 5 0.3s Server Component Registration | 6 6 1.1s Multi-Content Tool Tests | 30 30 5.2s CallToolResult return type | 25 25 0.7s Tools with No Parameters | 8 8 2.0s Complex input_schema support | 21 21 1.1s Resource Tests | 1 1 0.0s Template Processing | 6 6 1.5s Auto Registration | 16 16 3.5s Message Parsing | 4 4 2m01.1s Request Handling | 9 9 1.3s Title and Icons Metadata | 45 45 2.2s Null Parameters Handling | 8 8 0.1s content2dict function | 28 28 0.4s Logging | 2 2 2.2s StdioTransport | 12 12 0.2s HttpTransport | 6 6 1m05.0s Basic HTTP Server | 1 1 50.0s Tool Execution | 1 1 3.3s Session Management | 1 1 2.7s Notification Handling | 1 1 3.2s Health Check (Plain GET) | 1 1 3.0s Lenient Accept Header for POST | 1 1 2.7s Streamable HTTP Transport | 16 4 20 9.0s SSE Event Formatting | 8 8 0.3s Session ID Generation | 8 8 0.2s SSE Streaming | 1 1 0.4s Origin Validation | 1 1 2.7s Protocol Version Negotiation | 1 1 2.7s Multiple Concurrent Requests | 1 1 2.7s Error Handling | 2 2 0.0s Integration Tests | 7 7 0.3s RNG of the outermost testset: Random.Xoshiro(0xd68f38d05e199f63, 0x63fab721975f52ea, 0xa4a7ffd4ba9079e0, 0x234093fa21266e57, 0x308b6933b116fde2) ERROR: LoadError: Some tests did not pass: 254 passed, 0 failed, 10 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/ModelContextProtocol/UTKTR/test/runtests.jl:18 Testing failed after 435.89s ERROR: LoadError: Package ModelContextProtocol errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:3247 [3] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:587 [4] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [5] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [6] test(pkg::String; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [7] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [8] include(mod::Module, _path::String) @ Base Base.jl:326 [9] exec_options(opts::Base.JLOptions) @ Base client.jl:355 [10] _start() @ Base client.jl:596 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 1498.54s: networking-related issues were detected