Package evaluation to test VLBILikelihoods on Julia 1.14.0-DEV.50 (b60d1db399*) started at 2025-11-09T19:02:37.547 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.75s ################################################################################ # Installation # Installing VLBILikelihoods... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [90db92cd] + VLBILikelihoods v0.2.9 Updating `~/.julia/environments/v1.14/Manifest.toml` [7d9f7c33] + Accessors v0.1.42 [79e6a3ab] + Adapt v4.4.0 [66dad0bd] + AliasTables v1.1.3 [4fba245c] + ArrayInterface v7.22.0 [0e736298] + Bessels v0.2.8 [d360d2e6] + ChainRulesCore v1.26.0 [34da2185] + Compat v4.18.1 [a33af91c] + CompositionsBase v0.1.2 [6d8c423b] + ComradeBase v0.9.4 [187b0558] + ConstructionBase v1.6.0 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.3 [e2d170a0] + DataValueInterfaces v1.0.0 [b429d917] + DensityInterface v0.4.0 [0703355e] + DimensionalData v0.29.25 [31c24e10] + Distributions v0.25.122 [ffbed154] + DocStringExtensions v0.9.5 [f151be2c] + EnzymeCore v0.8.15 [411431e0] + Extents v0.1.6 [1a297f60] + FillArrays v1.15.0 [34004b35] + HypergeometricFunctions v0.3.28 [85a1e053] + Interfaces v0.3.2 [8197267c] + IntervalSets v0.7.12 [3587e190] + InverseFunctions v0.1.17 [41ab1584] + InvertedIndices v1.3.1 [92d709cd] + IrrationalConstants v0.2.6 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.1 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.16 [e1d29d7a] + Missings v1.2.0 [bac558e1] + OrderedCollections v1.8.1 [90014a1f] + PDMats v0.11.36 [d3c5d4cd] + PolarizedTypes v0.1.2 [aea7be01] + PrecompileTools v1.3.3 [21216c6a] + Preferences v1.5.0 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [3cdcf5f2] + RecipesBase v1.3.4 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [79098fc4] + Rmath v0.9.0 [a2af1166] + SortingAlgorithms v1.2.2 [276daf66] + SpecialFunctions v2.6.1 [90137ffa] + StaticArrays v1.9.15 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.7 [4c63d2b9] + StatsFuns v1.5.2 [09ab397b] + StructArrays v0.7.2 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [90db92cd] + VLBILikelihoods v0.2.9 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+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 v1.0.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [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 [05823500] + OpenLibm_jll v0.8.7+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [8e850b90] + libblastrampoline_jll v5.15.0+0 Installation completed after 5.56s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... ┌ Error: Failed to use TestEnv.jl; test dependencies will not be precompiled │ exception = │ UndefVarError: `project_rel_path` not defined in `TestEnv` │ Suggestion: this global was defined as `Pkg.Operations.project_rel_path` but not assigned a value. │ Stacktrace: │ [1] get_test_dir(ctx::Pkg.Types.Context, pkgspec::PackageSpec) │ @ TestEnv ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/common.jl:75 │ [2] test_dir_has_project_file │ @ ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/common.jl:52 [inlined] │ [3] maybe_gen_project_override! │ @ ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/common.jl:83 [inlined] │ [4] activate(pkg::String; allow_reresolve::Bool) │ @ TestEnv ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/activate_set.jl:12 │ [5] activate(pkg::String) │ @ TestEnv ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/activate_set.jl:9 │ [6] top-level scope │ @ /PkgEval.jl/scripts/precompile.jl:24 │ [7] include(mod::Module, _path::String) │ @ Base ./Base.jl:309 │ [8] exec_options(opts::Base.JLOptions) │ @ Base ./client.jl:344 │ [9] _start() │ @ Base ./client.jl:577 └ @ Main /PkgEval.jl/scripts/precompile.jl:26 Precompiling package dependencies... Precompiling packages... 1912.8 ms ✓ PDMats → StatsBaseExt 3840.7 ms ✓ DimensionalData → DimensionalDataSparseArraysExt 2741.7 ms ✓ DimensionalData → DimensionalDataStatsBaseExt 1647.6 ms ✓ DimensionalData → DimensionalDataChainRulesCoreExt 10753.6 ms ✓ Distributions 9723.9 ms ✓ ComradeBase 4223.8 ms ✓ Distributions → DistributionsTestExt 3451.9 ms ✓ Distributions → DistributionsDensityInterfaceExt 3602.6 ms ✓ Distributions → DistributionsChainRulesCoreExt 2966.4 ms ✓ ComradeBase → ComradeBaseAdaptExt 6441.6 ms ✓ VLBILikelihoods 11 dependencies successfully precompiled in 53 seconds. 108 already precompiled. Precompilation completed after 62.54s ################################################################################ # Testing # Testing VLBILikelihoods Status `/tmp/jl_6oedI3/Project.toml` [d360d2e6] ChainRulesCore v1.26.0 [cdddcdb0] ChainRulesTestUtils v1.13.1 [6d8c423b] ComradeBase v0.9.4 [31c24e10] Distributions v0.25.122 [7da242da] Enzyme v0.13.97 [12d8515a] EnzymeTestUtils v0.2.6 [26cc04aa] FiniteDifferences v0.12.33 [90137ffa] StaticArrays v1.9.15 [09ab397b] StructArrays v0.7.2 [90db92cd] VLBILikelihoods v0.2.9 [e88e6eb3] Zygote v0.7.10 [37e2e46d] LinearAlgebra v1.13.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.13.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_6oedI3/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [7d9f7c33] Accessors v0.1.42 [79e6a3ab] Adapt v4.4.0 [66dad0bd] AliasTables v1.1.3 [4fba245c] ArrayInterface v7.22.0 [0e736298] Bessels v0.2.8 [fa961155] CEnum v0.5.0 [082447d4] ChainRules v1.72.6 [d360d2e6] ChainRulesCore v1.26.0 [cdddcdb0] ChainRulesTestUtils v1.13.1 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [a33af91c] CompositionsBase v0.1.2 [6d8c423b] ComradeBase v0.9.4 [187b0558] ConstructionBase v1.6.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.3 [e2d170a0] DataValueInterfaces v1.0.0 [b429d917] DensityInterface v0.4.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [0703355e] DimensionalData v0.29.25 [31c24e10] Distributions v0.25.122 [ffbed154] DocStringExtensions v0.9.5 [7da242da] Enzyme v0.13.97 [f151be2c] EnzymeCore v0.8.15 [12d8515a] EnzymeTestUtils v0.2.6 [e2ba6199] ExprTools v0.1.10 [411431e0] Extents v0.1.6 [1a297f60] FillArrays v1.15.0 [26cc04aa] FiniteDifferences v0.12.33 [f6369f11] ForwardDiff v1.2.2 [46192b85] GPUArraysCore v0.2.0 [61eb1bfa] GPUCompiler v1.7.2 [34004b35] HypergeometricFunctions v0.3.28 [7869d1d1] IRTools v0.4.15 [85a1e053] Interfaces v0.3.2 [8197267c] IntervalSets v0.7.12 [3587e190] InverseFunctions v0.1.17 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.6 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.1 [929cbde3] LLVM v9.4.4 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [e1d29d7a] Missings v1.2.0 [77ba4419] NaNMath v1.1.3 [d8793406] ObjectFile v0.5.0 [bac558e1] OrderedCollections v1.8.1 [90014a1f] PDMats v0.11.36 [d3c5d4cd] PolarizedTypes v0.1.2 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.0 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [c1ae055f] RealDot v0.1.0 [3cdcf5f2] RecipesBase v1.3.4 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [708f8203] Richardson v1.4.2 [79098fc4] Rmath v0.9.0 [6c6a2e73] Scratch v1.3.0 [a2af1166] SortingAlgorithms v1.2.2 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.6.1 [90137ffa] StaticArrays v1.9.15 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.7 [4c63d2b9] StatsFuns v1.5.2 [09ab397b] StructArrays v0.7.2 [53d494c1] StructIO v0.3.1 [fd094767] Suppressor v0.2.8 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [e689c965] Tracy v0.1.6 [90db92cd] VLBILikelihoods v0.2.9 [e88e6eb3] Zygote v0.7.10 [700de1a5] ZygoteRules v0.2.7 ⌅ [7cc45869] Enzyme_jll v0.0.208+0 [dad2f222] LLVMExtra_jll v0.0.38+0 [ad6e5548] LibTracyClient_jll v0.9.1+6 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+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 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v1.0.0 [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 v1.0.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.16.0+0 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.11.4 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.4+0 [efcefdf7] PCRE2_jll v10.47.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.68.0+1 [3f19e933] p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... ┌ Warning: inference tests have been disabled └ @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/RZidV/src/global_config.jl:13 test_reverse: \ with return activity Duplicated on (::VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, Const), (::Vector{Float64}, Duplicated): Error During Test at /home/pkgeval/.julia/packages/EnzymeTestUtils/yGBt1/src/test_reverse.jl:84 Got exception outside of a @test AssertionError: Enzyme Internal Error (expectLen != length(parameters(f))) define internal i64 @julia_nextind_74954(ptr addrspace(11) nocapture noundef nonnull readonly align 8 dereferenceable(24) %"s::SubString", ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %.roots.s, i64 signext %"i::Int64") #26 !dbg !1050 { top: %0 = alloca ptr addrspace(10), align 8 %pgcstack = call ptr @julia.get_pgcstack() call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 8, i1 false), !tbaa !195, !alias.scope !199, !noalias !202 %1 = getelementptr inbounds i8, ptr %.roots.s, i32 0 %2 = load ptr addrspace(10), ptr %1, align 8, !tbaa !207, !alias.scope !220, !noalias !221 %3 = icmp eq i64 %"i::Int64", 0, !dbg !1052 %4 = xor i1 %3, true, !dbg !1054 br i1 %4, label %L4, label %L3, !dbg !1054 L3: ; preds = %top br label %L65, !dbg !1054 L4: ; preds = %top %5 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 16, !dbg !1057 br i1 false, label %L15, label %L7, !dbg !1062 L7: ; preds = %L4 %6 = icmp sle i64 1, %"i::Int64", !dbg !1063 %.unbox = load i64, ptr addrspace(11) %5, align 8, !dbg !1063, !tbaa !207, !alias.scope !220, !noalias !221 %7 = icmp sle i64 %"i::Int64", %.unbox, !dbg !1063 %8 = and i1 %6, %7, !dbg !1067 %9 = xor i1 %8, true, !dbg !1062 br i1 %9, label %L12, label %L11, !dbg !1062 L11: ; preds = %L7 br label %L15, !dbg !1062 L12: ; preds = %L7 %"-Core.BoundsError#7436411" = load ptr, ptr @_Core_BoundsError_74364, align 8, !dbg !1062, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !222, !align !223 %10 = addrspacecast ptr %"-Core.BoundsError#7436411" to ptr addrspace(10), !dbg !1062 %"+Core.BoundsError#7418812" = load ptr, ptr @_Core_BoundsError_74188, align 8, !dbg !1062, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %11 = addrspacecast ptr %"+Core.BoundsError#7418812" to ptr addrspace(10), !dbg !1062 %"+Main.Base.SubString#7456213" = load ptr, ptr @_Main_Base_SubString_74562, align 8, !dbg !1062, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %SubString14 = ptrtoint ptr %"+Main.Base.SubString#7456213" to i64, !dbg !1062 %12 = inttoptr i64 %SubString14 to ptr, !dbg !1062 %current_task15 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !1062 %13 = addrspacecast ptr %12 to ptr addrspace(10), !dbg !1062 %"box::SubString16" = call noalias nonnull align 8 dereferenceable(24) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task15, i64 24, ptr addrspace(10) %13) #227, !dbg !1062 %14 = addrspacecast ptr addrspace(10) %"box::SubString16" to ptr addrspace(11), !dbg !1062 %15 = getelementptr inbounds i8, ptr addrspace(11) %14, i32 0, !dbg !1062 store atomic ptr addrspace(10) %2, ptr addrspace(11) %15 unordered, align 8, !dbg !1062, !tbaa !518, !alias.scope !456, !noalias !457 %16 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !1062 %17 = getelementptr inbounds i8, ptr addrspace(11) %14, i32 8, !dbg !1062 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %17, ptr addrspace(11) align 8 %16, i64 16, i1 false), !dbg !1062, !tbaa !246, !alias.scope !556, !noalias !557 %box_Int6417 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %"i::Int64") #228, !dbg !1062 %18 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %10, ptr addrspace(10) %11, ptr addrspace(10) %"box::SubString16", ptr addrspace(10) %box_Int6417), !dbg !1062 %19 = addrspacecast ptr addrspace(10) %18 to ptr addrspace(12), !dbg !1062 call void @ijl_throw(ptr addrspace(12) %19), !dbg !1062 unreachable, !dbg !1062 L15: ; preds = %L11, %L4 br i1 false, label %L30, label %L17, !dbg !1069 L17: ; preds = %L15 %20 = icmp sle i64 1, %"i::Int64", !dbg !1072 %21 = xor i1 %20, true, !dbg !1073 br i1 %21, label %L22, label %L19, !dbg !1073 L19: ; preds = %L17 %22 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 16, !dbg !1077 %.unbox1 = load i64, ptr addrspace(11) %22, align 8, !dbg !1072, !tbaa !207, !alias.scope !220, !noalias !221 %23 = icmp sle i64 %"i::Int64", %.unbox1, !dbg !1072 %24 = zext i1 %23 to i8 br label %L23, !dbg !1072 L22: ; preds = %L17 br label %L23, !dbg !1076 L23: ; preds = %L22, %L19 %value_phi2 = phi i8 [ %24, %L19 ], [ 0, %L22 ] %25 = trunc i8 %value_phi2 to i1, !dbg !1076 %26 = xor i1 %25, true, !dbg !1076 br i1 %26, label %L26, label %L25, !dbg !1076 L25: ; preds = %L23 br label %L29, !dbg !1076 L26: ; preds = %L23 %"-Core.BoundsError#743646" = load ptr, ptr @_Core_BoundsError_74364, align 8, !dbg !1076, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !222, !align !223 %27 = addrspacecast ptr %"-Core.BoundsError#743646" to ptr addrspace(10), !dbg !1076 %"+Core.BoundsError#741887" = load ptr, ptr @_Core_BoundsError_74188, align 8, !dbg !1076, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %28 = addrspacecast ptr %"+Core.BoundsError#741887" to ptr addrspace(10), !dbg !1076 %"+Main.Base.SubString#74562" = load ptr, ptr @_Main_Base_SubString_74562, align 8, !dbg !1076, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %SubString = ptrtoint ptr %"+Main.Base.SubString#74562" to i64, !dbg !1076 %29 = inttoptr i64 %SubString to ptr, !dbg !1076 %current_task = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !1076 %30 = addrspacecast ptr %29 to ptr addrspace(10), !dbg !1076 %"box::SubString" = call noalias nonnull align 8 dereferenceable(24) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task, i64 24, ptr addrspace(10) %30) #227, !dbg !1076 %31 = addrspacecast ptr addrspace(10) %"box::SubString" to ptr addrspace(11), !dbg !1076 %32 = getelementptr inbounds i8, ptr addrspace(11) %31, i32 0, !dbg !1076 store atomic ptr addrspace(10) %2, ptr addrspace(11) %32 unordered, align 8, !dbg !1076, !tbaa !518, !alias.scope !456, !noalias !457 %33 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !1076 %34 = getelementptr inbounds i8, ptr addrspace(11) %31, i32 8, !dbg !1076 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %34, ptr addrspace(11) align 8 %33, i64 16, i1 false), !dbg !1076, !tbaa !246, !alias.scope !556, !noalias !557 %box_Int648 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %"i::Int64") #228, !dbg !1076 %35 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %27, ptr addrspace(10) %28, ptr addrspace(10) %"box::SubString", ptr addrspace(10) %box_Int648), !dbg !1076 %36 = addrspacecast ptr addrspace(10) %35 to ptr addrspace(12), !dbg !1076 call void @ijl_throw(ptr addrspace(12) %36), !dbg !1076 unreachable, !dbg !1076 L29: ; preds = %L25 br label %L30, !dbg !1076 L30: ; preds = %L29, %L15 %37 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !1079 %.unbox3 = load i64, ptr addrspace(11) %37, align 8, !dbg !1081, !tbaa !207, !alias.scope !220, !noalias !221 %38 = add i64 %.unbox3, %"i::Int64", !dbg !1081 br i1 false, label %L48, label %L35, !dbg !1083 L35: ; preds = %L30 %39 = icmp sle i64 1, %38, !dbg !1085 %40 = xor i1 %39, true, !dbg !1086 br i1 %40, label %L40, label %L37, !dbg !1086 L37: ; preds = %L35 %sizeof = load i64, ptr addrspace(10) %2, align 8, !dbg !1088, !tbaa !207, !range !727, !alias.scope !220, !noalias !221 %41 = icmp sle i64 %38, %sizeof, !dbg !1085 %42 = zext i1 %41 to i8 br label %L41, !dbg !1085 L40: ; preds = %L35 br label %L41, !dbg !1087 L41: ; preds = %L40, %L37 %value_phi4 = phi i8 [ %42, %L37 ], [ 0, %L40 ] %43 = trunc i8 %value_phi4 to i1, !dbg !1087 %44 = xor i1 %43, true, !dbg !1087 br i1 %44, label %L44, label %L43, !dbg !1087 L43: ; preds = %L41 br label %L47, !dbg !1087 L44: ; preds = %L41 %"-Core.BoundsError#74364" = load ptr, ptr @_Core_BoundsError_74364, align 8, !dbg !1087, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !222, !align !223 %45 = addrspacecast ptr %"-Core.BoundsError#74364" to ptr addrspace(10), !dbg !1087 %"+Core.BoundsError#74188" = load ptr, ptr @_Core_BoundsError_74188, align 8, !dbg !1087, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %46 = addrspacecast ptr %"+Core.BoundsError#74188" to ptr addrspace(10), !dbg !1087 %box_Int64 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %38) #228, !dbg !1087 %47 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %45, ptr addrspace(10) %46, ptr addrspace(10) %2, ptr addrspace(10) %box_Int64), !dbg !1087 %48 = addrspacecast ptr addrspace(10) %47 to ptr addrspace(12), !dbg !1087 call void @ijl_throw(ptr addrspace(12) %48), !dbg !1087 unreachable, !dbg !1087 L47: ; preds = %L43 br label %L48, !dbg !1087 L48: ; preds = %L47, %L30 %49 = call token (...) @llvm.julia.gc_preserve_begin(ptr addrspace(10) %2), !dbg !1090 %50 = addrspacecast ptr addrspace(10) %2 to ptr addrspace(11), !dbg !1091 %51 = call nonnull ptr @julia.pointer_from_objref(ptr addrspace(11) %50) #229, !dbg !1091 %string_ptr = getelementptr inbounds i8, ptr %51, i32 8, !dbg !1091 %52 = getelementptr i8, ptr %string_ptr, i64 %38, !dbg !1096 %53 = getelementptr i8, ptr %52, i64 -1, !dbg !1098 %54 = getelementptr inbounds i8, ptr %53, i64 0, !dbg !1100 %pointerref = load i8, ptr %54, align 1, !dbg !1100, !tbaa !507, !alias.scope !456, !noalias !457 call void @llvm.julia.gc_preserve_end(token %49), !dbg !1090 br label %L56, !dbg !1103 L56: ; preds = %L48 br label %L57, !dbg !1080 L57: ; preds = %L56 %55 = icmp ule i8 -128, %pointerref, !dbg !1104 %56 = icmp ule i8 %pointerref, -9, !dbg !1104 %57 = and i1 %55, %56, !dbg !1107 %58 = xor i1 %57, true, !dbg !1106 br i1 %58, label %L63, label %L61, !dbg !1106 L61: ; preds = %L57 %59 = getelementptr inbounds i8, ptr %0, i32 0, !dbg !1108 store ptr addrspace(10) %2, ptr %59, align 8, !dbg !1108 %.unbox5 = load i64, ptr addrspace(11) %5, align 8, !dbg !1108, !tbaa !207, !alias.scope !220, !noalias !221 %60 = call i64 @julia__nextind_continued_74957(ptr addrspace(11) nocapture readonly %"s::SubString", ptr nocapture readonly %0, i64 signext %"i::Int64", i64 signext %.unbox5, i8 zeroext %pointerref), !dbg !1108 br label %L65, !dbg !1108 L63: ; preds = %L57 %61 = add i64 %"i::Int64", 1, !dbg !1109 br label %L65, !dbg !1106 L65: ; preds = %L63, %L61, %L3 %value_phi = phi i64 [ 1, %L3 ], [ %60, %L61 ], [ %61, %L63 ] ret i64 %value_phi, !dbg !1056 after_throw: ; No predecessors! call void @llvm.trap(), !dbg !1087 unreachable, !dbg !1087 after_noret: ; No predecessors! call void @llvm.trap(), !dbg !1087 unreachable, !dbg !1087 after_throw9: ; No predecessors! call void @llvm.trap(), !dbg !1076 unreachable, !dbg !1076 after_noret10: ; No predecessors! call void @llvm.trap(), !dbg !1076 unreachable, !dbg !1076 after_throw18: ; No predecessors! call void @llvm.trap(), !dbg !1062 unreachable, !dbg !1062 after_noret19: ; No predecessors! call void @llvm.trap(), !dbg !1062 unreachable, !dbg !1062 } expectLen=2 swiftself=false sret=nothing returnRoots=nothing mi.specTypes.parameters=svec(typeof(nextind), SubString{String}, Int64) retRemoved=false parmsRemoved=UInt64[] Stacktrace: [1] julia_activity_rule(f::LLVM.Function) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/rules/activityrules.jl:48 [2] handle_compiled(state::Enzyme.Compiler.HandlerState, edges::Vector{Any}, run_enzyme::Bool, mode::Enzyme.API.CDerivativeMode, world::UInt64, method_table::Compiler.OverlayMethodTable, custom::Dict{String, LLVM.API.LLVMLinkage}, mod::LLVM.Module, mi::Core.MethodInstance, k_name::String, rettype::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:628 [3] set_module_types!(interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, primalf::LLVM.Function, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, edges::Vector{Any}, run_enzyme::Bool, mode::Enzyme.API.CDerivativeMode) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:1220 [4] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:4627 [5] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/Gp8bZ/src/driver.jl:67 [6] compile @ ~/.julia/packages/GPUCompiler/Gp8bZ/src/driver.jl:55 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:5960 [8] _thunk @ ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:5958 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:6015 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:6131 [11] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:6275 [12] autodiff_thunk(::ReverseModeSplit{true, true, false, false, 0, true, FFIABI, false, false, false}, ::Type{Const{typeof(EnzymeTestUtils.call_with_kwargs)}}, ::Type{Duplicated}, ::Type{Const{@NamedTuple{}}}, ::Type{Const{typeof(\)}}, ::Type{Const{VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}}}, ::Type{Duplicated{Vector{Float64}}}) @ Enzyme ~/.julia/packages/Enzyme/EPXUy/src/Enzyme.jl:1001 [13] macro expansion @ ~/.julia/packages/EnzymeTestUtils/yGBt1/src/test_reverse.jl:107 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [15] test_reverse(::typeof(\), ::Type, ::Tuple{VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, UnionAll}, ::Vararg{Any}; rng::Random.TaskLocalRNG, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, fkwargs::@NamedTuple{}, rtol::Float64, atol::Float64, testset_name::Nothing, runtime_activity::Bool, output_tangent::Nothing) @ EnzymeTestUtils ~/.julia/packages/EnzymeTestUtils/yGBt1/src/test_reverse.jl:86 [16] test_reverse(::Function, ::Type, ::Tuple{VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, UnionAll}, ::Vararg{Any}) @ EnzymeTestUtils ~/.julia/packages/EnzymeTestUtils/yGBt1/src/test_reverse.jl:68 [17] macro expansion @ ~/.julia/packages/VLBILikelihoods/DSaEu/test/rules.jl:16 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [19] top-level scope @ ~/.julia/packages/VLBILikelihoods/DSaEu/test/rules.jl:7 [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [21] top-level scope @ ~/.julia/packages/VLBILikelihoods/DSaEu/test/runtests.jl:38 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [23] macro expansion @ ~/.julia/packages/VLBILikelihoods/DSaEu/test/runtests.jl:92 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [28] _start() @ Base ./client.jl:577 test_reverse: \ with return activity BatchDuplicated on (::VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, Const), (::Vector{Float64}, BatchDuplicated): Error During Test at /home/pkgeval/.julia/packages/EnzymeTestUtils/yGBt1/src/test_reverse.jl:84 Got exception outside of a @test AssertionError: Enzyme Internal Error (expectLen != length(parameters(f))) define internal i64 @julia_nextind_80922(ptr addrspace(11) nocapture noundef nonnull readonly align 8 dereferenceable(24) %"s::SubString", ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %.roots.s, i64 signext %"i::Int64") #26 !dbg !1050 { top: %0 = alloca ptr addrspace(10), align 8 %pgcstack = call ptr @julia.get_pgcstack() call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 8, i1 false), !tbaa !195, !alias.scope !199, !noalias !202 %1 = getelementptr inbounds i8, ptr %.roots.s, i32 0 %2 = load ptr addrspace(10), ptr %1, align 8, !tbaa !207, !alias.scope !220, !noalias !221 %3 = icmp eq i64 %"i::Int64", 0, !dbg !1052 %4 = xor i1 %3, true, !dbg !1054 br i1 %4, label %L4, label %L3, !dbg !1054 L3: ; preds = %top br label %L65, !dbg !1054 L4: ; preds = %top %5 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 16, !dbg !1057 br i1 false, label %L15, label %L7, !dbg !1062 L7: ; preds = %L4 %6 = icmp sle i64 1, %"i::Int64", !dbg !1063 %.unbox = load i64, ptr addrspace(11) %5, align 8, !dbg !1063, !tbaa !207, !alias.scope !220, !noalias !221 %7 = icmp sle i64 %"i::Int64", %.unbox, !dbg !1063 %8 = and i1 %6, %7, !dbg !1067 %9 = xor i1 %8, true, !dbg !1062 br i1 %9, label %L12, label %L11, !dbg !1062 L11: ; preds = %L7 br label %L15, !dbg !1062 L12: ; preds = %L7 %"-Core.BoundsError#8033211" = load ptr, ptr @_Core_BoundsError_80332, align 8, !dbg !1062, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !222, !align !223 %10 = addrspacecast ptr %"-Core.BoundsError#8033211" to ptr addrspace(10), !dbg !1062 %"+Core.BoundsError#8015612" = load ptr, ptr @_Core_BoundsError_80156, align 8, !dbg !1062, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %11 = addrspacecast ptr %"+Core.BoundsError#8015612" to ptr addrspace(10), !dbg !1062 %"+Main.Base.SubString#8053013" = load ptr, ptr @_Main_Base_SubString_80530, align 8, !dbg !1062, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %SubString14 = ptrtoint ptr %"+Main.Base.SubString#8053013" to i64, !dbg !1062 %12 = inttoptr i64 %SubString14 to ptr, !dbg !1062 %current_task15 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !1062 %13 = addrspacecast ptr %12 to ptr addrspace(10), !dbg !1062 %"box::SubString16" = call noalias nonnull align 8 dereferenceable(24) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task15, i64 24, ptr addrspace(10) %13) #227, !dbg !1062 %14 = addrspacecast ptr addrspace(10) %"box::SubString16" to ptr addrspace(11), !dbg !1062 %15 = getelementptr inbounds i8, ptr addrspace(11) %14, i32 0, !dbg !1062 store atomic ptr addrspace(10) %2, ptr addrspace(11) %15 unordered, align 8, !dbg !1062, !tbaa !518, !alias.scope !456, !noalias !457 %16 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !1062 %17 = getelementptr inbounds i8, ptr addrspace(11) %14, i32 8, !dbg !1062 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %17, ptr addrspace(11) align 8 %16, i64 16, i1 false), !dbg !1062, !tbaa !246, !alias.scope !556, !noalias !557 %box_Int6417 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %"i::Int64") #228, !dbg !1062 %18 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %10, ptr addrspace(10) %11, ptr addrspace(10) %"box::SubString16", ptr addrspace(10) %box_Int6417), !dbg !1062 %19 = addrspacecast ptr addrspace(10) %18 to ptr addrspace(12), !dbg !1062 call void @ijl_throw(ptr addrspace(12) %19), !dbg !1062 unreachable, !dbg !1062 L15: ; preds = %L11, %L4 br i1 false, label %L30, label %L17, !dbg !1069 L17: ; preds = %L15 %20 = icmp sle i64 1, %"i::Int64", !dbg !1072 %21 = xor i1 %20, true, !dbg !1073 br i1 %21, label %L22, label %L19, !dbg !1073 L19: ; preds = %L17 %22 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 16, !dbg !1077 %.unbox1 = load i64, ptr addrspace(11) %22, align 8, !dbg !1072, !tbaa !207, !alias.scope !220, !noalias !221 %23 = icmp sle i64 %"i::Int64", %.unbox1, !dbg !1072 %24 = zext i1 %23 to i8 br label %L23, !dbg !1072 L22: ; preds = %L17 br label %L23, !dbg !1076 L23: ; preds = %L22, %L19 %value_phi2 = phi i8 [ %24, %L19 ], [ 0, %L22 ] %25 = trunc i8 %value_phi2 to i1, !dbg !1076 %26 = xor i1 %25, true, !dbg !1076 br i1 %26, label %L26, label %L25, !dbg !1076 L25: ; preds = %L23 br label %L29, !dbg !1076 L26: ; preds = %L23 %"-Core.BoundsError#803326" = load ptr, ptr @_Core_BoundsError_80332, align 8, !dbg !1076, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !222, !align !223 %27 = addrspacecast ptr %"-Core.BoundsError#803326" to ptr addrspace(10), !dbg !1076 %"+Core.BoundsError#801567" = load ptr, ptr @_Core_BoundsError_80156, align 8, !dbg !1076, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %28 = addrspacecast ptr %"+Core.BoundsError#801567" to ptr addrspace(10), !dbg !1076 %"+Main.Base.SubString#80530" = load ptr, ptr @_Main_Base_SubString_80530, align 8, !dbg !1076, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %SubString = ptrtoint ptr %"+Main.Base.SubString#80530" to i64, !dbg !1076 %29 = inttoptr i64 %SubString to ptr, !dbg !1076 %current_task = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !1076 %30 = addrspacecast ptr %29 to ptr addrspace(10), !dbg !1076 %"box::SubString" = call noalias nonnull align 8 dereferenceable(24) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task, i64 24, ptr addrspace(10) %30) #227, !dbg !1076 %31 = addrspacecast ptr addrspace(10) %"box::SubString" to ptr addrspace(11), !dbg !1076 %32 = getelementptr inbounds i8, ptr addrspace(11) %31, i32 0, !dbg !1076 store atomic ptr addrspace(10) %2, ptr addrspace(11) %32 unordered, align 8, !dbg !1076, !tbaa !518, !alias.scope !456, !noalias !457 %33 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !1076 %34 = getelementptr inbounds i8, ptr addrspace(11) %31, i32 8, !dbg !1076 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %34, ptr addrspace(11) align 8 %33, i64 16, i1 false), !dbg !1076, !tbaa !246, !alias.scope !556, !noalias !557 %box_Int648 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %"i::Int64") #228, !dbg !1076 %35 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %27, ptr addrspace(10) %28, ptr addrspace(10) %"box::SubString", ptr addrspace(10) %box_Int648), !dbg !1076 %36 = addrspacecast ptr addrspace(10) %35 to ptr addrspace(12), !dbg !1076 call void @ijl_throw(ptr addrspace(12) %36), !dbg !1076 unreachable, !dbg !1076 L29: ; preds = %L25 br label %L30, !dbg !1076 L30: ; preds = %L29, %L15 %37 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !1079 %.unbox3 = load i64, ptr addrspace(11) %37, align 8, !dbg !1081, !tbaa !207, !alias.scope !220, !noalias !221 %38 = add i64 %.unbox3, %"i::Int64", !dbg !1081 br i1 false, label %L48, label %L35, !dbg !1083 L35: ; preds = %L30 %39 = icmp sle i64 1, %38, !dbg !1085 %40 = xor i1 %39, true, !dbg !1086 br i1 %40, label %L40, label %L37, !dbg !1086 L37: ; preds = %L35 %sizeof = load i64, ptr addrspace(10) %2, align 8, !dbg !1088, !tbaa !207, !range !727, !alias.scope !220, !noalias !221 %41 = icmp sle i64 %38, %sizeof, !dbg !1085 %42 = zext i1 %41 to i8 br label %L41, !dbg !1085 L40: ; preds = %L35 br label %L41, !dbg !1087 L41: ; preds = %L40, %L37 %value_phi4 = phi i8 [ %42, %L37 ], [ 0, %L40 ] %43 = trunc i8 %value_phi4 to i1, !dbg !1087 %44 = xor i1 %43, true, !dbg !1087 br i1 %44, label %L44, label %L43, !dbg !1087 L43: ; preds = %L41 br label %L47, !dbg !1087 L44: ; preds = %L41 %"-Core.BoundsError#80332" = load ptr, ptr @_Core_BoundsError_80332, align 8, !dbg !1087, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !222, !align !223 %45 = addrspacecast ptr %"-Core.BoundsError#80332" to ptr addrspace(10), !dbg !1087 %"+Core.BoundsError#80156" = load ptr, ptr @_Core_BoundsError_80156, align 8, !dbg !1087, !tbaa !207, !alias.scope !220, !noalias !221, !nonnull !0, !dereferenceable !224, !align !225 %46 = addrspacecast ptr %"+Core.BoundsError#80156" to ptr addrspace(10), !dbg !1087 %box_Int64 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %38) #228, !dbg !1087 %47 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %45, ptr addrspace(10) %46, ptr addrspace(10) %2, ptr addrspace(10) %box_Int64), !dbg !1087 %48 = addrspacecast ptr addrspace(10) %47 to ptr addrspace(12), !dbg !1087 call void @ijl_throw(ptr addrspace(12) %48), !dbg !1087 unreachable, !dbg !1087 L47: ; preds = %L43 br label %L48, !dbg !1087 L48: ; preds = %L47, %L30 %49 = call token (...) @llvm.julia.gc_preserve_begin(ptr addrspace(10) %2), !dbg !1090 %50 = addrspacecast ptr addrspace(10) %2 to ptr addrspace(11), !dbg !1091 %51 = call nonnull ptr @julia.pointer_from_objref(ptr addrspace(11) %50) #229, !dbg !1091 %string_ptr = getelementptr inbounds i8, ptr %51, i32 8, !dbg !1091 %52 = getelementptr i8, ptr %string_ptr, i64 %38, !dbg !1096 %53 = getelementptr i8, ptr %52, i64 -1, !dbg !1098 %54 = getelementptr inbounds i8, ptr %53, i64 0, !dbg !1100 %pointerref = load i8, ptr %54, align 1, !dbg !1100, !tbaa !507, !alias.scope !456, !noalias !457 call void @llvm.julia.gc_preserve_end(token %49), !dbg !1090 br label %L56, !dbg !1103 L56: ; preds = %L48 br label %L57, !dbg !1080 L57: ; preds = %L56 %55 = icmp ule i8 -128, %pointerref, !dbg !1104 %56 = icmp ule i8 %pointerref, -9, !dbg !1104 %57 = and i1 %55, %56, !dbg !1107 %58 = xor i1 %57, true, !dbg !1106 br i1 %58, label %L63, label %L61, !dbg !1106 L61: ; preds = %L57 %59 = getelementptr inbounds i8, ptr %0, i32 0, !dbg !1108 store ptr addrspace(10) %2, ptr %59, align 8, !dbg !1108 %.unbox5 = load i64, ptr addrspace(11) %5, align 8, !dbg !1108, !tbaa !207, !alias.scope !220, !noalias !221 %60 = call i64 @julia__nextind_continued_80925(ptr addrspace(11) nocapture readonly %"s::SubString", ptr nocapture readonly %0, i64 signext %"i::Int64", i64 signext %.unbox5, i8 zeroext %pointerref), !dbg !1108 br label %L65, !dbg !1108 L63: ; preds = %L57 %61 = add i64 %"i::Int64", 1, !dbg !1109 br label %L65, !dbg !1106 L65: ; preds = %L63, %L61, %L3 %value_phi = phi i64 [ 1, %L3 ], [ %60, %L61 ], [ %61, %L63 ] ret i64 %value_phi, !dbg !1056 after_throw: ; No predecessors! call void @llvm.trap(), !dbg !1087 unreachable, !dbg !1087 after_noret: ; No predecessors! call void @llvm.trap(), !dbg !1087 unreachable, !dbg !1087 after_throw9: ; No predecessors! call void @llvm.trap(), !dbg !1076 unreachable, !dbg !1076 after_noret10: ; No predecessors! call void @llvm.trap(), !dbg !1076 unreachable, !dbg !1076 after_throw18: ; No predecessors! call void @llvm.trap(), !dbg !1062 unreachable, !dbg !1062 after_noret19: ; No predecessors! call void @llvm.trap(), !dbg !1062 unreachable, !dbg !1062 } expectLen=2 swiftself=false sret=nothing returnRoots=nothing mi.specTypes.parameters=svec(typeof(nextind), SubString{String}, Int64) retRemoved=false parmsRemoved=UInt64[] Stacktrace: [1] julia_activity_rule(f::LLVM.Function) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/rules/activityrules.jl:48 [2] handle_compiled(state::Enzyme.Compiler.HandlerState, edges::Vector{Any}, run_enzyme::Bool, mode::Enzyme.API.CDerivativeMode, world::UInt64, method_table::Compiler.OverlayMethodTable, custom::Dict{String, LLVM.API.LLVMLinkage}, mod::LLVM.Module, mi::Core.MethodInstance, k_name::String, rettype::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:628 [3] set_module_types!(interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, primalf::LLVM.Function, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, edges::Vector{Any}, run_enzyme::Bool, mode::Enzyme.API.CDerivativeMode) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:1220 [4] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:4627 [5] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/Gp8bZ/src/driver.jl:67 [6] compile @ ~/.julia/packages/GPUCompiler/Gp8bZ/src/driver.jl:55 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:5960 [8] _thunk @ ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:5958 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:6015 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:6131 [11] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/EPXUy/src/compiler.jl:6275 [12] autodiff_thunk(::ReverseModeSplit{true, true, false, false, 0, true, FFIABI, false, false, false}, ::Type{Const{typeof(EnzymeTestUtils.call_with_kwargs)}}, ::Type{BatchDuplicated}, ::Type{Const{@NamedTuple{}}}, ::Type{Const{typeof(\)}}, ::Type{Const{VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}}}, ::Type{BatchDuplicated{Vector{Float64}, 2}}) @ Enzyme ~/.julia/packages/Enzyme/EPXUy/src/Enzyme.jl:1001 [13] macro expansion @ ~/.julia/packages/EnzymeTestUtils/yGBt1/src/test_reverse.jl:107 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [15] test_reverse(::typeof(\), ::Type, ::Tuple{VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, UnionAll}, ::Vararg{Any}; rng::Random.TaskLocalRNG, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, fkwargs::@NamedTuple{}, rtol::Float64, atol::Float64, testset_name::Nothing, runtime_activity::Bool, output_tangent::Nothing) @ EnzymeTestUtils ~/.julia/packages/EnzymeTestUtils/yGBt1/src/test_reverse.jl:86 [16] test_reverse(::Function, ::Type, ::Tuple{VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, UnionAll}, ::Vararg{Any}) @ EnzymeTestUtils ~/.julia/packages/EnzymeTestUtils/yGBt1/src/test_reverse.jl:68 [17] macro expansion @ ~/.julia/packages/VLBILikelihoods/DSaEu/test/rules.jl:16 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [19] top-level scope @ ~/.julia/packages/VLBILikelihoods/DSaEu/test/rules.jl:7 [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [21] top-level scope @ ~/.julia/packages/VLBILikelihoods/DSaEu/test/runtests.jl:38 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [23] macro expansion @ ~/.julia/packages/VLBILikelihoods/DSaEu/test/runtests.jl:92 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [28] _start() @ Base ./client.jl:577 Test Summary: | Pass Error Total Time VLBILikelihoods.jl | 198 2 200 16m08.3s utility test | 22 22 1m23.1s CholeskyFactor | 7 7 12.9s Amplitude Likelihood | 34 34 2m20.0s Rice Amplitude Likelihood | 24 24 8.8s Closure Phase | 53 53 41.3s Complex Vis | 12 12 16.5s Coherency Likelihood | 46 46 42.0s Enzyme CholeskyFactor | 2 2 5m50.4s test_reverse: \ with return activity Duplicated on (::VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, Const), (::Vector{Float64}, Duplicated) | 1 1 5m28.5s test_reverse: \ with return activity BatchDuplicated on (::VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, Const), (::Vector{Float64}, BatchDuplicated) | 1 1 16.3s RNG of the outermost testset: Random.Xoshiro(0x76cf9c80b9743fbb, 0xffb98f53b3c2822e, 0xb7ff083712ef5076, 0x40972e698ab337d0, 0xd219b871fe4edf43) ERROR: LoadError: Some tests did not pass: 198 passed, 0 failed, 2 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/VLBILikelihoods/DSaEu/test/runtests.jl:36 Testing failed after 1071.71s ERROR: LoadError: Package VLBILikelihoods errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/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.14/Pkg/src/Operations.jl:2946 [3] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:2795 [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.14/Pkg/src/API.jl:572 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:548 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:161 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [9] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [12] include(mod::Module, _path::String) @ Base ./Base.jl:309 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [14] _start() @ Base ./client.jl:577 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 1170.13s: package tests unexpectedly errored