Package evaluation to test VLBILikelihoods on Julia 1.14.0-DEV.30 (073666df8b*) started at 2025-11-04T18:52:45.083 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.51s ################################################################################ # 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.2 [e2d170a0] + DataValueInterfaces v1.0.0 [b429d917] + DensityInterface v0.4.0 [0703355e] + DimensionalData v0.29.24 [31c24e10] + Distributions v0.25.122 [ffbed154] + DocStringExtensions v0.9.5 [f151be2c] + EnzymeCore v0.8.15 [411431e0] + Extents v0.1.6 [1a297f60] + FillArrays v1.14.0 [34004b35] + HypergeometricFunctions v0.3.28 [85a1e053] + Interfaces v0.3.2 [8197267c] + IntervalSets v0.7.11 [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.0s ################################################################################ # 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... 3700.4 ms ✓ PolarizedTypes 2786.0 ms ✓ DimensionalData → DimensionalDataStatsBase 1616.4 ms ✓ DimensionalData → DimensionalDataChainRulesCoreExt 3365.0 ms ✓ Distributions → DistributionsDensityInterfaceExt 7014.4 ms ✓ ComradeBase 2835.8 ms ✓ ComradeBase → ComradeBaseAdaptExt 6228.3 ms ✓ VLBILikelihoods 7 dependencies successfully precompiled in 29 seconds. 111 already precompiled. Precompilation completed after 41.7s ################################################################################ # Testing # Testing VLBILikelihoods Status `/tmp/jl_El2xi9/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.96 [12d8515a] EnzymeTestUtils v0.2.5 [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_El2xi9/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.2 [e2d170a0] DataValueInterfaces v1.0.0 [b429d917] DensityInterface v0.4.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [0703355e] DimensionalData v0.29.24 [31c24e10] Distributions v0.25.122 [ffbed154] DocStringExtensions v0.9.5 [7da242da] Enzyme v0.13.96 [f151be2c] EnzymeCore v0.8.15 [12d8515a] EnzymeTestUtils v0.2.5 [e2ba6199] ExprTools v0.1.10 [411431e0] Extents v0.1.6 [1a297f60] FillArrays v1.14.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.11 [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.207+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.9.9 [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.67.1+0 [3f19e933] p7zip_jll v17.6.0+0 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/JZTWO/src/test_reverse.jl:86 Got exception outside of a @test AssertionError: Enzyme Internal Error (expectLen != length(parameters(f))) define internal i64 @julia_thisind_75574(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") #41 !dbg !2967 { 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 !494, !noalias !495 %1 = getelementptr inbounds i8, ptr %.roots.s, i32 0 %2 = load ptr addrspace(10), ptr %1, align 8, !tbaa !199, !alias.scope !252, !noalias !255 %3 = icmp eq i64 %"i::Int64", 0, !dbg !2968 %4 = xor i1 %3, true, !dbg !2970 br i1 %4, label %L4, label %L3, !dbg !2970 L3: ; preds = %top br label %L70, !dbg !2970 L4: ; preds = %top %5 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 16, !dbg !2973 %.unbox = load i64, ptr addrspace(11) %5, align 8, !dbg !2978, !tbaa !199, !alias.scope !252, !noalias !255 %6 = add i64 %.unbox, 1, !dbg !2978 %7 = icmp eq i64 %"i::Int64", %6, !dbg !2981 %8 = xor i1 %7, true, !dbg !2980 br i1 %8, label %L9, label %L8, !dbg !2980 L8: ; preds = %L4 br label %L70, !dbg !2980 L9: ; preds = %L4 br i1 false, label %L19, label %L11, !dbg !2982 L11: ; preds = %L9 %9 = icmp sle i64 1, %"i::Int64", !dbg !2983 %.unbox1 = load i64, ptr addrspace(11) %5, align 8, !dbg !2983, !tbaa !199, !alias.scope !252, !noalias !255 %10 = icmp sle i64 %"i::Int64", %.unbox1, !dbg !2983 %11 = and i1 %9, %10, !dbg !2987 %12 = xor i1 %11, true, !dbg !2982 br i1 %12, label %L16, label %L15, !dbg !2982 L15: ; preds = %L11 br label %L19, !dbg !2982 L16: ; preds = %L11 %"-Core.BoundsError#7499612" = load ptr, ptr @_Core_BoundsError_74996, align 8, !dbg !2982, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !572, !align !300 %13 = addrspacecast ptr %"-Core.BoundsError#7499612" to ptr addrspace(10), !dbg !2982 %"+Core.BoundsError#7482013" = load ptr, ptr @_Core_BoundsError_74820, align 8, !dbg !2982, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %14 = addrspacecast ptr %"+Core.BoundsError#7482013" to ptr addrspace(10), !dbg !2982 %"+Main.Base.SubString#7519014" = load ptr, ptr @_Main_Base_SubString_75190, align 8, !dbg !2982, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %SubString15 = ptrtoint ptr %"+Main.Base.SubString#7519014" to i64, !dbg !2982 %15 = inttoptr i64 %SubString15 to ptr, !dbg !2982 %current_task16 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !2982 %16 = addrspacecast ptr %15 to ptr addrspace(10), !dbg !2982 %"box::SubString17" = call noalias nonnull align 8 dereferenceable(24) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task16, i64 24, ptr addrspace(10) %16) #227, !dbg !2982 %17 = addrspacecast ptr addrspace(10) %"box::SubString17" to ptr addrspace(11), !dbg !2982 %18 = getelementptr inbounds i8, ptr addrspace(11) %17, i32 0, !dbg !2982 store atomic ptr addrspace(10) %2, ptr addrspace(11) %18 unordered, align 8, !dbg !2982, !tbaa !429, !alias.scope !376, !noalias !377 %19 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !2982 %20 = getelementptr inbounds i8, ptr addrspace(11) %17, i32 8, !dbg !2982 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %20, ptr addrspace(11) align 8 %19, i64 16, i1 false), !dbg !2982, !tbaa !301, !alias.scope !1385, !noalias !1386 %box_Int6418 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %"i::Int64") #228, !dbg !2982 %21 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %13, ptr addrspace(10) %14, ptr addrspace(10) %"box::SubString17", ptr addrspace(10) %box_Int6418), !dbg !2982 %22 = addrspacecast ptr addrspace(10) %21 to ptr addrspace(12), !dbg !2982 call void @ijl_throw(ptr addrspace(12) %22), !dbg !2982 unreachable, !dbg !2982 L19: ; preds = %L15, %L9 br i1 false, label %L34, label %L21, !dbg !2989 L21: ; preds = %L19 %23 = icmp sle i64 1, %"i::Int64", !dbg !2992 %24 = xor i1 %23, true, !dbg !2993 br i1 %24, label %L26, label %L23, !dbg !2993 L23: ; preds = %L21 %25 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 16, !dbg !2996 %.unbox2 = load i64, ptr addrspace(11) %25, align 8, !dbg !2992, !tbaa !199, !alias.scope !252, !noalias !255 %26 = icmp sle i64 %"i::Int64", %.unbox2, !dbg !2992 %27 = zext i1 %26 to i8 br label %L27, !dbg !2992 L26: ; preds = %L21 br label %L27, !dbg !2995 L27: ; preds = %L26, %L23 %value_phi3 = phi i8 [ %27, %L23 ], [ 0, %L26 ] %28 = trunc i8 %value_phi3 to i1, !dbg !2995 %29 = xor i1 %28, true, !dbg !2995 br i1 %29, label %L30, label %L29, !dbg !2995 L29: ; preds = %L27 br label %L33, !dbg !2995 L30: ; preds = %L27 %"-Core.BoundsError#749967" = load ptr, ptr @_Core_BoundsError_74996, align 8, !dbg !2995, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !572, !align !300 %30 = addrspacecast ptr %"-Core.BoundsError#749967" to ptr addrspace(10), !dbg !2995 %"+Core.BoundsError#748208" = load ptr, ptr @_Core_BoundsError_74820, align 8, !dbg !2995, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %31 = addrspacecast ptr %"+Core.BoundsError#748208" to ptr addrspace(10), !dbg !2995 %"+Main.Base.SubString#75190" = load ptr, ptr @_Main_Base_SubString_75190, align 8, !dbg !2995, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %SubString = ptrtoint ptr %"+Main.Base.SubString#75190" to i64, !dbg !2995 %32 = inttoptr i64 %SubString to ptr, !dbg !2995 %current_task = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !2995 %33 = addrspacecast ptr %32 to ptr addrspace(10), !dbg !2995 %"box::SubString" = call noalias nonnull align 8 dereferenceable(24) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task, i64 24, ptr addrspace(10) %33) #227, !dbg !2995 %34 = addrspacecast ptr addrspace(10) %"box::SubString" to ptr addrspace(11), !dbg !2995 %35 = getelementptr inbounds i8, ptr addrspace(11) %34, i32 0, !dbg !2995 store atomic ptr addrspace(10) %2, ptr addrspace(11) %35 unordered, align 8, !dbg !2995, !tbaa !429, !alias.scope !376, !noalias !377 %36 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !2995 %37 = getelementptr inbounds i8, ptr addrspace(11) %34, i32 8, !dbg !2995 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %37, ptr addrspace(11) align 8 %36, i64 16, i1 false), !dbg !2995, !tbaa !301, !alias.scope !1385, !noalias !1386 %box_Int649 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %"i::Int64") #228, !dbg !2995 %38 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %30, ptr addrspace(10) %31, ptr addrspace(10) %"box::SubString", ptr addrspace(10) %box_Int649), !dbg !2995 %39 = addrspacecast ptr addrspace(10) %38 to ptr addrspace(12), !dbg !2995 call void @ijl_throw(ptr addrspace(12) %39), !dbg !2995 unreachable, !dbg !2995 L33: ; preds = %L29 br label %L34, !dbg !2995 L34: ; preds = %L33, %L19 %40 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !2998 %.unbox4 = load i64, ptr addrspace(11) %40, align 8, !dbg !3000, !tbaa !199, !alias.scope !252, !noalias !255 %41 = add i64 %.unbox4, %"i::Int64", !dbg !3000 br i1 false, label %L52, label %L39, !dbg !3001 L39: ; preds = %L34 %42 = icmp sle i64 1, %41, !dbg !3003 %43 = xor i1 %42, true, !dbg !3004 br i1 %43, label %L44, label %L41, !dbg !3004 L41: ; preds = %L39 %sizeof = load i64, ptr addrspace(10) %2, align 8, !dbg !3006, !tbaa !199, !range !584, !alias.scope !252, !noalias !255 %44 = icmp sle i64 %41, %sizeof, !dbg !3003 %45 = zext i1 %44 to i8 br label %L45, !dbg !3003 L44: ; preds = %L39 br label %L45, !dbg !3005 L45: ; preds = %L44, %L41 %value_phi5 = phi i8 [ %45, %L41 ], [ 0, %L44 ] %46 = trunc i8 %value_phi5 to i1, !dbg !3005 %47 = xor i1 %46, true, !dbg !3005 br i1 %47, label %L48, label %L47, !dbg !3005 L47: ; preds = %L45 br label %L51, !dbg !3005 L48: ; preds = %L45 %"-Core.BoundsError#74996" = load ptr, ptr @_Core_BoundsError_74996, align 8, !dbg !3005, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !572, !align !300 %48 = addrspacecast ptr %"-Core.BoundsError#74996" to ptr addrspace(10), !dbg !3005 %"+Core.BoundsError#74820" = load ptr, ptr @_Core_BoundsError_74820, align 8, !dbg !3005, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %49 = addrspacecast ptr %"+Core.BoundsError#74820" to ptr addrspace(10), !dbg !3005 %box_Int64 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %41) #228, !dbg !3005 %50 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %48, ptr addrspace(10) %49, ptr addrspace(10) %2, ptr addrspace(10) %box_Int64), !dbg !3005 %51 = addrspacecast ptr addrspace(10) %50 to ptr addrspace(12), !dbg !3005 call void @ijl_throw(ptr addrspace(12) %51), !dbg !3005 unreachable, !dbg !3005 L51: ; preds = %L47 br label %L52, !dbg !3005 L52: ; preds = %L51, %L34 %52 = call token (...) @llvm.julia.gc_preserve_begin(ptr addrspace(10) %2), !dbg !3008 %53 = addrspacecast ptr addrspace(10) %2 to ptr addrspace(11), !dbg !3009 %54 = call nonnull ptr @julia.pointer_from_objref(ptr addrspace(11) %53) #229, !dbg !3009 %string_ptr = getelementptr inbounds i8, ptr %54, i32 8, !dbg !3009 %55 = getelementptr i8, ptr %string_ptr, i64 %41, !dbg !3014 %56 = getelementptr i8, ptr %55, i64 -1, !dbg !3016 %57 = getelementptr inbounds i8, ptr %56, i64 0, !dbg !3018 %pointerref = load i8, ptr %57, align 1, !dbg !3018, !tbaa !600, !alias.scope !376, !noalias !377 call void @llvm.julia.gc_preserve_end(token %52), !dbg !3008 br label %L60, !dbg !3021 L60: ; preds = %L52 br label %L61, !dbg !2999 L61: ; preds = %L60 %58 = and i8 %pointerref, -64, !dbg !3022 %59 = icmp eq i8 %58, -128, !dbg !3025 %60 = sub i64 %"i::Int64", 1, !dbg !3026 %61 = icmp slt i64 0, %60, !dbg !3028 %62 = and i1 %59, %61, !dbg !3032 %63 = xor i1 %62, true, !dbg !3024 br i1 %63, label %L69, label %L67, !dbg !3024 L67: ; preds = %L61 %64 = getelementptr inbounds i8, ptr %0, i32 0, !dbg !3033 store ptr addrspace(10) %2, ptr %64, align 8, !dbg !3033 %.unbox6 = load i64, ptr addrspace(11) %5, align 8, !dbg !3033, !tbaa !199, !alias.scope !252, !noalias !255 %65 = call i64 @julia__thisind_continued_75577(ptr addrspace(11) nocapture readonly %"s::SubString", ptr nocapture readonly %0, i64 signext %"i::Int64", i64 signext %.unbox6), !dbg !3033 br label %L70, !dbg !3033 L69: ; preds = %L61 br label %L70, !dbg !3024 L70: ; preds = %L69, %L67, %L8, %L3 %value_phi = phi i64 [ 0, %L3 ], [ %"i::Int64", %L8 ], [ %65, %L67 ], [ %"i::Int64", %L69 ] ret i64 %value_phi, !dbg !2972 after_throw: ; No predecessors! call void @llvm.trap(), !dbg !3005 unreachable, !dbg !3005 after_noret: ; No predecessors! call void @llvm.trap(), !dbg !3005 unreachable, !dbg !3005 after_throw10: ; No predecessors! call void @llvm.trap(), !dbg !2995 unreachable, !dbg !2995 after_noret11: ; No predecessors! call void @llvm.trap(), !dbg !2995 unreachable, !dbg !2995 after_throw19: ; No predecessors! call void @llvm.trap(), !dbg !2982 unreachable, !dbg !2982 after_noret20: ; No predecessors! call void @llvm.trap(), !dbg !2982 unreachable, !dbg !2982 } expectLen=2 swiftself=false sret=nothing returnRoots=nothing mi.specTypes.parameters=svec(typeof(thisind), SubString{String}, Int64) retRemoved=false parmsRemoved=UInt64[] Stacktrace: [1] julia_activity_rule(f::LLVM.Function) @ Enzyme.Compiler ~/.julia/packages/Enzyme/rsnI8/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/rsnI8/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/rsnI8/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/rsnI8/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/rsnI8/src/compiler.jl:5960 [8] _thunk @ ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:5958 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/rsnI8/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/rsnI8/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/rsnI8/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/rsnI8/src/Enzyme.jl:1001 [13] macro expansion @ ~/.julia/packages/EnzymeTestUtils/JZTWO/src/test_reverse.jl:109 [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/JZTWO/src/test_reverse.jl:88 [16] test_reverse(::Function, ::Type, ::Tuple{VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, UnionAll}, ::Vararg{Any}) @ EnzymeTestUtils ~/.julia/packages/EnzymeTestUtils/JZTWO/src/test_reverse.jl:70 [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/JZTWO/src/test_reverse.jl:86 Got exception outside of a @test AssertionError: Enzyme Internal Error (expectLen != length(parameters(f))) define internal i64 @julia_thisind_81526(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") #41 !dbg !2967 { 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 !494, !noalias !495 %1 = getelementptr inbounds i8, ptr %.roots.s, i32 0 %2 = load ptr addrspace(10), ptr %1, align 8, !tbaa !199, !alias.scope !252, !noalias !255 %3 = icmp eq i64 %"i::Int64", 0, !dbg !2968 %4 = xor i1 %3, true, !dbg !2970 br i1 %4, label %L4, label %L3, !dbg !2970 L3: ; preds = %top br label %L70, !dbg !2970 L4: ; preds = %top %5 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 16, !dbg !2973 %.unbox = load i64, ptr addrspace(11) %5, align 8, !dbg !2978, !tbaa !199, !alias.scope !252, !noalias !255 %6 = add i64 %.unbox, 1, !dbg !2978 %7 = icmp eq i64 %"i::Int64", %6, !dbg !2981 %8 = xor i1 %7, true, !dbg !2980 br i1 %8, label %L9, label %L8, !dbg !2980 L8: ; preds = %L4 br label %L70, !dbg !2980 L9: ; preds = %L4 br i1 false, label %L19, label %L11, !dbg !2982 L11: ; preds = %L9 %9 = icmp sle i64 1, %"i::Int64", !dbg !2983 %.unbox1 = load i64, ptr addrspace(11) %5, align 8, !dbg !2983, !tbaa !199, !alias.scope !252, !noalias !255 %10 = icmp sle i64 %"i::Int64", %.unbox1, !dbg !2983 %11 = and i1 %9, %10, !dbg !2987 %12 = xor i1 %11, true, !dbg !2982 br i1 %12, label %L16, label %L15, !dbg !2982 L15: ; preds = %L11 br label %L19, !dbg !2982 L16: ; preds = %L11 %"-Core.BoundsError#8094812" = load ptr, ptr @_Core_BoundsError_80948, align 8, !dbg !2982, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !572, !align !300 %13 = addrspacecast ptr %"-Core.BoundsError#8094812" to ptr addrspace(10), !dbg !2982 %"+Core.BoundsError#8077213" = load ptr, ptr @_Core_BoundsError_80772, align 8, !dbg !2982, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %14 = addrspacecast ptr %"+Core.BoundsError#8077213" to ptr addrspace(10), !dbg !2982 %"+Main.Base.SubString#8114214" = load ptr, ptr @_Main_Base_SubString_81142, align 8, !dbg !2982, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %SubString15 = ptrtoint ptr %"+Main.Base.SubString#8114214" to i64, !dbg !2982 %15 = inttoptr i64 %SubString15 to ptr, !dbg !2982 %current_task16 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !2982 %16 = addrspacecast ptr %15 to ptr addrspace(10), !dbg !2982 %"box::SubString17" = call noalias nonnull align 8 dereferenceable(24) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task16, i64 24, ptr addrspace(10) %16) #227, !dbg !2982 %17 = addrspacecast ptr addrspace(10) %"box::SubString17" to ptr addrspace(11), !dbg !2982 %18 = getelementptr inbounds i8, ptr addrspace(11) %17, i32 0, !dbg !2982 store atomic ptr addrspace(10) %2, ptr addrspace(11) %18 unordered, align 8, !dbg !2982, !tbaa !429, !alias.scope !376, !noalias !377 %19 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !2982 %20 = getelementptr inbounds i8, ptr addrspace(11) %17, i32 8, !dbg !2982 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %20, ptr addrspace(11) align 8 %19, i64 16, i1 false), !dbg !2982, !tbaa !301, !alias.scope !1385, !noalias !1386 %box_Int6418 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %"i::Int64") #228, !dbg !2982 %21 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %13, ptr addrspace(10) %14, ptr addrspace(10) %"box::SubString17", ptr addrspace(10) %box_Int6418), !dbg !2982 %22 = addrspacecast ptr addrspace(10) %21 to ptr addrspace(12), !dbg !2982 call void @ijl_throw(ptr addrspace(12) %22), !dbg !2982 unreachable, !dbg !2982 L19: ; preds = %L15, %L9 br i1 false, label %L34, label %L21, !dbg !2989 L21: ; preds = %L19 %23 = icmp sle i64 1, %"i::Int64", !dbg !2992 %24 = xor i1 %23, true, !dbg !2993 br i1 %24, label %L26, label %L23, !dbg !2993 L23: ; preds = %L21 %25 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 16, !dbg !2996 %.unbox2 = load i64, ptr addrspace(11) %25, align 8, !dbg !2992, !tbaa !199, !alias.scope !252, !noalias !255 %26 = icmp sle i64 %"i::Int64", %.unbox2, !dbg !2992 %27 = zext i1 %26 to i8 br label %L27, !dbg !2992 L26: ; preds = %L21 br label %L27, !dbg !2995 L27: ; preds = %L26, %L23 %value_phi3 = phi i8 [ %27, %L23 ], [ 0, %L26 ] %28 = trunc i8 %value_phi3 to i1, !dbg !2995 %29 = xor i1 %28, true, !dbg !2995 br i1 %29, label %L30, label %L29, !dbg !2995 L29: ; preds = %L27 br label %L33, !dbg !2995 L30: ; preds = %L27 %"-Core.BoundsError#809487" = load ptr, ptr @_Core_BoundsError_80948, align 8, !dbg !2995, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !572, !align !300 %30 = addrspacecast ptr %"-Core.BoundsError#809487" to ptr addrspace(10), !dbg !2995 %"+Core.BoundsError#807728" = load ptr, ptr @_Core_BoundsError_80772, align 8, !dbg !2995, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %31 = addrspacecast ptr %"+Core.BoundsError#807728" to ptr addrspace(10), !dbg !2995 %"+Main.Base.SubString#81142" = load ptr, ptr @_Main_Base_SubString_81142, align 8, !dbg !2995, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %SubString = ptrtoint ptr %"+Main.Base.SubString#81142" to i64, !dbg !2995 %32 = inttoptr i64 %SubString to ptr, !dbg !2995 %current_task = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !2995 %33 = addrspacecast ptr %32 to ptr addrspace(10), !dbg !2995 %"box::SubString" = call noalias nonnull align 8 dereferenceable(24) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task, i64 24, ptr addrspace(10) %33) #227, !dbg !2995 %34 = addrspacecast ptr addrspace(10) %"box::SubString" to ptr addrspace(11), !dbg !2995 %35 = getelementptr inbounds i8, ptr addrspace(11) %34, i32 0, !dbg !2995 store atomic ptr addrspace(10) %2, ptr addrspace(11) %35 unordered, align 8, !dbg !2995, !tbaa !429, !alias.scope !376, !noalias !377 %36 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !2995 %37 = getelementptr inbounds i8, ptr addrspace(11) %34, i32 8, !dbg !2995 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %37, ptr addrspace(11) align 8 %36, i64 16, i1 false), !dbg !2995, !tbaa !301, !alias.scope !1385, !noalias !1386 %box_Int649 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %"i::Int64") #228, !dbg !2995 %38 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %30, ptr addrspace(10) %31, ptr addrspace(10) %"box::SubString", ptr addrspace(10) %box_Int649), !dbg !2995 %39 = addrspacecast ptr addrspace(10) %38 to ptr addrspace(12), !dbg !2995 call void @ijl_throw(ptr addrspace(12) %39), !dbg !2995 unreachable, !dbg !2995 L33: ; preds = %L29 br label %L34, !dbg !2995 L34: ; preds = %L33, %L19 %40 = getelementptr inbounds i8, ptr addrspace(11) %"s::SubString", i32 8, !dbg !2998 %.unbox4 = load i64, ptr addrspace(11) %40, align 8, !dbg !3000, !tbaa !199, !alias.scope !252, !noalias !255 %41 = add i64 %.unbox4, %"i::Int64", !dbg !3000 br i1 false, label %L52, label %L39, !dbg !3001 L39: ; preds = %L34 %42 = icmp sle i64 1, %41, !dbg !3003 %43 = xor i1 %42, true, !dbg !3004 br i1 %43, label %L44, label %L41, !dbg !3004 L41: ; preds = %L39 %sizeof = load i64, ptr addrspace(10) %2, align 8, !dbg !3006, !tbaa !199, !range !584, !alias.scope !252, !noalias !255 %44 = icmp sle i64 %41, %sizeof, !dbg !3003 %45 = zext i1 %44 to i8 br label %L45, !dbg !3003 L44: ; preds = %L39 br label %L45, !dbg !3005 L45: ; preds = %L44, %L41 %value_phi5 = phi i8 [ %45, %L41 ], [ 0, %L44 ] %46 = trunc i8 %value_phi5 to i1, !dbg !3005 %47 = xor i1 %46, true, !dbg !3005 br i1 %47, label %L48, label %L47, !dbg !3005 L47: ; preds = %L45 br label %L51, !dbg !3005 L48: ; preds = %L45 %"-Core.BoundsError#80948" = load ptr, ptr @_Core_BoundsError_80948, align 8, !dbg !3005, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !572, !align !300 %48 = addrspacecast ptr %"-Core.BoundsError#80948" to ptr addrspace(10), !dbg !3005 %"+Core.BoundsError#80772" = load ptr, ptr @_Core_BoundsError_80772, align 8, !dbg !3005, !tbaa !199, !alias.scope !252, !noalias !255, !nonnull !0, !dereferenceable !428, !align !314 %49 = addrspacecast ptr %"+Core.BoundsError#80772" to ptr addrspace(10), !dbg !3005 %box_Int64 = call nonnull align 8 dereferenceable(8) ptr addrspace(10) @ijl_box_int64(i64 signext %41) #228, !dbg !3005 %50 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %48, ptr addrspace(10) %49, ptr addrspace(10) %2, ptr addrspace(10) %box_Int64), !dbg !3005 %51 = addrspacecast ptr addrspace(10) %50 to ptr addrspace(12), !dbg !3005 call void @ijl_throw(ptr addrspace(12) %51), !dbg !3005 unreachable, !dbg !3005 L51: ; preds = %L47 br label %L52, !dbg !3005 L52: ; preds = %L51, %L34 %52 = call token (...) @llvm.julia.gc_preserve_begin(ptr addrspace(10) %2), !dbg !3008 %53 = addrspacecast ptr addrspace(10) %2 to ptr addrspace(11), !dbg !3009 %54 = call nonnull ptr @julia.pointer_from_objref(ptr addrspace(11) %53) #229, !dbg !3009 %string_ptr = getelementptr inbounds i8, ptr %54, i32 8, !dbg !3009 %55 = getelementptr i8, ptr %string_ptr, i64 %41, !dbg !3014 %56 = getelementptr i8, ptr %55, i64 -1, !dbg !3016 %57 = getelementptr inbounds i8, ptr %56, i64 0, !dbg !3018 %pointerref = load i8, ptr %57, align 1, !dbg !3018, !tbaa !600, !alias.scope !376, !noalias !377 call void @llvm.julia.gc_preserve_end(token %52), !dbg !3008 br label %L60, !dbg !3021 L60: ; preds = %L52 br label %L61, !dbg !2999 L61: ; preds = %L60 %58 = and i8 %pointerref, -64, !dbg !3022 %59 = icmp eq i8 %58, -128, !dbg !3025 %60 = sub i64 %"i::Int64", 1, !dbg !3026 %61 = icmp slt i64 0, %60, !dbg !3028 %62 = and i1 %59, %61, !dbg !3032 %63 = xor i1 %62, true, !dbg !3024 br i1 %63, label %L69, label %L67, !dbg !3024 L67: ; preds = %L61 %64 = getelementptr inbounds i8, ptr %0, i32 0, !dbg !3033 store ptr addrspace(10) %2, ptr %64, align 8, !dbg !3033 %.unbox6 = load i64, ptr addrspace(11) %5, align 8, !dbg !3033, !tbaa !199, !alias.scope !252, !noalias !255 %65 = call i64 @julia__thisind_continued_81529(ptr addrspace(11) nocapture readonly %"s::SubString", ptr nocapture readonly %0, i64 signext %"i::Int64", i64 signext %.unbox6), !dbg !3033 br label %L70, !dbg !3033 L69: ; preds = %L61 br label %L70, !dbg !3024 L70: ; preds = %L69, %L67, %L8, %L3 %value_phi = phi i64 [ 0, %L3 ], [ %"i::Int64", %L8 ], [ %65, %L67 ], [ %"i::Int64", %L69 ] ret i64 %value_phi, !dbg !2972 after_throw: ; No predecessors! call void @llvm.trap(), !dbg !3005 unreachable, !dbg !3005 after_noret: ; No predecessors! call void @llvm.trap(), !dbg !3005 unreachable, !dbg !3005 after_throw10: ; No predecessors! call void @llvm.trap(), !dbg !2995 unreachable, !dbg !2995 after_noret11: ; No predecessors! call void @llvm.trap(), !dbg !2995 unreachable, !dbg !2995 after_throw19: ; No predecessors! call void @llvm.trap(), !dbg !2982 unreachable, !dbg !2982 after_noret20: ; No predecessors! call void @llvm.trap(), !dbg !2982 unreachable, !dbg !2982 } expectLen=2 swiftself=false sret=nothing returnRoots=nothing mi.specTypes.parameters=svec(typeof(thisind), SubString{String}, Int64) retRemoved=false parmsRemoved=UInt64[] Stacktrace: [1] julia_activity_rule(f::LLVM.Function) @ Enzyme.Compiler ~/.julia/packages/Enzyme/rsnI8/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/rsnI8/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/rsnI8/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/rsnI8/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/rsnI8/src/compiler.jl:5960 [8] _thunk @ ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:5958 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/rsnI8/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/rsnI8/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/rsnI8/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/rsnI8/src/Enzyme.jl:1001 [13] macro expansion @ ~/.julia/packages/EnzymeTestUtils/JZTWO/src/test_reverse.jl:109 [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/JZTWO/src/test_reverse.jl:88 [16] test_reverse(::Function, ::Type, ::Tuple{VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, UnionAll}, ::Vararg{Any}) @ EnzymeTestUtils ~/.julia/packages/EnzymeTestUtils/JZTWO/src/test_reverse.jl:70 [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 14m55.1s utility test | 22 22 1m23.9s CholeskyFactor | 7 7 12.9s Amplitude Likelihood | 34 34 2m24.9s Rice Amplitude Likelihood | 24 24 9.0s Closure Phase | 53 53 43.1s Complex Vis | 12 12 17.1s Coherency Likelihood | 46 46 42.7s Enzyme CholeskyFactor | 2 2 5m46.3s test_reverse: \ with return activity Duplicated on (::VLBILikelihoods.CholeskyFactor{Float64, SparseMatrixCSC{Float64, Int64}, SparseArrays.CHOLMOD.Factor{Float64, Int64}}, Const), (::Vector{Float64}, Duplicated) | 1 1 5m23.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 17.0s RNG of the outermost testset: Random.Xoshiro(0xd4790e45bafa07b8, 0x14bf00d5708a6451, 0x8afd9f03b3d3da4e, 0x90f8a3b669cfa91c, 0xc076a5d5746a17f5) 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 1026.31s 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 1102.84s: package tests unexpectedly errored