Package evaluation of OneHotArrays on Julia 1.13.0-DEV.897 (a39797a4fb*) started at 2025-07-24T14:13:34.928 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 10.67s ################################################################################ # Installation # Installing OneHotArrays... Resolving package versions... Installed HashArrayMappedTries ─ v0.2.0 Installed Compat ─────────────── v4.17.0 Installed Requires ───────────── v1.3.1 Installed Statistics ─────────── v1.11.1 Installed MacroTools ─────────── v0.5.16 Installed Preferences ────────── v1.4.3 Installed PrecompileTools ────── v1.3.2 Installed Adapt ──────────────── v4.3.0 Installed ScopedValues ───────── v1.4.0 Installed Atomix ─────────────── v1.1.1 Installed NNlib ──────────────── v0.9.31 Installed StaticArraysCore ───── v1.4.3 Installed KernelAbstractions ─── v0.9.38 Installed UnsafeAtomics ──────── v0.3.0 Installed StaticArrays ───────── v1.9.14 Installed GPUArraysCore ──────── v0.2.0 Installed OneHotArrays ───────── v0.2.10 Installed ChainRulesCore ─────── v1.25.2 Updating `~/.julia/environments/v1.13/Project.toml` [0b1bfda6] + OneHotArrays v0.2.10 Updating `~/.julia/environments/v1.13/Manifest.toml` [79e6a3ab] + Adapt v4.3.0 [a9b6321e] + Atomix v1.1.1 [d360d2e6] + ChainRulesCore v1.25.2 [34da2185] + Compat v4.17.0 [46192b85] + GPUArraysCore v0.2.0 [076d061b] + HashArrayMappedTries v0.2.0 [63c18a36] + KernelAbstractions v0.9.38 [1914dd2f] + MacroTools v0.5.16 [872c559c] + NNlib v0.9.31 [0b1bfda6] + OneHotArrays v0.2.10 [aea7be01] + PrecompileTools v1.3.2 [21216c6a] + Preferences v1.4.3 [ae029012] + Requires v1.3.1 [7e506255] + ScopedValues v1.4.0 [90137ffa] + StaticArrays v1.9.14 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [013be700] + UnsafeAtomics v0.3.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 [37e2e46d] + LinearAlgebra v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [f489334b] + StyledStrings v1.11.0 [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [4536629a] + OpenBLAS_jll v0.3.29+0 [8e850b90] + libblastrampoline_jll v5.13.1+0 Installation completed after 4.16s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 4630.2 ms ✓ TestEnv 1 dependency successfully precompiled in 5 seconds. 26 already precompiled. Precompiling package dependencies... Precompiling packages... 948.8 ms ✓ Preferences 928.4 ms ✓ JLLWrappers 1004.7 ms ✓ CUDA_Driver_jll 3 dependencies successfully precompiled in 3 seconds. 26 already precompiled. Precompilation completed after 760.21s ################################################################################ # Testing # Testing OneHotArrays Status `/tmp/jl_REQPw0/Project.toml` [79e6a3ab] Adapt v4.3.0 [052768ef] CUDA v5.8.2 [d360d2e6] ChainRulesCore v1.25.2 [34da2185] Compat v4.17.0 [46192b85] GPUArraysCore v0.2.0 [27aeb0d3] JLArrays v0.2.0 [872c559c] NNlib v0.9.31 [0b1bfda6] OneHotArrays v0.2.10 ⌅ [e88e6eb3] Zygote v0.6.77 [37e2e46d] LinearAlgebra v1.13.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_REQPw0/Manifest.toml` Precompiling packages... 3689.1 ms ✓ Preferences 968.2 ms ✓ JLLWrappers 2073.3 ms ✓ CUDA_Driver_jll 3 dependencies successfully precompiled in 7 seconds. 26 already precompiled. [621f4979] AbstractFFTs v1.5.0 [79e6a3ab] Adapt v4.3.0 [a9b6321e] Atomix v1.1.1 [ab4f0b2a] BFloat16s v0.5.1 [fa961155] CEnum v0.5.0 [052768ef] CUDA v5.8.2 ⌅ [1af6417a] CUDA_Runtime_Discovery v0.3.5 [082447d4] ChainRules v1.72.5 [d360d2e6] ChainRulesCore v1.25.2 [3da002f7] ColorTypes v0.12.1 [5ae59095] Colors v0.13.1 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.17.0 [187b0558] ConstructionBase v1.6.0 [a8cc5b0e] Crayons v4.1.1 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.7.0 [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.5 [e2ba6199] ExprTools v0.1.10 [1a297f60] FillArrays v1.13.0 [53c48c17] FixedPointNumbers v0.8.5 [f6369f11] ForwardDiff v1.0.1 [0c68f7d7] GPUArrays v11.2.3 [46192b85] GPUArraysCore v0.2.0 [61eb1bfa] GPUCompiler v1.6.1 [096a3bc2] GPUToolbox v0.2.0 [076d061b] HashArrayMappedTries v0.2.0 [7869d1d1] IRTools v0.4.15 [842dd82b] InlineStrings v1.4.4 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [27aeb0d3] JLArrays v0.2.0 [692b3bcd] JLLWrappers v1.7.1 [63c18a36] KernelAbstractions v0.9.38 [929cbde3] LLVM v9.4.2 [8b046642] LLVMLoopInfo v1.0.0 [b964fa9f] LaTeXStrings v1.4.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [e1d29d7a] Missings v1.2.0 [872c559c] NNlib v0.9.31 [5da4648a] NVTX v1.0.0 [77ba4419] NaNMath v1.1.3 [0b1bfda6] OneHotArrays v0.2.10 [bac558e1] OrderedCollections v1.8.1 [2dfb63ee] PooledArrays v1.4.3 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.4.3 [08abe8d2] PrettyTables v2.4.0 [74087812] Random123 v1.7.1 [e6cf234a] RandomNumbers v1.6.0 [c1ae055f] RealDot v0.1.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [7e506255] ScopedValues v1.4.0 [6c6a2e73] Scratch v1.3.0 [91c51154] SentinelArrays v1.4.8 [a2af1166] SortingAlgorithms v1.2.1 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.5.1 [90137ffa] StaticArrays v1.9.14 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [892a3eda] StringManipulation v0.4.1 [09ab397b] StructArrays v0.7.1 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [e689c965] Tracy v0.1.5 [013be700] UnsafeAtomics v0.3.0 ⌅ [e88e6eb3] Zygote v0.6.77 [700de1a5] ZygoteRules v0.2.7 ⌅ [4ee394cb] CUDA_Driver_jll v0.13.1+0 ⌅ [76a88914] CUDA_Runtime_jll v0.17.1+0 [9c1d0b0a] JuliaNVTXCallbacks_jll v0.2.1+0 [dad2f222] LLVMExtra_jll v0.0.37+2 [ad6e5548] LibTracyClient_jll v0.9.1+6 [e98f9f5b] NVTX_jll v3.2.1+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [1e29f10c] demumble_jll v1.3.0+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.14.1+1 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.7.15 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.5+0 [458c3c95] OpenSSL_jll v3.5.1+0 [efcefdf7] PCRE2_jll v10.45.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.13.1+0 [8e850ede] nghttp2_jll v1.65.0+0 [3f19e933] p7zip_jll v17.5.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Test Summary: | Pass Total Time OneHotArray | 83 83 26.8s Test Summary: | Pass Total Time Constructors | 40 40 8.1s Test Summary: | Pass Total Time Linear Algebra | 50 50 15.3s [ Info: CUDA not functional, testing with JLArrays instead gpu indexing: Error During Test at /home/pkgeval/.julia/packages/OneHotArrays/RAmnA/test/gpu.jl:40 Test threw exception Expression: collect(cx) == collect(x) Scalar indexing is disallowed. Invocation of getindex resulted in scalar indexing of a GPU array. This is typically caused by calling an iterating implementation of a method. Such implementations *do not* execute on the GPU, but very slowly on the CPU, and therefore should be avoided. If you want to allow scalar iteration, use `allowscalar` or `@allowscalar` to enable scalar iteration globally or for the operations in question. Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] errorscalar(op::String) @ GPUArraysCore ~/.julia/packages/GPUArraysCore/aNaXo/src/GPUArraysCore.jl:151 [3] _assertscalar(op::String, behavior::GPUArraysCore.ScalarIndexing) @ GPUArraysCore ~/.julia/packages/GPUArraysCore/aNaXo/src/GPUArraysCore.jl:124 [4] assertscalar(op::String) @ GPUArraysCore ~/.julia/packages/GPUArraysCore/aNaXo/src/GPUArraysCore.jl:112 [5] getindex @ ~/.julia/packages/GPUArrays/u6tui/src/host/indexing.jl:50 [inlined] [6] getindex(x::OneHotMatrix{UInt32, JLArray{UInt32, 1}}, i::Int64, I::Int64) @ OneHotArrays ~/.julia/packages/OneHotArrays/RAmnA/src/array.jl:67 [7] _getindex @ ./abstractarray.jl:1402 [inlined] [8] getindex @ ./abstractarray.jl:1356 [inlined] [9] _iterate @ ./abstractarray.jl:1245 [inlined] [10] iterate (repeats 2 times) @ ./abstractarray.jl:1241 [inlined] [11] copyto_unaliased!(deststyle::IndexLinear, dest::Matrix{Bool}, srcstyle::IndexCartesian, src::OneHotMatrix{UInt32, JLArray{UInt32, 1}}) @ Base ./abstractarray.jl:1101 [12] _collect_indices @ ./array.jl:759 [inlined] [13] collect(A::OneHotMatrix{UInt32, JLArray{UInt32, 1}}) @ Base ./array.jl:736 [14] top-level scope @ ~/.julia/packages/OneHotArrays/RAmnA/test/gpu.jl:23 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [16] macro expansion @ ~/.julia/packages/OneHotArrays/RAmnA/test/gpu.jl:40 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in cpu__scatter!(Any, OP, Any, Any, Any, Base.IteratorsMD.CartesianIndices{N, R} where R<:Tuple{Vararg{Base.OrdinalRange{Int64, Int64}, N}} where N, Int64) where {OP} at none Test Summary: | Pass Error Broken Total Time GPUArrays | 37 1 3 41 1m33.8s CUDA | 4 1 5 13.5s gpu indexing | 13 1 14 15.6s onehot gpu | 1 1 3.3s LinearAlgebra | 6 1 7 38.3s onehotbatch(::CuArray, ::UnitRange) | 3 1 4 4.1s onecold gpu | 5 5 4.0s onehot forward map to broadcast | 2 2 12.9s show gpu | 3 3 0.8s RNG of the outermost testset: Random.Xoshiro(0xdbe8d8616bc61987, 0xc0a68beaa5bfb88e, 0xaf959839011f7d23, 0x9c664eaa714844b3, 0xd2949be77b9c95c5) ERROR: LoadError: Some tests did not pass: 37 passed, 0 failed, 1 errored, 3 broken. in expression starting at /home/pkgeval/.julia/packages/OneHotArrays/RAmnA/test/runtests.jl:33 Testing failed after 224.36s ERROR: LoadError: Package OneHotArrays errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.13/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.13/Pkg/src/Operations.jl:2661 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2510 [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.13/Pkg/src/API.jl:538 [5] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:168 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:156 [7] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:156 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:155 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:311 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:320 [12] _start() @ Base ./client.jl:553 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 1041.4s: package tests unexpectedly errored