Package evaluation of AIHelpMe on Julia 1.10.9 (96dc2d8c45*) started at 2025-06-06T16:30:56.425 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 4.94s ################################################################################ # Installation # Installing AIHelpMe... Resolving package versions... Updating `~/.julia/environments/v1.10/Project.toml` [01402e1f] + AIHelpMe v0.4.0 Updating `~/.julia/environments/v1.10/Manifest.toml` [01402e1f] + AIHelpMe v0.4.0 [1520ce14] + AbstractTrees v0.4.5 [d1d4a3ce] + BitFlags v0.1.9 [944b1d66] + CodecZlib v0.7.8 [34da2185] + Compat v4.16.0 [f0e56b4a] + ConcurrentUtilities v2.5.0 [460bff9d] + ExceptionUnwrapping v0.1.11 [f67ccb44] + HDF5 v0.17.2 [cd3eb016] + HTTP v1.10.16 [692b3bcd] + JLLWrappers v1.7.0 [0f8b85d8] + JSON3 v1.14.3 [e6f89c97] + LoggingExtras v1.1.0 [3da0fdf6] + MPIPreferences v0.1.11 [739be429] + MbedTLS v1.1.9 ⌅ [e9f21f70] + OpenAI v0.9.1 [4d8831e6] + OpenSSL v1.5.0 [69de0a69] + Parsers v2.8.3 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 ⌅ [670122d1] + PromptingTools v0.50.0 [ae029012] + Requires v1.3.1 [777ac1f9] + SimpleBufferStream v1.2.0 [856f2bd8] + StructTypes v1.11.0 [3bb67fe8] + TranscodingStreams v0.11.3 [5c2747f8] + URIs v1.5.2 [0234f1f7] + HDF5_jll v1.14.6+0 [e33a78d0] + Hwloc_jll v2.12.1+0 [7cb0a576] + MPICH_jll v4.3.0+1 [f1f71cc9] + MPItrampoline_jll v5.5.3+0 [9237b28f] + MicrosoftMPI_jll v10.1.4+3 [fe0851c0] + OpenMPI_jll v5.0.7+2 [458c3c95] + OpenSSL_jll v3.5.0+0 [477f73a3] + libaec_jll v1.1.3+0 [0dad84c5] + ArgTools v1.1.1 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching [b77e0a4c] + InteractiveUtils [4af54fe1] + LazyArtifacts [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [56ddb016] + Logging [d6f4376e] + Markdown [a63ad114] + Mmap [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.10.0 [de0858da] + Printf [3fa0cd96] + REPL [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [6462fe0b] + Sockets [2f01184e] + SparseArrays v1.10.0 [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test [cf7118a7] + UUIDs [4ec0a83e] + Unicode [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] + LibCURL_jll v8.4.0+0 [e37daf67] + LibGit2_jll v1.6.4+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.2+1 [14a3606d] + MozillaCACerts_jll v2023.1.10 [4536629a] + OpenBLAS_jll v0.3.23+4 [bea87d4a] + SuiteSparse_jll v7.2.1+1 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 [8e850ede] + nghttp2_jll v1.52.0+1 [3f19e933] + p7zip_jll v17.4.0+2 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 12.96s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 116.02s ################################################################################ # Testing # Testing AIHelpMe Status `/tmp/jl_z0LQJu/Project.toml` [01402e1f] AIHelpMe v0.4.0 ⌅ [4c88cf16] Aqua v0.7.4 [f67ccb44] HDF5 v0.17.2 [cd3eb016] HTTP v1.10.16 [0f8b85d8] JSON3 v1.14.3 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 ⌅ [670122d1] PromptingTools v0.50.0 [4af54fe1] LazyArtifacts [37e2e46d] LinearAlgebra [56ddb016] Logging [3fa0cd96] REPL [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [2f01184e] SparseArrays v1.10.0 [8dfed614] Test Status `/tmp/jl_z0LQJu/Manifest.toml` [01402e1f] AIHelpMe v0.4.0 [1520ce14] AbstractTrees v0.4.5 ⌅ [4c88cf16] Aqua v0.7.4 [d1d4a3ce] BitFlags v0.1.9 [944b1d66] CodecZlib v0.7.8 [34da2185] Compat v4.16.0 [f0e56b4a] ConcurrentUtilities v2.5.0 [460bff9d] ExceptionUnwrapping v0.1.11 [f67ccb44] HDF5 v0.17.2 [cd3eb016] HTTP v1.10.16 [692b3bcd] JLLWrappers v1.7.0 [0f8b85d8] JSON3 v1.14.3 [e6f89c97] LoggingExtras v1.1.0 [3da0fdf6] MPIPreferences v0.1.11 [739be429] MbedTLS v1.1.9 ⌅ [e9f21f70] OpenAI v0.9.1 [4d8831e6] OpenSSL v1.5.0 [69de0a69] Parsers v2.8.3 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 ⌅ [670122d1] PromptingTools v0.50.0 [ae029012] Requires v1.3.1 [777ac1f9] SimpleBufferStream v1.2.0 [856f2bd8] StructTypes v1.11.0 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.5.2 [0234f1f7] HDF5_jll v1.14.6+0 [e33a78d0] Hwloc_jll v2.12.1+0 [7cb0a576] MPICH_jll v4.3.0+1 [f1f71cc9] MPItrampoline_jll v5.5.3+0 [9237b28f] MicrosoftMPI_jll v10.1.4+3 [fe0851c0] OpenMPI_jll v5.0.7+2 [458c3c95] OpenSSL_jll v3.5.0+0 [477f73a3] libaec_jll v1.1.3+0 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [b77e0a4c] InteractiveUtils [4af54fe1] LazyArtifacts [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.10.0 [de0858da] Printf [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [6462fe0b] Sockets [2f01184e] SparseArrays v1.10.0 [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.4.0+0 [e37daf67] LibGit2_jll v1.6.4+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.2+1 [14a3606d] MozillaCACerts_jll v2023.1.10 [4536629a] OpenBLAS_jll v0.3.23+4 [bea87d4a] SuiteSparse_jll v7.2.1+1 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.52.0+1 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... ┌ Warning: OPENAI_API_KEY variable not set! OpenAI models will not be available - set API key directly via `PromptingTools.OPENAI_API_KEY=`! └ @ PromptingTools ~/.julia/packages/PromptingTools/5CXNq/src/user_preferences.jl:161 [ Info: Updated RAG pipeline to `:bronze` (Configuration key: "textembedding3large-1024-Bool"). [ Info: Loaded index from packs: julia into MAIN_INDEX ┌ Warning: OPENAI_API_KEY variable not set! OpenAI models will not be available - set API key directly via `PromptingTools.OPENAI_API_KEY=`! └ @ PromptingTools ~/.julia/packages/PromptingTools/5CXNq/src/user_preferences.jl:161 [ Info: Updated RAG pipeline to `:bronze` (Configuration key: "textembedding3large-1024-Bool"). [ Info: Loaded index from packs: julia into MAIN_INDEX Skipping Base.active_repl Skipping Base.active_repl_backend ┌ Warning: OPENAI_API_KEY variable not set! OpenAI models will not be available - set API key directly via `PromptingTools.OPENAI_API_KEY=`! └ @ PromptingTools ~/.julia/packages/PromptingTools/5CXNq/src/user_preferences.jl:161 [ Info: Updated RAG pipeline to `:bronze` (Configuration key: "textembedding3large-1024-Bool"). [ Info: Loaded index from packs: julia into MAIN_INDEX Test Summary: | Pass Total Time Code quality (Aqua.jl) | 8 8 54.9s [ Info: Loading index from /tmp/jl_QvRkTo [ Info: Embedding 99 documents... build_index: Error During Test at /home/pkgeval/.julia/packages/AIHelpMe/qoqB9/test/preparation.jl:28 Got exception outside of a @test ArgumentError: api_key cannot be empty Stacktrace: [1] auth_header(::OpenAI.OpenAIProvider, api_key::String) @ OpenAI ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:40 [2] auth_header @ ~/.julia/packages/PromptingTools/5CXNq/src/llm_openai.jl:66 [inlined] [3] _request(api::String, provider::PromptingTools.CustomProvider, api_key::String; method::String, query::Nothing, http_kwargs::@NamedTuple{retry_non_idempotent::Bool, retries::Int64, readtimeout::Int64}, streamcallback::Nothing, additional_headers::Vector{Pair{String, String}}, kwargs::@Kwargs{model::String, input::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}}) @ OpenAI ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:158 [4] _request (repeats 2 times) @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:140 [inlined] [5] #openai_request#15 @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:219 [inlined] [6] openai_request @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:213 [inlined] [7] #create_embeddings#206 @ ~/.julia/packages/PromptingTools/5CXNq/src/llm_openai.jl:335 [inlined] [8] create_embeddings @ ~/.julia/packages/PromptingTools/5CXNq/src/llm_openai.jl:330 [inlined] [9] #create_embeddings#200 @ ~/.julia/packages/PromptingTools/5CXNq/src/llm_openai.jl:257 [inlined] [10] create_embeddings @ ~/.julia/packages/PromptingTools/5CXNq/src/llm_openai.jl:248 [inlined] [11] macro expansion @ ./timing.jl:395 [inlined] [12] aiembed(prompt_schema::PromptingTools.CustomOpenAISchema, doc_or_docs::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}, postprocess::typeof(PromptingTools.Experimental.RAGTools._normalize); verbose::Bool, api_key::String, model::String, http_kwargs::@NamedTuple{retry_non_idempotent::Bool, retries::Int64, readtimeout::Int64}, api_kwargs::@NamedTuple{url::String}, kwargs::@Kwargs{}) @ PromptingTools ~/.julia/packages/PromptingTools/5CXNq/src/llm_openai.jl:622 [13] aiembed(doc_or_docs::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}, args::Function; model::String, kwargs::@Kwargs{verbose::Bool, api_kwargs::@NamedTuple{url::String}}) @ PromptingTools ~/.julia/packages/PromptingTools/5CXNq/src/llm_interface.jl:410 [14] aiembed @ ~/.julia/packages/PromptingTools/5CXNq/src/llm_interface.jl:407 [inlined] [15] (::PromptingTools.Experimental.RAGTools.var"#117#118"{String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}})(docs_chunk::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}) @ PromptingTools.Experimental.RAGTools ~/.julia/packages/PromptingTools/5CXNq/src/Experimental/RAGTools/preparation.jl:282 [16] (::Base.var"#1026#1031"{PromptingTools.Experimental.RAGTools.var"#117#118"{String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}}})(r::Base.RefValue{Any}, args::Tuple{SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}}) @ Base ./asyncmap.jl:94 [17] (::Base.var"#1042#1043"{Base.var"#1026#1031"{PromptingTools.Experimental.RAGTools.var"#117#118"{String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}}}, Channel{Any}, Nothing})() @ Base ./asyncmap.jl:228 Stacktrace: [1] (::Base.var"#1036#1038")(x::Task) @ Base ./asyncmap.jl:171 [2] foreach(f::Base.var"#1036#1038", itr::Vector{Any}) @ Base ./abstractarray.jl:3098 [3] maptwice(wrapped_f::Function, chnl::Channel{Any}, worker_tasks::Vector{Any}, c::Base.Iterators.PartitionIterator{Vector{SubString{String}}}) @ Base ./asyncmap.jl:171 [4] wrap_n_exec_twice @ ./asyncmap.jl:147 [inlined] [5] async_usemap(f::PromptingTools.Experimental.RAGTools.var"#117#118"{String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}}, c::Base.Iterators.PartitionIterator{Vector{SubString{String}}}; ntasks::Int64, batch_size::Nothing) @ Base ./asyncmap.jl:97 [6] async_usemap @ ./asyncmap.jl:78 [inlined] [7] #asyncmap#1020 @ ./asyncmap.jl:75 [inlined] [8] asyncmap @ ./asyncmap.jl:74 [inlined] [9] get_embeddings(embedder::PromptingTools.Experimental.RAGTools.BatchEmbedder, docs::Vector{SubString{String}}; verbose::Bool, model::String, truncate_dimension::Int64, cost_tracker::Base.Threads.Atomic{Float64}, target_batch_size_length::Int64, ntasks::Int64, kwargs::@Kwargs{api_kwargs::@NamedTuple{url::String}}) @ PromptingTools.Experimental.RAGTools ~/.julia/packages/PromptingTools/5CXNq/src/Experimental/RAGTools/preparation.jl:280 [10] get_embeddings @ ~/.julia/packages/PromptingTools/5CXNq/src/Experimental/RAGTools/preparation.jl:261 [inlined] [11] #get_embeddings#119 @ ~/.julia/packages/PromptingTools/5CXNq/src/Experimental/RAGTools/preparation.jl:341 [inlined] [12] get_embeddings @ ~/.julia/packages/PromptingTools/5CXNq/src/Experimental/RAGTools/preparation.jl:331 [inlined] [13] build_index(indexer::SimpleIndexer, files_or_docs::Vector{String}; verbose::Int64, extras::Nothing, index_id::Symbol, chunker::PromptingTools.Experimental.RAGTools.TextChunker, chunker_kwargs::@NamedTuple{sources::Vector{String}, max_length::Int64}, embedder::PromptingTools.Experimental.RAGTools.BinaryBatchEmbedder, embedder_kwargs::@NamedTuple{return_type::DataType, truncate_dimension::Int64, model::String}, tagger::PromptingTools.Experimental.RAGTools.NoTagger, tagger_kwargs::@NamedTuple{model::String}, api_kwargs::@NamedTuple{url::String}, cost_tracker::Base.Threads.Atomic{Float64}) @ PromptingTools.Experimental.RAGTools ~/.julia/packages/PromptingTools/5CXNq/src/Experimental/RAGTools/preparation.jl:622 [14] build_index(mod::Module; verbose::Int64, kwargs::@Kwargs{embedder_kwargs::@NamedTuple{model::String}, tagger_kwargs::@NamedTuple{model::String}, api_kwargs::@NamedTuple{url::String}}) @ AIHelpMe ~/.julia/packages/AIHelpMe/qoqB9/src/preparation.jl:111 [15] macro expansion @ ~/.julia/packages/AIHelpMe/qoqB9/test/preparation.jl:75 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [17] top-level scope @ ~/.julia/packages/AIHelpMe/qoqB9/test/preparation.jl:30 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] macro expansion @ ~/.julia/packages/AIHelpMe/qoqB9/test/runtests.jl:18 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/AIHelpMe/qoqB9/test/runtests.jl:17 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ none:6 [24] eval @ ./boot.jl:385 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [26] _start() @ Base ./client.jl:557 ┌ Warning: Core RAG pipeline configuration has changed! You must re-build your index with `AIHelpMe.load_index!()`! └ @ AIHelpMe ~/.julia/packages/AIHelpMe/qoqB9/src/pipeline_defaults.jl:193 [ Info: Updated RAG pipeline to `:silver` (Configuration key: "B-1024-Bool"). ┌ Warning: Core RAG pipeline configuration has changed! You must re-build your index with `AIHelpMe.load_index!()`! └ @ AIHelpMe ~/.julia/packages/AIHelpMe/qoqB9/src/pipeline_defaults.jl:193 [ Info: Updated RAG pipeline to `:bronze` (Configuration key: "textembedding3large-1024-Bool"). ┌ Warning: Core RAG pipeline configuration has changed! You must re-build your index with `AIHelpMe.load_index!()`! └ @ AIHelpMe ~/.julia/packages/AIHelpMe/qoqB9/src/pipeline_defaults.jl:193 [ Info: Updated RAG pipeline to `:bronze` (Configuration key: "mockemb-0-Bool"). [ Info: Done with RAG. Total cost: $0.0 [ Info: Done with RAG. Total cost: $0.0 [ Info: Done with RAG. Total cost: $0.0 [ Info: Done with RAG. Total cost: $0.0 [ Info: Done with RAG. Total cost: $0.0 ┌ Warning: Core RAG pipeline configuration has changed! You must re-build your index with `AIHelpMe.load_index!()`! └ @ AIHelpMe ~/.julia/packages/AIHelpMe/qoqB9/src/pipeline_defaults.jl:193 [ Info: Updated RAG pipeline to `:bronze` (Configuration key: "textembedding3large-1024-Bool"). Test Summary: | Pass Error Total Time AIHelpMe.jl | 36 1 37 25.6s remove_pkgdir | 2 2 0.1s last_result | 1 1 0.9s find_new_chunks | 6 6 0.6s load_index_hdf5 | 4 4 3.2s docextract | 8 8 1.1s build_index | 1 1 8.0s get_config_key | 3 3 0.6s update_pipeline! | 4 4 0.2s aihelp | 8 8 10.2s ERROR: LoadError: Some tests did not pass: 36 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/AIHelpMe/qoqB9/test/runtests.jl:16 Testing failed after 114.14s ERROR: LoadError: Package AIHelpMe errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.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.10/Pkg/src/Operations.jl:2034 [3] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.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::Base.PipeEndpoint}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 263.14s: package tests unexpectedly errored