Package evaluation to test D3Trees on Julia 1.14.0-DEV.1260 (89243d1cdf*) started at 2025-11-16T15:53:22.336 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.95s ################################################################################ # Installation # Installing D3Trees... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [e3df1716] + D3Trees v0.3.6 Updating `~/.julia/environments/v1.14/Manifest.toml` [1520ce14] + AbstractTrees v0.4.5 [d1d4a3ce] + BitFlags v0.1.9 [944b1d66] + CodecZlib v0.7.8 [f0e56b4a] + ConcurrentUtilities v2.5.0 [e3df1716] + D3Trees v0.3.6 [460bff9d] + ExceptionUnwrapping v0.1.11 [cd3eb016] + HTTP v1.10.19 [692b3bcd] + JLLWrappers v1.7.1 [682c06a0] + JSON v1.3.0 [e6f89c97] + LoggingExtras v1.2.0 [739be429] + MbedTLS v1.1.9 [4d8831e6] + OpenSSL v1.6.0 [69de0a69] + Parsers v2.8.3 [aea7be01] + PrecompileTools v1.3.3 [21216c6a] + Preferences v1.5.0 [777ac1f9] + SimpleBufferStream v1.2.0 [ec057cc2] + StructUtils v2.6.0 [3bb67fe8] + TranscodingStreams v0.11.3 [5c2747f8] + URIs v1.6.1 [c8ffd9c3] + MbedTLS_jll v2.28.10+0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [8f399da3] + Libdl v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [ca575930] + NetworkOptions v1.3.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.0.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [f489334b] + StyledStrings v1.11.0 [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [14a3606d] + MozillaCACerts_jll v2025.11.4 [458c3c95] + OpenSSL_jll v3.5.4+0 [83775a58] + Zlib_jll v1.3.1+2 Installation completed after 5.03s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... ┌ Error: Failed to use TestEnv.jl; test dependencies will not be precompiled │ exception = │ UndefVarError: `project_rel_path` not defined in `TestEnv` │ Suggestion: this global was defined as `Pkg.Operations.project_rel_path` but not assigned a value. │ Stacktrace: │ [1] get_test_dir(ctx::Pkg.Types.Context, pkgspec::PackageSpec) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:75 │ [2] test_dir_has_project_file │ @ ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:52 [inlined] │ [3] maybe_gen_project_override! │ @ ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:83 [inlined] │ [4] activate(pkg::String; allow_reresolve::Bool) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/activate_set.jl:12 │ [5] activate(pkg::String) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/activate_set.jl:9 │ [6] top-level scope │ @ /PkgEval.jl/scripts/precompile.jl:24 │ [7] include(mod::Module, _path::String) │ @ Base ./Base.jl:309 │ [8] exec_options(opts::Base.JLOptions) │ @ Base ./client.jl:344 │ [9] _start() │ @ Base ./client.jl:577 └ @ Main /PkgEval.jl/scripts/precompile.jl:26 Precompiling package dependencies... Precompiling packages... 3553.4 ms ✓ D3Trees 1 dependency successfully precompiled in 8 seconds. 36 already precompiled. Precompilation completed after 16.44s ################################################################################ # Testing # Testing D3Trees Status `/tmp/jl_cGHX07/Project.toml` [1520ce14] AbstractTrees v0.4.5 [e3df1716] D3Trees v0.3.6 [cd3eb016] HTTP v1.10.19 [682c06a0] JSON v1.3.0 [0db19996] NBInclude v2.4.0 [2a0f44e3] Base64 v1.11.0 [56ddb016] Logging v1.11.0 [6462fe0b] Sockets v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_cGHX07/Manifest.toml` [1520ce14] AbstractTrees v0.4.5 [d1d4a3ce] BitFlags v0.1.9 [944b1d66] CodecZlib v0.7.8 [f0e56b4a] ConcurrentUtilities v2.5.0 [e3df1716] D3Trees v0.3.6 [460bff9d] ExceptionUnwrapping v0.1.11 [cd3eb016] HTTP v1.10.19 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.3.0 [e6f89c97] LoggingExtras v1.2.0 [739be429] MbedTLS v1.1.9 [0db19996] NBInclude v2.4.0 [4d8831e6] OpenSSL v1.6.0 [69de0a69] Parsers v2.8.3 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.0 [777ac1f9] SimpleBufferStream v1.2.0 [b85f4697] SoftGlobalScope v1.1.0 [ec057cc2] StructUtils v2.6.0 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.6.1 [c8ffd9c3] MbedTLS_jll v2.28.10+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [8f399da3] Libdl v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.3.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.0.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [f489334b] StyledStrings v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [14a3606d] MozillaCACerts_jll v2025.11.4 [458c3c95] OpenSSL_jll v3.5.4+0 [83775a58] Zlib_jll v1.3.1+2 Testing Running tests... json(t1) = "{\"children\":[[1,2],[],[3],[]],\"tooltip\":[\"pops\",\"up\",\"on\",\"hover\"],\"link_style\":[\"\",\"stroke:blue\",\"\",\"stroke-width:10px\"],\"title\":\"Julia D3Tree\",\"unexpanded_children\":[],\"text\":[\"one\\n(second line)\",\"2\",\"III\",\"four\"],\"style\":[\"\",\"fill:red\",\"r:14\",\"opacity:0.7\"]}" D3Trees.children(D3TreeNode(t1, 1)) = Base.Generator{Vector{Int64}, D3Trees.var"#7#8"{D3TreeNode}}(D3Trees.var"#7#8"{D3TreeNode}(D3TreeNode(D3Tree([[2, 3], Int64[], [4], Int64[]], Dict{Int64, Any}(), ["one\n(second line)", "2", "III", "four"], ["pops", "up", "on", "hover"], ["", "fill:red", "r:14", "opacity:0.7"], ["", "stroke:blue", "", "stroke-width:10px"], "Julia D3Tree", Dict{Symbol, Any}(:tooltip => ["pops", "up", "on", "hover"], :link_style => ["", "stroke:blue", "", "stroke-width:10px"], :text => ["one\n(second line)", "2", "III", "four"], :style => ["", "fill:red", "r:14", "opacity:0.7"]), (text = D3Trees.text, tooltip = D3Trees.tooltip, style = D3Trees.style, link_style = D3Trees.link_style)), 1)), [2, 3]) one (second line) ├──2 └──III └──four generating 1000000 children 0.255586 seconds (2.06 M allocations: 83.366 MiB, 19.88% gc time, 57.92% compilation time) creating tree object 0.782603 seconds (2.24 M allocations: 104.234 MiB, 25.45% gc time, 54.60% compilation time) html string 2.385898 seconds (14.00 M allocations: 593.084 MiB, 44.99% gc time) AbstractTrees constructor 1.393704 seconds (339.21 k allocations: 17.628 MiB, 99.97% compilation time) 0.020066 seconds (3.27 k allocations: 155.375 KiB, 94.99% compilation time) /tmp/jl_othKU1/tree.html Test Summary: | Pass Total Time simple tree | 4 4 14.4s Limited depth abstract tree Notebook WARNING: Method definition bt_depth(Int64) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:6 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:6. WARNING: Method definition bt_children_ids(Int64) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:7 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:7. WARNING: Method definition bt_depth(Main.BTNode) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:8 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:8. WARNING: Method definition show(IO, Main.BTNode) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:9 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:9. WARNING: Method definition (::Type{Main.LimitedDepthTree})(Any, Any) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:24 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:22. WARNING: Method definition (::Type{Main.LimitedDepthTree})() in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:31 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:29. WARNING: Method definition kwcall(NamedTuple{names, T} where T<:Tuple where names, Type{Main.LimitedDepthTree}) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:31 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:29. WARNING: Method definition expand(Main.LimitedDepthTree) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:32 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:30. WARNING: Method definition children(Main.LimitedDepthTree) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/binary_abstract_trees.jl:33 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:33. WARNING: Method definition show(IO, Main.BTNode) in module Main at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+2]:9 overwritten at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/examples/lazy_load_deep_trees.ipynb:In[+5]:2. Test Summary: | Pass Total Time lazy loading tree | 5 5 4.5s Test Summary: | Pass Total Time vs code | 1 1 0.5s Test Summary: | Pass Total Time tree expansion | 7 7 2.0s [ Info: (Re)setting D3Trees server at 127.0.0.1:16412 [ Info: Listening on: 127.0.0.1:16412, thread id: 1 server: Test Failed at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/test_server.jl:28 Expression: res_data["unexpanded_children"] == [1, 2] Evaluated: Any[2, 1] == [1, 2] Stacktrace: [1] top-level scope @ ~/.julia/packages/D3Trees/7Hzj6/test/test_server.jl:28 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:753 [inlined] [3] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [4] top-level scope @ ~/.julia/packages/D3Trees/7Hzj6/test/runtests.jl:101 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [6] macro expansion @ ~/.julia/packages/D3Trees/7Hzj6/test/runtests.jl:101 [inlined] ┌ Error: [TREE] Could not expand tree! │ AssertionError: Node at index 1 is already expanded! │ 10-element Vector{Base.StackTraces.StackFrame}: │ expand_node!(t::D3Tree, ind::Int64, lazy_expand_after_depth::Int64) at D3Trees.jl:286 │ process_node_expand_request(tree_data::Dict{String, D3Tree}, div_id::String, subtree_root_id::Int64, depth::Int64) at server.jl:106 │ handle_subtree_request(req::HTTP.Messages.Request, tree_data::Dict{String, D3Tree}, lazy_subtree_depth::Int64) at server.jl:124 │ (::var"#28#29")(req::HTTP.Messages.Request) at test_server.jl:19 │ (::HTTP.Handlers.Router{typeof(D3Trees.cors404), typeof(D3Trees.cors405), Nothing})(req::HTTP.Messages.Request) at Handlers.jl:439 │ (::D3Trees.var"#cors_middleware##0#cors_middleware##1"{HTTP.Handlers.Router{typeof(D3Trees.cors404), typeof(D3Trees.cors405), Nothing}})(req::HTTP.Messages.Request) at server.jl:97 │ (::D3Trees.var"#logging_middleware##0#logging_middleware##1"{D3Trees.var"#cors_middleware##0#cors_middleware##1"{HTTP.Handlers.Router{typeof(D3Trees.cors404), typeof(D3Trees.cors405), Nothing}}})(req::HTTP.Messages.Request) at server.jl:77 │ (::HTTP.Handlers.var"#streamhandler##0#streamhandler##1"{D3Trees.var"#logging_middleware##0#logging_middleware##1"{D3Trees.var"#cors_middleware##0#cors_middleware##1"{HTTP.Handlers.Router{typeof(D3Trees.cors404), typeof(D3Trees.cors405), Nothing}}}})(stream::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.Connections.Connection{TCPSocket}}) at Handlers.jl:58 │ handle_connection(f::Function, c::HTTP.Connections.Connection{TCPSocket}, listener::HTTP.Servers.Listener{Nothing, Sockets.TCPServer}, readtimeout::Int64, access_log::Nothing, verbose::Bool) at Servers.jl:469 │ (::HTTP.Servers.var"#listenloop##0#listenloop##1"{HTTP.Handlers.var"#streamhandler##0#streamhandler##1"{D3Trees.var"#logging_middleware##0#logging_middleware##1"{D3Trees.var"#cors_middleware##0#cors_middleware##1"{HTTP.Handlers.Router{typeof(D3Trees.cors404), typeof(D3Trees.cors405), Nothing}}}}, HTTP.Servers.Listener{Nothing, Sockets.TCPServer}, Set{HTTP.Connections.Connection}, Int64, Nothing, ReentrantLock, Bool, Base.Semaphore, HTTP.Connections.Connection{TCPSocket}})() at Servers.jl:401 └ @ D3Trees ~/.julia/packages/D3Trees/7Hzj6/src/server.jl:109 ┌ Error: [SERVER] No record of tree │ div_id = "badTreeName" └ @ D3Trees ~/.julia/packages/D3Trees/7Hzj6/src/server.jl:114 [ Info: Server on 127.0.0.1:16412 closing [ Info: (Re)setting D3Trees server at 127.0.0.1:16412 [ Info: Listening on: 127.0.0.1:16412, thread id: 1 ┌ Warning: replacing existing registered route; GET => "/api/d3trees/v1/tree/{treediv}/{nodeid}" route with new path = "/api/d3trees/v1/tree/{treediv}/{nodeid}" └ @ HTTP.Handlers ~/.julia/packages/HTTP/ShTJs/src/Handlers.jl:201 [ Info: (Re)setting D3Trees server at 127.0.0.1:16413 [ Info: Listening on: 127.0.0.1:16413, thread id: 1 [ Info: Server on 127.0.0.1:16412 closing [ Info: Server on 127.0.0.1:16413 closing Test Summary: | Pass Fail Total Time server | 23 1 24 39.1s multiple servers | 6 6 4.0s RNG of the outermost testset: Random.Xoshiro(0x13f0128fdfeb31cf, 0xc86c00c81c2120f0, 0x0c92926661ca0243, 0xb2c596d83b3d0ec4, 0x8f7810d1bbec074a) ERROR: LoadError: Some tests did not pass: 23 passed, 1 failed, 0 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/D3Trees/7Hzj6/test/runtests.jl:100 Testing failed after 102.31s ERROR: LoadError: Package D3Trees 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:2946 [3] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:2795 [inlined] [4] 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:572 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:548 [6] 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 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:161 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [9] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [12] include(mod::Module, _path::String) @ Base ./Base.jl:309 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [14] _start() @ Base ./client.jl:577 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 172.83s: package has test failures