Package evaluation of Clustering on Julia 1.13.0-DEV.896 (efa4faf9a4*) started at 2025-07-25T12:38:55.831 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 12.41s ################################################################################ # Installation # Installing Clustering... Resolving package versions... Installed Compat ────────────── v4.17.0 Installed Missings ──────────── v1.2.0 Installed DataAPI ───────────── v1.16.0 Installed Statistics ────────── v1.11.1 Installed DataStructures ────── v0.18.22 Installed Preferences ───────── v1.4.3 Installed PrecompileTools ───── v1.3.2 Installed StatsAPI ──────────── v1.7.1 Installed LogExpFunctions ───── v0.3.29 Installed StaticArraysCore ──── v1.4.3 Installed AliasTables ───────── v1.1.3 Installed StaticArrays ──────── v1.9.14 Installed Clustering ────────── v0.15.8 Installed StatsBase ─────────── v0.34.5 Installed SortingAlgorithms ─── v1.2.1 Installed IrrationalConstants ─ v0.2.4 Installed Distances ─────────── v0.10.12 Installed NearestNeighbors ──── v0.4.22 Installed DocStringExtensions ─ v0.9.5 Installed PtrArrays ─────────── v1.3.0 Installed OrderedCollections ── v1.8.1 Updating `~/.julia/environments/v1.13/Project.toml` [aaaa29a8] + Clustering v0.15.8 Updating `~/.julia/environments/v1.13/Manifest.toml` [66dad0bd] + AliasTables v1.1.3 [aaaa29a8] + Clustering v0.15.8 [34da2185] + Compat v4.17.0 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.18.22 [b4f34e82] + Distances v0.10.12 [ffbed154] + DocStringExtensions v0.9.5 [92d709cd] + IrrationalConstants v0.2.4 [2ab3a3ac] + LogExpFunctions v0.3.29 [e1d29d7a] + Missings v1.2.0 [b8a86587] + NearestNeighbors v0.4.22 [bac558e1] + OrderedCollections v1.8.1 [aea7be01] + PrecompileTools v1.3.2 [21216c6a] + Preferences v1.4.3 [43287f4e] + PtrArrays v1.3.0 [a2af1166] + SortingAlgorithms v1.2.1 [90137ffa] + StaticArrays v1.9.14 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.5 [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 [d6f4376e] + Markdown v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.13.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 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [8e850b90] + libblastrampoline_jll v5.13.1+0 Installation completed after 1.77s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 2783.3 ms ✓ TestEnv 1 dependency successfully precompiled in 4 seconds. 26 already precompiled. Precompiling package dependencies... Precompilation completed after 74.15s ################################################################################ # Testing # Testing Clustering Status `/tmp/jl_Gb9xWI/Project.toml` [aaaa29a8] Clustering v0.15.8 [944b1d66] CodecZlib v0.7.8 [8bb1440f] DelimitedFiles v1.9.1 [b4f34e82] Distances v0.10.12 [b8a86587] NearestNeighbors v0.4.22 [860ef19b] StableRNGs v1.0.3 [10745b16] Statistics v1.11.1 [2913bbd2] StatsBase v0.34.5 [37e2e46d] LinearAlgebra v1.13.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [2f01184e] SparseArrays v1.13.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_Gb9xWI/Manifest.toml` [66dad0bd] AliasTables v1.1.3 [aaaa29a8] Clustering v0.15.8 [944b1d66] CodecZlib v0.7.8 [34da2185] Compat v4.17.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.22 [8bb1440f] DelimitedFiles v1.9.1 [b4f34e82] Distances v0.10.12 [ffbed154] DocStringExtensions v0.9.5 [92d709cd] IrrationalConstants v0.2.4 [2ab3a3ac] LogExpFunctions v0.3.29 [e1d29d7a] Missings v1.2.0 [b8a86587] NearestNeighbors v0.4.22 [bac558e1] OrderedCollections v1.8.1 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.4.3 [43287f4e] PtrArrays v1.3.0 [a2af1166] SortingAlgorithms v1.2.1 [860ef19b] StableRNGs v1.0.3 [90137ffa] StaticArrays v1.9.14 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.5 [3bb67fe8] TranscodingStreams v0.11.3 [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 [a63ad114] Mmap v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.13.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 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [4536629a] OpenBLAS_jll v0.3.29+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.13.1+0 Testing Running tests... Runing tests: * seeding.jl ... Test Summary: | Pass Total Time seeding | 64 64 18.6s * kmeans.jl ... Iters objv objv-change | affected ------------------------------------------------------------- 0 2.827577e-02 1 1.413788e-02 -1.413788e-02 | 0 2 1.413788e-02 0.000000e+00 | 0 K-means converged with 2 iterations (objv = 0.014137883456535771) K-means converged with 2 iterations (objv = 0.8886128834804428) ┌ Warning: The clustering cost increased at iteration #2 └ @ Clustering ~/.julia/packages/Clustering/M6mjF/src/kmeans.jl:191 ┌ Warning: The clustering cost increased at iteration #1 └ @ Clustering ~/.julia/packages/Clustering/M6mjF/src/kmeans.jl:191 ┌ Warning: The clustering cost increased at iteration #1 └ @ Clustering ~/.julia/packages/Clustering/M6mjF/src/kmeans.jl:191 ┌ Warning: The clustering cost increased at iteration #1 └ @ Clustering ~/.julia/packages/Clustering/M6mjF/src/kmeans.jl:191 ┌ Warning: The clustering cost increased at iteration #1 └ @ Clustering ~/.julia/packages/Clustering/M6mjF/src/kmeans.jl:191 ┌ Warning: The clustering cost increased at iteration #1 └ @ Clustering ~/.julia/packages/Clustering/M6mjF/src/kmeans.jl:191 ┌ Warning: The clustering cost increased at iteration #1 └ @ Clustering ~/.julia/packages/Clustering/M6mjF/src/kmeans.jl:191 Test Summary: | Pass Total Time kmeans() (k-means) | 130 130 2m22.7s * kmedoids.jl ... Iters objv objv-change ----------------------------------------------------- 0 1.633511e+00 1 1.633511e+00 0.000000e+00 K-medoids converged with 1 iterations (objv = 1.6335111163381681) K-medoids converged with 1 iterations (objv = 1.1562794866641528) Test Summary: | Pass Total Time kmedoids() (k-medoids) | 42 42 21.9s * affprop.jl ... Iters objv-change | exemplars ----------------------------------------------------- 1 3.1026e+00 | 4 2 1.5513e+00 | 4 3 7.7566e-01 | 4 4 3.8783e-01 | 4 5 1.9391e-01 | 4 6 9.6957e-02 | 4 [ Info: Affinity propagation converged with 6 iterations: 4 exemplars. [ Info: Affinity propagation converged with 6 iterations: 4 exemplars. Test Summary: | Pass Total Time affinityprop() (affinity propagation) | 79 79 17.1s * dbscan.jl ... NNTree-based implementation gives same clustering as distance matrix-based one: Error During Test at /home/pkgeval/.julia/packages/Clustering/M6mjF/test/dbscan.jl:86 Got exception outside of a @test return type DbscanResult does not match inferred return type Any Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] top-level scope @ ~/.julia/packages/Clustering/M6mjF/test/dbscan.jl:7 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] macro expansion @ ~/.julia/packages/Clustering/M6mjF/test/dbscan.jl:62 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [6] macro expansion @ ~/.julia/packages/Clustering/M6mjF/test/dbscan.jl:87 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [8] macro expansion @ ~/.julia/packages/Clustering/M6mjF/test/dbscan.jl:87 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [10] top-level scope @ ~/.julia/packages/Clustering/M6mjF/test/runtests.jl:32 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ none:6 [13] eval(m::Module, e::Any) @ Core ./boot.jl:489 [14] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [15] _start() @ Base ./client.jl:553 detecting outliers (#190): Error During Test at /home/pkgeval/.julia/packages/Clustering/M6mjF/test/dbscan.jl:107 Got exception outside of a @test return type DbscanResult does not match inferred return type Any Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] top-level scope @ ~/.julia/packages/Clustering/M6mjF/test/dbscan.jl:7 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] macro expansion @ ~/.julia/packages/Clustering/M6mjF/test/dbscan.jl:108 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [6] macro expansion @ ~/.julia/packages/Clustering/M6mjF/test/dbscan.jl:109 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [8] top-level scope @ ~/.julia/packages/Clustering/M6mjF/test/runtests.jl:32 [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [10] top-level scope @ none:6 [11] eval(m::Module, e::Any) @ Core ./boot.jl:489 [12] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [13] _start() @ Base ./client.jl:553 Test Summary: | Pass Error Total Time dbscan() (DBSCAN clustering) | 48 2 50 23.2s Argument checks | 5 5 1.4s Simple 2D tests | 8 8 3.9s clustering synthetic data with 3 clusters | 23 1 24 10.6s NNTree-based implementation gives same clustering as distance matrix-based one | 1 1 3.8s Support for arrays other than Matrix{T} | 12 12 4.5s Deprecated distance matrix API | 2 2 1.0s detecting outliers (#190) | 1 1 2.2s normal points | 12 12 5.0s RNG of the outermost testset: Xoshiro(0xdbd0fa5b227f8561, 0x13cbcdf4d38365ed, 0xce5ad7ea92f19bee, 0xa817501c1ee64c44, 0xb79dcc93540dd8aa) ERROR: LoadError: Some tests did not pass: 48 passed, 0 failed, 2 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/Clustering/M6mjF/test/dbscan.jl:5 in expression starting at /home/pkgeval/.julia/packages/Clustering/M6mjF/test/runtests.jl:29 Testing failed after 239.58s ERROR: LoadError: Package Clustering errored during testing Stacktrace: [1] pkgerror(::String, ::Vararg{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 362.38s: package tests unexpectedly errored