Package evaluation of PyQHA on Julia 1.10.8 (92f03a4775*) started at 2025-02-25T06:31:39.464 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 3.47s ################################################################################ # Installation # Installing PyQHA... Resolving package versions... Installed Conda ── v1.10.2 Installed PyCall ─ v1.96.4 Updating `~/.julia/environments/v1.10/Project.toml` [5a1273f0] + PyQHA v0.1.1 Updating `~/.julia/environments/v1.10/Manifest.toml` [8f4d0f93] + Conda v1.10.2 [682c06a0] + JSON v0.21.4 [1914dd2f] + MacroTools v0.5.15 [69de0a69] + Parsers v2.8.1 [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [438e738f] + PyCall v1.96.4 [5a1273f0] + PyQHA v0.1.1 [81def892] + VersionParsing v1.3.0 [0dad84c5] + ArgTools v1.1.1 [56f22d72] + Artifacts [ade2ca70] + Dates [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching [b27032c2] + LibCURL v0.6.4 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [a63ad114] + Mmap [ca575930] + NetworkOptions v1.2.0 [de0858da] + Printf [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs [4ec0a83e] + Unicode [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] + LibCURL_jll v8.4.0+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 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 [8e850ede] + nghttp2_jll v1.52.0+1 Building Conda ─→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/b19db3927f0db4151cb86d073689f2428e524576/build.log` Building PyCall → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/9816a3826b0ebf49ab4926e2b18842ad8b5c8f04/build.log` Installation completed after 59.58s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 65.64s ################################################################################ # Testing # Testing PyQHA Status `/tmp/jl_c15q4u/Project.toml` [8f4d0f93] Conda v1.10.2 [438e738f] PyCall v1.96.4 [5a1273f0] PyQHA v0.1.1 [8dfed614] Test Status `/tmp/jl_c15q4u/Manifest.toml` [8f4d0f93] Conda v1.10.2 [682c06a0] JSON v0.21.4 [1914dd2f] MacroTools v0.5.15 [69de0a69] Parsers v2.8.1 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [438e738f] PyCall v1.96.4 [5a1273f0] PyQHA v0.1.1 [81def892] VersionParsing v1.3.0 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [b77e0a4c] InteractiveUtils [b27032c2] LibCURL v0.6.4 [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions v1.2.0 [de0858da] Printf [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [fa267f1f] TOML v1.0.3 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.4.0+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 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.52.0+1 Testing Running tests... ERROR: LoadError: InitError: PyError (PyImport_ImportModule) TypingError('Failed in nopython mode pipeline (step: nopython frontend)\n\x1b[1m\x1b[1mUntyped global name \'ho_free_energy\':\x1b[0m \x1b[1m\x1b[1mCannot determine Numba type of \x1b[0m\n\x1b[1m\nFile "../../../../conda/3/x86_64/lib/python3.12/site-packages/qha/single_configuration.py", line 45:\x1b[0m\n\x1b[1mdef free_energy(temperature: Scalar, q_weights: Vector, static_energies: Vector, frequencies: Array3D,\n \n scaled_q_weights: Vector = q_weights / np.sum(q_weights)\n\x1b[1m vibrational_energies: Vector = np.dot(ho_free_energy(temperature, frequencies).sum(axis=2), scaled_q_weights)\n\x1b[0m \x1b[1m^\x1b[0m\x1b[0m\n\x1b[0m\n\x1b[0m\x1b[1mDuring: Pass nopython_type_inference\x1b[0m') File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/qha/calculator.py", line 20, in import qha.multi_configurations.different_phonon_dos as different_phonon_dos File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/qha/multi_configurations/different_phonon_dos.py", line 17, in from qha.single_configuration import free_energy File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/qha/single_configuration.py", line 20, in @jit(float64[:](float64, float64[:], float64[:], float64[:, :, :], boolean), cache=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/decorators.py", line 232, in wrapper disp.compile(sig) File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/dispatcher.py", line 904, in compile cres = self._compiler.compile(args, return_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/dispatcher.py", line 84, in compile raise retval File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/dispatcher.py", line 94, in _compile_cached retval = self._compile_core(args, return_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/dispatcher.py", line 107, in _compile_core cres = compiler.compile_extra(self.targetdescr.typing_context, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler.py", line 739, in compile_extra return pipeline.compile_extra(func) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler.py", line 439, in compile_extra return self._compile_bytecode() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler.py", line 505, in _compile_bytecode return self._compile_core() ^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler.py", line 484, in _compile_core raise e File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler.py", line 473, in _compile_core pm.run(self.state) File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler_machinery.py", line 367, in run raise patched_exception File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler_machinery.py", line 356, in run self._runPass(idx, pass_inst, state) File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler_machinery.py", line 311, in _runPass mutated |= check(pss.run_pass, internal_state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/compiler_machinery.py", line 272, in check mangled = func(compiler_state) ^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/typed_passes.py", line 112, in run_pass typemap, return_type, calltypes, errs = type_inference_stage( ^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/typed_passes.py", line 91, in type_inference_stage infer.build_constraint() File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/typeinfer.py", line 1027, in build_constraint self.constrain_statement(inst) File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/typeinfer.py", line 1389, in constrain_statement self.typeof_assign(inst) File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/typeinfer.py", line 1464, in typeof_assign self.typeof_global(inst, inst.target, value) File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/typeinfer.py", line 1564, in typeof_global typ = self.resolve_value_type(inst, gvar.value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pkgeval/.julia/conda/3/x86_64/lib/python3.12/site-packages/numba/core/typeinfer.py", line 1485, in resolve_value_type raise TypingError(msg, loc=inst.loc) Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] __init__() @ PyQHA ~/.julia/packages/PyQHA/S6CTK/src/PyQHA.jl:22 [3] run_module_init(mod::Module, i::Int64) @ Base ./loading.jl:1193 [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String) @ Base ./loading.jl:1181 [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::Nothing, depmods::Vector{Any}) @ Base ./loading.jl:1126 [6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128) @ Base ./loading.jl:1651 [7] _require(pkg::Base.PkgId, env::String) @ Base ./loading.jl:2008 [8] __require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:1882 [9] #invoke_in_world#3 @ ./essentials.jl:926 [inlined] [10] invoke_in_world @ ./essentials.jl:923 [inlined] [11] _require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:1873 [12] macro expansion @ ./loading.jl:1860 [inlined] [13] macro expansion @ ./lock.jl:267 [inlined] [14] __require(into::Module, mod::Symbol) @ Base ./loading.jl:1823 [15] #invoke_in_world#3 @ ./essentials.jl:926 [inlined] [16] invoke_in_world @ ./essentials.jl:923 [inlined] [17] require(into::Module, mod::Symbol) @ Base ./loading.jl:1816 [18] include(fname::String) @ Base.MainInclude ./client.jl:494 [19] top-level scope @ none:6 during initialization of module PyQHA in expression starting at /home/pkgeval/.julia/packages/PyQHA/S6CTK/test/runtests.jl:1 Testing failed after 10.72s ERROR: LoadError: Package PyQHA 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 215.58s: package tests unexpectedly errored