Package evaluation of PyQHA on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T10:26:39.451 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 11.97s ################################################################################ # Installation # Installing PyQHA... Resolving package versions... Installed Parsers ───────── v2.8.1 Installed VersionParsing ── v1.3.0 Installed Conda ─────────── v1.10.2 Installed PyQHA ─────────── v0.1.1 Installed PyCall ────────── v1.96.4 Installed MacroTools ────── v0.5.15 Installed JSON ──────────── v0.21.4 Installed Preferences ───── v1.4.3 Installed PrecompileTools ─ v1.2.1 Updating `~/.julia/environments/v1.11/Project.toml` [5a1273f0] + PyQHA v0.1.1 Updating `~/.julia/environments/v1.11/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.2 [56f22d72] + Artifacts v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching v1.11.0 [b27032c2] + LibCURL v0.6.4 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.2.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] + LibCURL_jll v8.6.0+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+0 [14a3606d] + MozillaCACerts_jll v2023.12.12 [4536629a] + OpenBLAS_jll v0.3.27+1 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 [8e850ede] + nghttp2_jll v1.59.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` 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 104.61s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 3248.7 ms ✓ TestEnv 1 dependency successfully precompiled in 3 seconds. 23 already precompiled. Precompiling package dependencies... Precompilation completed after 115.12s ################################################################################ # Testing # Testing PyQHA Status `/tmp/jl_hNqyXg/Project.toml` [8f4d0f93] Conda v1.10.2 [438e738f] PyCall v1.96.4 [5a1273f0] PyQHA v0.1.1 [8dfed614] Test v1.11.0 Status `/tmp/jl_hNqyXg/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.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [b27032c2] LibCURL v0.6.4 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.2.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.6.0+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [4536629a] OpenBLAS_jll v0.3.27+1 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.59.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. 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:1378 [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String) @ Base ./loading.jl:1366 [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::Nothing, depmods::Vector{Any}, ignore_native::Nothing; register::Bool) @ Base ./loading.jl:1254 [6] _include_from_serialized (repeats 2 times) @ ./loading.jl:1210 [inlined] [7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String}) @ Base ./loading.jl:2057 [8] _require(pkg::Base.PkgId, env::String) @ Base ./loading.jl:2527 [9] __require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2388 [10] #invoke_in_world#3 @ ./essentials.jl:1089 [inlined] [11] invoke_in_world @ ./essentials.jl:1086 [inlined] [12] _require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2375 [13] macro expansion @ ./loading.jl:2314 [inlined] [14] macro expansion @ ./lock.jl:273 [inlined] [15] __require(into::Module, mod::Symbol) @ Base ./loading.jl:2271 [16] #invoke_in_world#3 @ ./essentials.jl:1089 [inlined] [17] invoke_in_world @ ./essentials.jl:1086 [inlined] [18] require(into::Module, mod::Symbol) @ Base ./loading.jl:2260 [19] include(fname::String) @ Main ./sysimg.jl:38 [20] 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 11.54s ERROR: LoadError: Package PyQHA errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68 [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.11/Pkg/src/Operations.jl:2124 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2007 [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::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:481 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.11/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 312.0s: package tests unexpectedly errored