Package evaluation to test SpeedyWeather on Julia 1.14.0-DEV.24 (d5fb6bbb43*) started at 2025-11-02T23:12:10.524 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.21s ################################################################################ # Installation # Installing SpeedyWeather... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [9e226e20] + SpeedyWeather v0.17.3 Updating `~/.julia/environments/v1.14/Manifest.toml` [621f4979] + AbstractFFTs v1.5.0 [85c772de] + AbstractNumbers v0.2.5 [79e6a3ab] + Adapt v4.4.0 [66dad0bd] + AliasTables v1.1.3 [4fba245c] + ArrayInterface v7.22.0 [2119f1ac] + AssociatedLegendrePolynomials v1.0.2 [a9b6321e] + Atomix v1.1.2 [de688a37] + BitInformation v0.6.3 [fa961155] + CEnum v0.5.0 [179af706] + CFTime v0.2.4 [d360d2e6] + ChainRulesCore v1.26.0 [0b6fb165] + ChunkCodecCore v1.0.0 [4c0bbee4] + ChunkCodecLibZlib v1.0.0 [55437552] + ChunkCodecLibZstd v1.0.0 [944b1d66] + CodecZlib v0.7.8 [1fbeeb36] + CommonDataModel v0.4.1 [f70d9fcc] + CommonWorldInvalidations v1.0.0 [34da2185] + Compat v4.18.1 [b0b7db55] + ComponentArrays v0.15.30 [b152e2b5] + CompositeTypes v0.1.4 [187b0558] + ConstructionBase v1.6.0 [a8cc5b0e] + Crayons v4.1.1 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.1 [e2d170a0] + DataValueInterfaces v1.0.0 [3c3547ce] + DiskArrays v0.4.18 [31c24e10] + Distributions v0.25.122 [ffbed154] + DocStringExtensions v0.9.5 [5b8099bc] + DomainSets v0.7.16 [7a1cc6ca] + FFTW v1.10.0 [442a2c76] + FastGaussQuadrature v1.1.0 [bf96fef3] + FieldMetadata v0.3.1 [5789e2e9] + FileIO v1.17.1 [1a297f60] + FillArrays v1.14.0 [4c728ea3] + Flatten v0.4.3 [d9f16b24] + Functors v0.5.2 [0c68f7d7] + GPUArrays v11.2.6 [46192b85] + GPUArraysCore v0.2.0 [a8297547] + GenericFFT v0.1.6 [076d061b] + HashArrayMappedTries v0.2.0 [34004b35] + HypergeometricFunctions v0.3.28 [615f187c] + IfElse v0.1.1 [18e54dd8] + IntegerMathUtils v0.1.3 [8197267c] + IntervalSets v0.7.11 [92d709cd] + IrrationalConstants v0.2.6 [82899510] + IteratorInterfaceExtensions v1.0.0 [033835bb] + JLD2 v0.6.2 [692b3bcd] + JLLWrappers v1.7.1 [63c18a36] + KernelAbstractions v0.9.38 [929cbde3] + LLVM v9.4.4 [8ac3fa9e] + LRUCache v1.6.2 [b964fa9f] + LaTeXStrings v1.4.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [ed20b33f] + LowerTriangularArrays v0.1.1 [3da0fdf6] + MPIPreferences v0.1.11 [1914dd2f] + MacroTools v0.5.16 [e1d29d7a] + Missings v1.2.0 [4744a3fa] + ModelParameters v0.4.6 [85f8d34a] + NCDatasets v0.14.9 [6fe1bfb0] + OffsetArrays v1.17.0 [bac558e1] + OrderedCollections v1.8.1 [90014a1f] + PDMats v0.11.36 [aea7be01] + PrecompileTools v1.3.3 [21216c6a] + Preferences v1.5.0 [08abe8d2] + PrettyTables v3.1.0 [27ebfcd6] + Primes v0.5.7 [92933f4c] + ProgressMeter v1.11.0 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [d1845624] + RingGrids v0.1.1 [79098fc4] + Rmath v0.9.0 [431bcebd] + SciMLPublic v1.0.0 [7e506255] + ScopedValues v1.5.0 [efcf1570] + Setfield v1.1.2 [a2af1166] + SortingAlgorithms v1.2.2 [276daf66] + SpecialFunctions v2.6.1 [ed023a3f] + SpeedyTransforms v0.1.1 [9e226e20] + SpeedyWeather v0.17.3 [34489162] + SpeedyWeatherInternals v0.1.2 [aedffcd0] + Static v1.3.1 [0d7ed370] + StaticArrayInterface v1.8.0 [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 [892a3eda] + StringManipulation v0.4.1 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [3bb67fe8] + TranscodingStreams v0.11.3 [013be700] + UnsafeAtomics v0.3.0 [0b7ba130] + Blosc_jll v1.21.7+0 [6e34b625] + Bzip2_jll v1.0.9+0 [f5851436] + FFTW_jll v3.3.11+0 [0234f1f7] + HDF5_jll v1.14.6+0 [e33a78d0] + Hwloc_jll v2.12.2+0 [1d5cc7b8] + IntelOpenMP_jll v2025.2.0+0 [dad2f222] + LLVMExtra_jll v0.0.38+0 [94ce4f54] + Libiconv_jll v1.18.0+0 [5ced341a] + Lz4_jll v1.10.1+0 [856f044c] + MKL_jll v2025.2.0+0 [7cb0a576] + MPICH_jll v4.3.2+0 [f1f71cc9] + MPItrampoline_jll v5.5.4+0 [9237b28f] + MicrosoftMPI_jll v10.1.4+3 [7243133f] + NetCDF_jll v401.900.300+0 [fe0851c0] + OpenMPI_jll v5.0.8+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 ⌅ [02c8fc9c] + XML2_jll v2.13.9+0 [ffd25f8a] + XZ_jll v5.8.1+0 [a65dc6b1] + Xorg_libpciaccess_jll v0.18.1+0 [477f73a3] + libaec_jll v1.1.4+0 [337d8026] + libzip_jll v1.11.3+0 [1317d2d5] + oneTBB_jll v2022.0.0+1 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [4af54fe1] + LazyArtifacts v1.11.0 [b27032c2] + LibCURL 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 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.13.0 [de0858da] + Printf v1.11.0 [3fa0cd96] + REPL 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 [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 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 10.75s ################################################################################ # 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... 2522.8 ms ✓ AbstractNumbers 3452.2 ms ✓ BitInformation 7706.9 ms ✓ GPUArrays → JLD2Ext 7303.7 ms ✓ ComponentArrays → ComponentArraysGPUArraysExt 7954.8 ms ✓ ModelParameters 9339.6 ms ✓ SpeedyWeatherInternals 13098.5 ms ✓ LowerTriangularArrays 18964.0 ms ✓ RingGrids 19015.4 ms ✓ SpeedyTransforms 32788.7 ms ✓ SpeedyWeather 10 dependencies successfully precompiled in 124 seconds. 182 already precompiled. Precompilation completed after 142.23s ################################################################################ # Testing # Testing SpeedyWeather Status `/tmp/jl_emdJT4/Project.toml` [621f4979] AbstractFFTs v1.5.0 [79e6a3ab] Adapt v4.4.0 [052768ef] CUDA v5.9.2 [13f3f980] CairoMakie v0.15.6 [b0b7db55] ComponentArrays v0.15.30 [5b8099bc] DomainSets v0.7.16 [7da242da] Enzyme v0.13.96 [12d8515a] EnzymeTestUtils v0.2.5 [26cc04aa] FiniteDifferences v0.12.33 [db073c08] GeoMakie v0.7.15 ⌃ [27aeb0d3] JLArrays v0.2.0 [033835bb] JLD2 v0.6.2 [63c18a36] KernelAbstractions v0.9.38 [ee78f7c6] Makie v0.24.6 [4744a3fa] ModelParameters v0.4.6 [85f8d34a] NCDatasets v0.14.9 [9e226e20] SpeedyWeather v0.17.3 [10745b16] Statistics v1.11.1 [2913bbd2] StatsBase v0.34.7 [ade2ca70] Dates v1.11.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_emdJT4/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [85c772de] AbstractNumbers v0.2.5 [1520ce14] AbstractTrees v0.4.5 [79e6a3ab] Adapt v4.4.0 [35492f91] AdaptivePredicates v1.2.0 [66dad0bd] AliasTables v1.1.3 [27a7e980] Animations v0.4.2 [4fba245c] ArrayInterface v7.22.0 [2119f1ac] AssociatedLegendrePolynomials v1.0.2 [a9b6321e] Atomix v1.1.2 [67c07d97] Automa v1.1.0 [13072b0f] AxisAlgorithms v1.1.0 [39de3d68] AxisArrays v0.4.8 [ab4f0b2a] BFloat16s v0.6.0 [18cc8868] BaseDirs v1.3.2 [de688a37] BitInformation v0.6.3 [fa961155] CEnum v0.5.0 [179af706] CFTime v0.2.4 [96374032] CRlibm v1.0.2 [052768ef] CUDA v5.9.2 [1af6417a] CUDA_Runtime_Discovery v1.0.0 [159f3aea] Cairo v1.1.1 [13f3f980] CairoMakie v0.15.6 [d360d2e6] ChainRulesCore v1.26.0 [0b6fb165] ChunkCodecCore v1.0.0 [4c0bbee4] ChunkCodecLibZlib v1.0.0 [55437552] ChunkCodecLibZstd v1.0.0 [944b1d66] CodecZlib v0.7.8 [a2cac450] ColorBrewer v0.4.2 [35d6a980] ColorSchemes v3.31.0 [3da002f7] ColorTypes v0.12.1 [c3611d14] ColorVectorSpace v0.11.0 [5ae59095] Colors v0.13.1 [1fbeeb36] CommonDataModel v0.4.1 [f70d9fcc] CommonWorldInvalidations v1.0.0 [34da2185] Compat v4.18.1 [b0b7db55] ComponentArrays v0.15.30 [b152e2b5] CompositeTypes v0.1.4 [95dc2771] ComputePipeline v0.1.4 [187b0558] ConstructionBase v1.6.0 [d38c429a] Contour v0.6.3 [150eb455] CoordinateTransformations v0.6.4 [a8cc5b0e] Crayons v4.1.1 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.8.1 [864edb3b] DataStructures v0.19.1 [e2d170a0] DataValueInterfaces v1.0.0 [927a84f5] DelaunayTriangulation v1.6.4 [3c3547ce] DiskArrays v0.4.18 [31c24e10] Distributions v0.25.122 [ffbed154] DocStringExtensions v0.9.5 [5b8099bc] DomainSets v0.7.16 [4e289a0a] EnumX v1.0.5 [7da242da] Enzyme v0.13.96 [f151be2c] EnzymeCore v0.8.15 [12d8515a] EnzymeTestUtils v0.2.5 [429591f6] ExactPredicates v2.2.9 [e2ba6199] ExprTools v0.1.10 [411431e0] Extents v0.1.6 [7a1cc6ca] FFTW v1.10.0 [442a2c76] FastGaussQuadrature v1.1.0 [bf96fef3] FieldMetadata v0.3.1 [5789e2e9] FileIO v1.17.1 ⌅ [8fc22ac5] FilePaths v0.8.3 [48062228] FilePathsBase v0.9.24 [1a297f60] FillArrays v1.14.0 [26cc04aa] FiniteDifferences v0.12.33 [53c48c17] FixedPointNumbers v0.8.5 [4c728ea3] Flatten v0.4.3 [1fa38f19] Format v1.3.7 [b38be410] FreeType v4.1.1 [663a7486] FreeTypeAbstraction v0.10.8 [d9f16b24] Functors v0.5.2 [0c68f7d7] GPUArrays v11.2.6 [46192b85] GPUArraysCore v0.2.0 [61eb1bfa] GPUCompiler v1.7.2 [096a3bc2] GPUToolbox v1.0.0 [a8297547] GenericFFT v0.1.6 [68eda718] GeoFormatTypes v0.4.4 [cf35fbd7] GeoInterface v1.6.0 [61d90e0f] GeoJSON v0.8.4 [db073c08] GeoMakie v0.7.15 [0ef565a4] Geodesy v1.2.0 [5c1252a2] GeometryBasics v0.5.10 [3251bfac] GeometryOps v0.1.30 [05efe853] GeometryOpsCore v0.1.7 [a2bd30eb] Graphics v1.1.3 [3955a311] GridLayoutBase v0.11.2 [42e2da0e] Grisu v1.0.2 [076d061b] HashArrayMappedTries v0.2.0 [34004b35] HypergeometricFunctions v0.3.28 [615f187c] IfElse v0.1.1 [2803e5a7] ImageAxes v0.6.12 [c817782e] ImageBase v0.1.7 [a09fc81d] ImageCore v0.10.5 [82e4d734] ImageIO v0.6.9 [bc367c6b] ImageMetadata v0.9.10 [9b13fd28] IndirectArrays v1.0.0 [d25df0c9] Inflate v0.1.5 [842dd82b] InlineStrings v1.4.5 [18e54dd8] IntegerMathUtils v0.1.3 [a98d9a8b] Interpolations v0.16.2 [d1acc4aa] IntervalArithmetic v1.0.1 [8197267c] IntervalSets v0.7.11 [3587e190] InverseFunctions v0.1.17 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.6 [f1662d9f] Isoband v0.1.1 [c8e1da08] IterTools v1.10.0 [82899510] IteratorInterfaceExtensions v1.0.0 ⌃ [27aeb0d3] JLArrays v0.2.0 [033835bb] JLD2 v0.6.2 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.2.0 [0f8b85d8] JSON3 v1.14.3 [b835a17e] JpegTurbo v0.1.6 [63c18a36] KernelAbstractions v0.9.38 [5ab0869b] KernelDensity v0.6.10 [929cbde3] LLVM v9.4.4 [8b046642] LLVMLoopInfo v1.0.0 [8ac3fa9e] LRUCache v1.6.2 [b964fa9f] LaTeXStrings v1.4.0 [8cdb02fc] LazyModules v0.3.1 [2ab3a3ac] LogExpFunctions v0.3.29 [ed20b33f] LowerTriangularArrays v0.1.1 [3da0fdf6] MPIPreferences v0.1.11 [1914dd2f] MacroTools v0.5.16 [ee78f7c6] Makie v0.24.6 [dbb5928d] MappedArrays v0.4.2 [0a4f8689] MathTeXEngine v0.6.7 [e1d29d7a] Missings v1.2.0 [4744a3fa] ModelParameters v0.4.6 [e94cdb99] MosaicViews v0.3.4 [85f8d34a] NCDatasets v0.14.9 [5da4648a] NVTX v1.0.1 [77ba4419] NaNMath v1.1.3 [436b0209] NaturalEarth v0.1.0 [f09324ee] Netpbm v1.1.1 [d8793406] ObjectFile v0.5.0 [510215fc] Observables v0.5.5 [6fe1bfb0] OffsetArrays v1.17.0 [52e1d378] OpenEXR v0.3.3 [bac558e1] OrderedCollections v1.8.1 [90014a1f] PDMats v0.11.36 [f57f5aa1] PNGFiles v0.4.4 [19eb6ba3] Packing v0.5.1 [5432bcbf] PaddedViews v0.5.12 [69de0a69] Parsers v2.8.3 [eebad327] PkgVersion v0.3.3 [995b91a9] PlotUtils v1.4.3 [647866c9] PolygonOps v0.1.2 [2dfb63ee] PooledArrays v1.4.3 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.0 [08abe8d2] PrettyTables v3.1.0 [27ebfcd6] Primes v0.5.7 [92933f4c] ProgressMeter v1.11.0 [c94c279d] Proj v1.9.0 [43287f4e] PtrArrays v1.3.0 [4b34888f] QOI v1.0.1 [1fd47b50] QuadGK v2.11.2 [74087812] Random123 v1.7.1 [e6cf234a] RandomNumbers v1.6.0 [b3c3ace0] RangeArrays v0.3.2 [c84ed2f1] Ratios v0.4.5 [189a3867] Reexport v1.2.2 [05181044] RelocatableFolders v1.0.1 [ae029012] Requires v1.3.1 [708f8203] Richardson v1.4.2 [d1845624] RingGrids v0.1.1 [79098fc4] Rmath v0.9.0 [5eaf0fd0] RoundingEmulator v0.2.1 [fdea26ae] SIMD v3.7.2 [431bcebd] SciMLPublic v1.0.0 [7e506255] ScopedValues v1.5.0 [6c6a2e73] Scratch v1.3.0 [91c51154] SentinelArrays v1.4.8 [efcf1570] Setfield v1.1.2 [65257c39] ShaderAbstractions v0.5.0 [992d4aef] Showoff v1.0.3 [73760f76] SignedDistanceFields v0.4.0 [699a6c99] SimpleTraits v0.9.5 [45858cf5] Sixel v0.1.5 [746ee33f] SortTileRecursiveTree v0.1.4 [a2af1166] SortingAlgorithms v1.2.2 [276daf66] SpecialFunctions v2.6.1 [ed023a3f] SpeedyTransforms v0.1.1 [9e226e20] SpeedyWeather v0.17.3 [34489162] SpeedyWeatherInternals v0.1.2 [860ef19b] StableRNGs v1.0.3 [91464d47] StableTasks v0.1.7 [cae243ae] StackViews v0.1.2 [aedffcd0] Static v1.3.1 [0d7ed370] StaticArrayInterface v1.8.0 [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 [892a3eda] StringManipulation v0.4.1 [09ab397b] StructArrays v0.7.2 [53d494c1] StructIO v0.3.1 [856f2bd8] StructTypes v1.11.0 [ec057cc2] StructUtils v2.5.1 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [62fd8b95] TensorCore v0.1.1 [731e570b] TiffImages v0.11.6 [e689c965] Tracy v0.1.6 [3bb67fe8] TranscodingStreams v0.11.3 [981d1d27] TriplotBase v0.1.0 [1cfade01] UnicodeFun v0.4.1 [1986cc42] Unitful v1.25.1 [013be700] UnsafeAtomics v0.3.0 [e3aaa7dc] WebP v0.1.3 [efce3f68] WoodburyMatrices v1.0.0 [0b7ba130] Blosc_jll v1.21.7+0 [6e34b625] Bzip2_jll v1.0.9+0 [4e9b3aee] CRlibm_jll v1.0.1+0 [d1e2174e] CUDA_Compiler_jll v0.3.0+0 [4ee394cb] CUDA_Driver_jll v13.0.2+0 [76a88914] CUDA_Runtime_jll v0.19.2+0 [83423d85] Cairo_jll v1.18.5+0 [5ae413db] EarCut_jll v2.2.4+0 [7cc45869] Enzyme_jll v0.0.207+0 [2e619515] Expat_jll v2.7.3+0 ⌅ [b22a6f82] FFMPEG_jll v6.1.3+0 [f5851436] FFTW_jll v3.3.11+0 [a3f928ae] Fontconfig_jll v2.17.1+0 [d7e528f0] FreeType2_jll v2.13.4+0 [559328eb] FriBidi_jll v1.0.17+0 [b0724c58] GettextRuntime_jll v0.22.4+0 [59f7168a] Giflib_jll v5.2.3+0 [7746bdde] Glib_jll v2.86.0+0 [3b182d85] Graphite2_jll v1.3.15+0 [0234f1f7] HDF5_jll v1.14.6+0 [2e76f6c2] HarfBuzz_jll v8.5.1+0 [e33a78d0] Hwloc_jll v2.12.2+0 [905a6f67] Imath_jll v3.1.11+0 [1d5cc7b8] IntelOpenMP_jll v2025.2.0+0 [aacddb02] JpegTurbo_jll v3.1.3+0 [9c1d0b0a] JuliaNVTXCallbacks_jll v0.2.1+0 [c1c5ebd0] LAME_jll v3.100.3+0 [88015f11] LERC_jll v4.0.1+0 [dad2f222] LLVMExtra_jll v0.0.38+0 [1d63c593] LLVMOpenMP_jll v18.1.8+0 [dd4b983a] LZO_jll v2.10.3+0 [ad6e5548] LibTracyClient_jll v0.9.1+6 [e9f186c6] Libffi_jll v3.4.7+0 [7e76a0d4] Libglvnd_jll v1.7.1+1 [94ce4f54] Libiconv_jll v1.18.0+0 [4b2f31a3] Libmount_jll v2.41.2+0 [89763e89] Libtiff_jll v4.7.2+0 [38a345b3] Libuuid_jll v2.41.2+0 [5ced341a] Lz4_jll v1.10.1+0 [856f044c] MKL_jll v2025.2.0+0 [7cb0a576] MPICH_jll v4.3.2+0 [f1f71cc9] MPItrampoline_jll v5.5.4+0 [9237b28f] MicrosoftMPI_jll v10.1.4+3 [e98f9f5b] NVTX_jll v3.2.2+0 [7243133f] NetCDF_jll v401.900.300+0 [e7412a2a] Ogg_jll v1.3.6+0 [6cdc7f73] OpenBLASConsistentFPCSR_jll v0.3.29+0 [18a262bb] OpenEXR_jll v3.2.4+0 [fe0851c0] OpenMPI_jll v5.0.8+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [91d4177d] Opus_jll v1.5.2+0 [58948b4f] PROJ_jll v902.700.0+0 [36c8627f] Pango_jll v1.56.4+0 ⌅ [30392449] Pixman_jll v0.44.2+0 [f50d1b31] Rmath_jll v0.5.1+0 [76ed43ae] SQLite_jll v3.48.0+0 ⌅ [02c8fc9c] XML2_jll v2.13.9+0 [ffd25f8a] XZ_jll v5.8.1+0 [4f6342f7] Xorg_libX11_jll v1.8.12+0 [0c0b7dd1] Xorg_libXau_jll v1.0.13+0 [a3789734] Xorg_libXdmcp_jll v1.1.6+0 [1082639a] Xorg_libXext_jll v1.3.7+0 [ea2f1a96] Xorg_libXrender_jll v0.9.12+0 [a65dc6b1] Xorg_libpciaccess_jll v0.18.1+0 [c7cfdc94] Xorg_libxcb_jll v1.17.1+0 [c5fb5394] Xorg_xtrans_jll v1.6.0+0 [1e29f10c] demumble_jll v1.3.0+0 [9a68df92] isoband_jll v0.2.3+0 [477f73a3] libaec_jll v1.1.4+0 [a4ae2306] libaom_jll v3.13.1+0 [0ac62f75] libass_jll v0.17.4+0 [f638f0a6] libfdk_aac_jll v2.0.4+0 [b53b4c65] libpng_jll v1.6.50+0 [075b6546] libsixel_jll v1.10.5+0 [f27f6e37] libvorbis_jll v1.3.8+0 [c5f90fcd] libwebp_jll v1.6.0+0 [337d8026] libzip_jll v1.11.3+0 [1317d2d5] oneTBB_jll v2022.0.0+1 [1270edf5] x264_jll v10164.0.1+0 [dfaa095f] x265_jll v4.1.0+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [8bf52ea8] CRC32c v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL 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 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.0.0 [9e88b42a] Serialization v1.11.0 [1a1011a3] SharedArrays 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 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. Testing Running tests... [ Info: Running general test suite Test Summary: | Pass Total Time Increasing/decresing vectors | 4 4 6.2s Test Summary: | Pass Total Time clip negatives | 3 3 2.4s Test Summary: | Pass Total Time flip sign | 3 3 4.5s Test Summary: | Pass Total Time roundup nlon for FFT | 40 40 0.0s Test Summary: | Pass Total Time readable secs feedback | 7 7 1.2s Test Summary: | Pass Total Time nans | 309 309 1.1s Test Summary: | Pass Total Time SpectralGrid | 6 6 0.1s Test Summary: | Pass Total Time SpeedyParam | 8 8 1.7s Test Summary: | Pass Total Time parameters | 17 17 46.8s Test Summary: | Pass Total Time @parameterized | 16 16 5.1s Test Summary: | Pass Total Time Grid types | 41 41 0.0s Test Summary: | Pass Total Time Field types | 41 41 0.1s Test Summary: | Pass Total Time Grid indexing | 360 360 20.8s Test Summary: | Pass Total Time Field generators | 450 450 44.9s Test Summary: | Pass Total Time Field generators: ones | 72 72 5.0s Test Summary: | Pass Total Time Field generators: rand, randn | 72 72 5.2s Test Summary: | Pass Total Time Field generators: undef | 36 36 1.1s Test Summary: | Pass Total Time FullGrids conversions to/from Arrays | 12 12 3.0s Test Summary: | Pass Total Time Grid indices | 1049 1049 2.7s Test Summary: | Pass Total Time Ring indices | 36 36 1.2s Test Summary: | Pass Total Time Ring indices from fields | 9 9 1.6s Test Summary: | Pass Total Time Ring indices from grids | 6 6 0.1s Test Summary: | Pass Total Time Field broadcasting | 212 212 1m34.1s Test Summary: | Pass Total Time N-dimensional indexing | 81 81 4.1s Test Summary: | Pass Total Time Loop indexing | 36 36 30.0s Test Summary: | Pass Total Time AbstractField: GPU (JLArrays) | 56 56 54.4s Test Summary: | Pass Total Time Zonal mean | 330 330 1.9s Test Summary: | Pass Total Time nonparametric types | 8 8 0.0s Test Summary: | Pass Total Time ColumnField types | 4 4 0.0s Test Summary: | Pass Total Time ColumnField constructors | 162 162 2.6s Test Summary: | Pass Total Time ColumnField undef constructors | 90 90 3.0s Test Summary: | Pass Total Time ColumnField indexing | 126 126 5.0s Test Summary: | Pass Total Time ColumnField transpose operations | 40 40 1.1s Test Summary: | Pass Total Time ColumnField similar operations | 36 36 0.8s Test Summary: | Pass Total Time ColumnField broadcasting | 44 44 14.8s Test Summary: | Pass Total Time ColumnField arithmetic with Field | 16 16 4.8s Test Summary: | Pass Total Time ColumnField: GPU (JLArrays) | 24 24 12.7s Test Summary: | Pass Total Time ColumnField type utilities | 5 5 0.0s Test Summary: | Pass Total Time ColumnField error handling | 2 2 0.0s Test Summary: | Pass Total Time Spherical distance on Earth | 8 8 0.2s Test Summary: | Pass Total Time Spherical distance degrees -180:180 or 0:360 | 1 1 0.0s Test Summary: | Pass Total Time Spherical distance invariants | 700 700 0.2s Test Summary: | Pass Total Time Spherical distance with custom radius | 8 8 0.0s Test Summary: | Pass Total Time Spherical distance type stability | 15 15 0.8s Test Summary: | Pass Total Time Haversine: Rounding errors | 1 1 0.1s Test Summary: | Pass Total Time Interpolate constant field | 1200 1200 18.8s Test Summary: | Pass Total Time Interpolate zonally-constant field | 12000 12000 13.7s Test Summary: | Pass Total Time Interpolate meridionally-constant field | 24000 24000 1.6s Test Summary: | Pass Total Time Find latitude rings and weights | 690 690 6.0s Test Summary: | Pass Total Time Interpolate between grids | 14 14 2m34.2s Test Summary: | Pass Total Time 3/4D interpolation interfaces | 2 2 9.6s Test Summary: | Total Time Grid cell average | 0 1m23.2s Test Summary: | Pass Total Time Reverse grids | 756 756 22.8s Test Summary: | Pass Total Time Rotate grids | 648 648 2.7s Test Summary: | Pass Total Time KernelAbstractions tests | 3 3 8.3s Test Summary: | Pass Total Time LowerTriangularMatrix | 4208 4208 5.1s Test Summary: | Pass Total Time LowerTriangularArray: N-dim | 12768 12768 18.9s Test Summary: | Pass Total Time LowerTriangularArray: OneBased vs ZeroBased | 12 12 0.4s Test Summary: | Pass Total Time LowerTriangularMatrix: @inbounds | 12 12 0.3s Test Summary: | Pass Total Time LowerTriangularArray: @inbounds | 18 18 0.4s Test Summary: | Pass Total Time 4D LowerTriangularArray: @inbounds | 8 8 0.3s Test Summary: | Pass Total Time Zeros, ones, rand, and randn constructors | 128 128 14.2s Test Summary: | Pass Total Time LowerTriangularArray: fill, copy, randn, convert, repeat | 13116 13116 8.9s Test Summary: | Pass Total Time LowerTriangularMatrix: fill, copy, randn, convert | 4364 4364 0.7s Test Summary: | Pass Total Time LowerTriangularMatrix: *, +, eachindex, similar | 42 42 5.4s Test Summary: | Pass Total Time LowerTriangularArray: *, +, eachindex, similar | 126 126 24.7s Test Summary: | Pass Total Time LowerTriangularArray: sum | 4 4 0.0s Test Summary: | Pass Total Time LowerTriangularMatrix: copyto! | 15 15 1.1s Test Summary: | Pass Total Time LowerTriangularArray: copyto! | 81 81 27.8s Test Summary: | Pass Total Time LowerTriangularMatrix: broadcast | 9 9 5.3s Test Summary: | Pass Total Time LowerTriangularArray: GPU (JLArrays) | 185 185 16.2s Test Summary: | Pass Total Time LowerTriangularArray: broadcast | 108 108 2m32.4s Test Summary: | Pass Total Time Rotate LowerTriangularArray | 324 324 6.5s Test Summary: | Pass Total Time Reverse LowerTriangularArray | 180 180 2.8s Test Summary: | Pass Total Time Spectrum | 33 33 0.2s Test Summary: | Pass Total Time LTA view | 8 8 0.5s Test Summary: | Pass Total Time FullGaussianGrid: Test grid and spectral resolution match | 36 36 0.7s Test Summary: | Pass Total Time Transform: l=0, m=0 is constant > 0 | 1253856 1253856 1m15.4s Test Summary: | Pass Total Time Transform: Individual Legendre polynomials | 532224 532224 28.0s Test Summary: | Pass Total Time Transform: Singleton dimensions | 4866048 4866048 57.7s Test Summary: | Pass Total Time Transform: Real to real transform | 6336 6336 3.8s Test Summary: | Pass Total Time Transform: NF flexibility spectral inputs | 3168 3168 1.8s Test Summary: | Pass Total Time Transform: NF flexibility for spectral outputs | 560 560 1.5s Test Summary: | Pass Total Time Transform: Individual Legendre polynomials (inexact transforms) | 2492160 2492160 1m03.9s Test Summary: | Pass Total Time Transform: Orography (exact grids) | 139112 139112 36.8s Test Summary: | Pass Total Time Divergence of a non-divergent flow zero? | 1124 1124 1m17.5s Test Summary: | Pass Total Time Curl of an irrotational flow zero? | 1124 1124 7.2s Test Summary: | Pass Total Time Scale, unscale coslat | 20 20 16.9s Test Summary: | Pass Total Time Flipsign in divergence!, curl! | 4 4 9.6s Test Summary: | Pass Total Time Add in divergence!, curl! | 8 8 9.3s Test Summary: | Pass Total Time D, ζ -> u, v -> D, ζ | 4484 4484 1m31.7s Test Summary: | Pass Total Time (Inverse) Laplace operator | 14 14 5.0s Test Summary: | Pass Total Time ∇×∇=0 and ∇⋅∇=∇² | 5600 5600 1m08.1s Test Summary: | Pass Total Time Power spectrum | 36 36 4.2s test_reverse: _fourier! with return activity Const on (::Array{ComplexF32, 3}, Duplicated), (::Array{ComplexF32, 3}, Duplicated), (::Field{Float32, 2, Matrix{Float32}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, Duplicated), (::SpectralTransform{Float32, CPU{KernelAbstractions.CPU}, Array, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, Vector{Float32}, Matrix{Int64}, Vector{ComplexF32}, Matrix{ComplexF32}, Array{ComplexF32, 3}, LowerTriangularMatrix{Float32, Vector{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, LowerTriangularArray{Float32, 2, Matrix{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}}, Const): 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))) ; Function Attrs: noinline noreturn define internal void @julia_throw_boundserror_173347(ptr addrspace(11) nocapture noundef nonnull readonly align 8 dereferenceable(40) %"A::SubArray", ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %.roots.A, ptr addrspace(11) nocapture noundef nonnull readonly align 8 dereferenceable(8) %"I::Tuple") #15 !dbg !306 { top: %pgcstack = call ptr @julia.get_pgcstack() %current_task = getelementptr inbounds i8, ptr %pgcstack, i32 -152 %ptls_field = getelementptr inbounds i8, ptr %current_task, i32 168 %ptls_load = load ptr, ptr %ptls_field, align 8, !tbaa !60 %0 = getelementptr inbounds i8, ptr %ptls_load, i32 16 %safepoint = load atomic ptr, ptr %0 monotonic, align 8, !tbaa !64 fence syncscope("singlethread") seq_cst call void @julia.safepoint(ptr %safepoint) fence syncscope("singlethread") seq_cst %1 = getelementptr inbounds i8, ptr %.roots.A, i32 0 %2 = load ptr addrspace(10), ptr %1, align 8, !tbaa !64, !alias.scope !112, !noalias !115 %"-Core.BoundsError#173345" = load ptr, ptr @_Core_BoundsError_173345, align 8, !dbg !307, !tbaa !64, !alias.scope !112, !noalias !115, !nonnull !0, !dereferenceable !120, !align !121 %3 = addrspacecast ptr %"-Core.BoundsError#173345" to ptr addrspace(10), !dbg !307 %"+Core.BoundsError#173342" = load ptr, ptr @_Core_BoundsError_173342, align 8, !dbg !307, !tbaa !64, !alias.scope !112, !noalias !115, !nonnull !0, !dereferenceable !122, !align !123 %4 = addrspacecast ptr %"+Core.BoundsError#173342" to ptr addrspace(10), !dbg !307 %"+Main.Base.SubArray#173314" = load ptr, ptr @_Main_Base_SubArray_173314, align 8, !dbg !307, !tbaa !64, !alias.scope !112, !noalias !115, !nonnull !0, !dereferenceable !122, !align !123 %SubArray = ptrtoint ptr %"+Main.Base.SubArray#173314" to i64, !dbg !307 %5 = inttoptr i64 %SubArray to ptr, !dbg !307 %current_task1 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !307 %6 = addrspacecast ptr %5 to ptr addrspace(10), !dbg !307 %"box::SubArray" = call noalias nonnull align 8 dereferenceable(40) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task1, i64 40, ptr addrspace(10) %6) #67, !dbg !307 %7 = addrspacecast ptr addrspace(10) %"box::SubArray" to ptr addrspace(11), !dbg !307 %8 = getelementptr inbounds i8, ptr addrspace(11) %7, i32 0, !dbg !307 store atomic ptr addrspace(10) %2, ptr addrspace(11) %8 unordered, align 8, !dbg !307, !tbaa !162, !alias.scope !158, !noalias !159 %9 = getelementptr inbounds i8, ptr addrspace(11) %"A::SubArray", i32 8, !dbg !307 %10 = getelementptr inbounds i8, ptr addrspace(11) %7, i32 8, !dbg !307 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %10, ptr addrspace(11) align 8 %9, i64 32, i1 false), !dbg !307, !tbaa !168, !alias.scope !169, !noalias !170 %"+Core.Tuple#173346" = load ptr, ptr @_Core_Tuple_173346, align 8, !dbg !307, !tbaa !64, !alias.scope !112, !noalias !115, !nonnull !0, !dereferenceable !122, !align !123 %Tuple = ptrtoint ptr %"+Core.Tuple#173346" to i64, !dbg !307 %11 = inttoptr i64 %Tuple to ptr, !dbg !307 %current_task2 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !307 %12 = addrspacecast ptr %11 to ptr addrspace(10), !dbg !307 %"box::Tuple" = call noalias nonnull align 8 dereferenceable(8) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task2, i64 8, ptr addrspace(10) %12) #67, !dbg !307 %13 = addrspacecast ptr addrspace(10) %"box::Tuple" to ptr addrspace(11), !dbg !307 call void @llvm.memcpy.p11.p11.i64(ptr addrspace(11) align 8 %13, ptr addrspace(11) align 8 %"I::Tuple", i64 8, i1 false), !dbg !307, !tbaa !168, !alias.scope !169, !noalias !170 %14 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %3, ptr addrspace(10) %4, ptr addrspace(10) %"box::SubArray", ptr addrspace(10) %"box::Tuple"), !dbg !307 %15 = addrspacecast ptr addrspace(10) %14 to ptr addrspace(12), !dbg !307 call void @ijl_throw(ptr addrspace(12) %15), !dbg !307 unreachable, !dbg !307 after_throw: ; No predecessors! call void @llvm.trap(), !dbg !307 unreachable, !dbg !307 after_noret: ; No predecessors! call void @llvm.trap(), !dbg !307 unreachable, !dbg !307 } expectLen=2 swiftself=false sret=nothing returnRoots=nothing mi.specTypes.parameters=svec(typeof(Base.throw_boundserror), SubArray{ComplexF32, 1, Vector{ComplexF32}, Tuple{UnitRange{Int64}}, true}, Tuple{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{Const}, ::Type{Const{@NamedTuple{}}}, ::Type{Const{typeof(SpeedyTransforms._fourier!)}}, ::Type{Duplicated{Array{ComplexF32, 3}}}, ::Type{Duplicated{Array{ComplexF32, 3}}}, ::Type{Duplicated{Field{Float32, 2, Matrix{Float32}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}}}, ::Type{Const{SpectralTransform{Float32, CPU{KernelAbstractions.CPU}, Array, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, Vector{Float32}, Matrix{Int64}, Vector{ComplexF32}, Matrix{ComplexF32}, Array{ComplexF32, 3}, LowerTriangularMatrix{Float32, Vector{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, LowerTriangularArray{Float32, 2, Matrix{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}}}}) @ 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(SpeedyTransforms._fourier!), ::Type, ::Tuple{Array{ComplexF32, 3}, 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] kwcall(::@NamedTuple{fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, rtol::Float64, atol::Float64}, ::typeof(test_reverse), ::Function, ::Type, ::Tuple{Array{ComplexF32, 3}, UnionAll}, ::Vararg{Any}) @ EnzymeTestUtils ~/.julia/packages/EnzymeTestUtils/JZTWO/src/test_reverse.jl:70 [17] macro expansion @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:47 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [19] macro expansion @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:34 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [21] macro expansion @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:33 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [23] top-level scope @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:32 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [25] top-level scope @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/runtests.jl:41 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [30] _start() @ Base ./client.jl:577 test_reverse: _fourier! with return activity Const on (::Field{Float32, 2, Matrix{Float32}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, Duplicated), (::Array{ComplexF32, 3}, Duplicated), (::Array{ComplexF32, 3}, Duplicated), (::SpectralTransform{Float32, CPU{KernelAbstractions.CPU}, Array, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, Vector{Float32}, Matrix{Int64}, Vector{ComplexF32}, Matrix{ComplexF32}, Array{ComplexF32, 3}, LowerTriangularMatrix{Float32, Vector{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, LowerTriangularArray{Float32, 2, Matrix{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}}, Const): 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 nonnull ptr addrspace(10) @julia_copyto__175547(ptr addrspace(10) noundef nonnull align 8 dereferenceable(24) %"dest::Array", ptr addrspace(11) nocapture noundef nonnull readonly align 8 dereferenceable(40) %"src::SubArray", ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %.roots.src) #16 !dbg !402 { top: %"dest::Array.size" = alloca i64, align 8 %sret_box = alloca [5 x i64], align 8 %0 = alloca ptr addrspace(10), align 8 %1 = alloca ptr addrspace(10), align 8 %2 = alloca [5 x i64], align 8 %3 = alloca [5 x i64], align 8 %"dest::Array.size9" = alloca i64, align 8 %"new::LinearIndices" = alloca [1 x [1 x [1 x i64]]], align 8 %"new::Tuple" = alloca [1 x i64], align 8 %root_phi.size = alloca i64, align 8 %"dest::Array.size29" = alloca i64, align 8 %"new::Tuple60" = alloca [1 x i64], align 8 %"new::Tuple61" = alloca [1 x i64], align 8 %4 = alloca ptr addrspace(10), align 8 %pgcstack = call ptr @julia.get_pgcstack() call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 8, i1 false), !tbaa !52, !alias.scope !403, !noalias !404 call void @llvm.memset.p0.i64(ptr align 8 %1, i8 0, i64 8, i1 false), !tbaa !52, !alias.scope !403, !noalias !404 call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 8, i1 false), !tbaa !52, !alias.scope !403, !noalias !404 %current_task = getelementptr inbounds i8, ptr %pgcstack, i32 -152 %ptls_field = getelementptr inbounds i8, ptr %current_task, i32 168 %ptls_load = load ptr, ptr %ptls_field, align 8, !tbaa !52 %5 = getelementptr inbounds i8, ptr %ptls_load, i32 16 %safepoint = load atomic ptr, ptr %5 monotonic, align 8, !tbaa !56 fence syncscope("singlethread") seq_cst call void @julia.safepoint(ptr %safepoint) fence syncscope("singlethread") seq_cst %6 = getelementptr inbounds i8, ptr %.roots.src, i32 0 %7 = load ptr addrspace(10), ptr %6, align 8, !tbaa !56, !alias.scope !65, !noalias !68 %8 = getelementptr inbounds i8, ptr addrspace(11) %"src::SubArray", i32 8, !dbg !405 %.stop_ptr = getelementptr inbounds i8, ptr addrspace(11) %8, i32 8, !dbg !418 %.stop_ptr.unbox = load i64, ptr addrspace(11) %.stop_ptr, align 8, !dbg !429, !tbaa !56, !alias.scope !65, !noalias !68 %.unbox = load i64, ptr addrspace(11) %8, align 8, !dbg !429, !tbaa !56, !alias.scope !65, !noalias !68 %9 = sub i64 %.stop_ptr.unbox, %.unbox, !dbg !429 %10 = add i64 1, %9, !dbg !432 %11 = icmp eq i64 %10, 0, !dbg !434 %12 = xor i1 %11, true, !dbg !417 br i1 %12, label %L10, label %L9, !dbg !417 L9: ; preds = %top ret ptr addrspace(10) %"dest::Array", !dbg !417 L10: ; preds = %top %13 = addrspacecast ptr addrspace(10) %"dest::Array" to ptr addrspace(11), !dbg !436 %"dest::Array.size_ptr" = getelementptr inbounds i8, ptr addrspace(11) %13, i32 16, !dbg !436 call void @llvm.memcpy.p0.p11.i64(ptr align 8 %"dest::Array.size", ptr addrspace(11) align 8 %"dest::Array.size_ptr", i64 8, i1 false), !dbg !436, !tbaa !77, !alias.scope !336, !noalias !337 %"dest::Array.size.unbox" = load i64, ptr %"dest::Array.size", align 8, !dbg !445, !tbaa !338, !alias.scope !340, !noalias !341 %14 = icmp eq i64 %"dest::Array.size.unbox", 0, !dbg !445 %15 = xor i1 %14, true, !dbg !446 %16 = xor i1 %15, true, !dbg !440 br i1 %16, label %L39, label %L16, !dbg !440 L16: ; preds = %L10 %17 = getelementptr inbounds i8, ptr addrspace(11) %"src::SubArray", i32 8, !dbg !448 %.stop_ptr1 = getelementptr inbounds i8, ptr addrspace(11) %17, i32 8, !dbg !451 %.stop_ptr1.unbox = load i64, ptr addrspace(11) %.stop_ptr1, align 8, !dbg !457, !tbaa !56, !alias.scope !65, !noalias !68 %.unbox2 = load i64, ptr addrspace(11) %17, align 8, !dbg !457, !tbaa !56, !alias.scope !65, !noalias !68 %18 = sub i64 %.stop_ptr1.unbox, %.unbox2, !dbg !457 %19 = add i64 1, %18, !dbg !459 %20 = icmp eq i64 %19, 0, !dbg !445 %21 = xor i1 %20, true, !dbg !446 %22 = xor i1 %21, true, !dbg !440 br i1 %22, label %L38, label %L25, !dbg !440 L25: ; preds = %L16 %23 = addrspacecast ptr addrspace(10) %"dest::Array" to ptr addrspace(11), !dbg !460 %24 = getelementptr inbounds nuw { ptr, ptr addrspace(10) }, ptr addrspace(11) %23, i32 0, i32 0, !dbg !460 %25 = load ptr, ptr addrspace(11) %24, align 8, !dbg !460, !tbaa !343, !alias.scope !147, !noalias !148 %26 = getelementptr inbounds nuw { ptr, ptr addrspace(10) }, ptr addrspace(11) %23, i32 0, i32 1, !dbg !460 %27 = load ptr addrspace(10), ptr addrspace(11) %26, align 8, !dbg !460, !tbaa !343, !alias.scope !147, !noalias !148, !dereferenceable_or_null !76, !align !74 %28 = insertvalue { ptr, ptr addrspace(10) } zeroinitializer, ptr %25, 0, !dbg !460 %"dest::Array.ref" = insertvalue { ptr, ptr addrspace(10) } %28, ptr addrspace(10) %27, 1, !dbg !460 %"dest::Array.ref.mem" = extractvalue { ptr, ptr addrspace(10) } %"dest::Array.ref", 1, !dbg !460 %29 = addrspacecast ptr addrspace(10) %"dest::Array.ref.mem" to ptr addrspace(11), !dbg !463 %"dest::Array.ref.mem.ptr_ptr" = getelementptr inbounds i8, ptr addrspace(11) %29, i32 8, !dbg !463 %bitcast = load ptr, ptr addrspace(11) %"dest::Array.ref.mem.ptr_ptr", align 8, !dbg !465, !tbaa !144, !alias.scope !147, !noalias !148 %bitcast_coercion = ptrtoint ptr %bitcast to i64, !dbg !465 %30 = addrspacecast ptr addrspace(10) %7 to ptr addrspace(11), !dbg !467 %31 = getelementptr inbounds nuw { ptr, ptr addrspace(10) }, ptr addrspace(11) %30, i32 0, i32 0, !dbg !467 %32 = load ptr, ptr addrspace(11) %31, align 8, !dbg !467, !tbaa !343, !alias.scope !147, !noalias !148 %33 = getelementptr inbounds nuw { ptr, ptr addrspace(10) }, ptr addrspace(11) %30, i32 0, i32 1, !dbg !467 %34 = load ptr addrspace(10), ptr addrspace(11) %33, align 8, !dbg !467, !tbaa !343, !alias.scope !147, !noalias !148, !dereferenceable_or_null !76, !align !74 %35 = insertvalue { ptr, ptr addrspace(10) } zeroinitializer, ptr %32, 0, !dbg !467 %.ref = insertvalue { ptr, ptr addrspace(10) } %35, ptr addrspace(10) %34, 1, !dbg !467 %.ref.mem = extractvalue { ptr, ptr addrspace(10) } %.ref, 1, !dbg !467 %36 = addrspacecast ptr addrspace(10) %.ref.mem to ptr addrspace(11), !dbg !471 %.ref.mem.ptr_ptr = getelementptr inbounds i8, ptr addrspace(11) %36, i32 8, !dbg !471 %bitcast3 = load ptr, ptr addrspace(11) %.ref.mem.ptr_ptr, align 8, !dbg !473, !tbaa !144, !alias.scope !147, !noalias !148 %bitcast_coercion4 = ptrtoint ptr %bitcast3 to i64, !dbg !473 %37 = icmp eq i64 %bitcast_coercion, %bitcast_coercion4, !dbg !474 %38 = xor i1 %37, true, !dbg !479 %39 = xor i1 %38, true, !dbg !446 %40 = zext i1 %39 to i8 br label %L40, !dbg !446 L38: ; preds = %L16 br label %L40, !dbg !480 L39: ; preds = %L10 br label %L40, !dbg !480 L40: ; preds = %L39, %L38, %L25 %value_phi = phi i8 [ %40, %L25 ], [ 0, %L38 ], [ 0, %L39 ] %41 = trunc i8 %value_phi to i1, !dbg !442 %42 = xor i1 %41, true, !dbg !442 br i1 %42, label %L44, label %L42, !dbg !442 L42: ; preds = %L40 %43 = getelementptr inbounds i8, ptr %1, i32 0, !dbg !442 store ptr addrspace(10) %7, ptr %43, align 8, !dbg !442 call void @julia_unaliascopy_175554(ptr noalias nocapture noundef sret({ ptr addrspace(10), [1 x [2 x i64]], i64, i64 }) %sret_box, ptr noalias nocapture noundef "enzymejl_returnRoots" %0, ptr addrspace(11) nocapture readonly %"src::SubArray", ptr nocapture readonly %1), !dbg !442 %44 = getelementptr inbounds i8, ptr %0, i32 0, !dbg !442 %45 = load ptr addrspace(10), ptr %44, align 8, !dbg !442, !tbaa !52, !alias.scope !403, !noalias !404 call void @llvm.lifetime.start.p0(i64 -1, ptr %3), !dbg !483 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %sret_box, i64 40, i1 false), !dbg !483, !tbaa !77, !alias.scope !484, !noalias !485 br label %L45, !dbg !442 L44: ; preds = %L40 call void @llvm.lifetime.start.p0(i64 -1, ptr %3), !dbg !483 call void @llvm.memcpy.p0.p11.i64(ptr align 8 %3, ptr addrspace(11) align 8 %"src::SubArray", i64 40, i1 false), !dbg !483, !tbaa !77, !alias.scope !486, !noalias !487 br label %L45, !dbg !480 L45: ; preds = %L44, %L42 %root_phi = phi ptr addrspace(10) [ %45, %L42 ], [ %7, %L44 ] call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 %3, i64 40, i1 false), !dbg !444 call void @llvm.lifetime.end.p0(i64 -1, ptr %3), !dbg !444 %46 = getelementptr inbounds i8, ptr %2, i32 8, !dbg !488 %.stop_ptr5 = getelementptr inbounds i8, ptr %46, i32 8, !dbg !494 %.stop_ptr5.unbox = load i64, ptr %.stop_ptr5, align 8, !dbg !500, !tbaa !338, !alias.scope !340, !noalias !341 %.unbox6 = load i64, ptr %46, align 8, !dbg !500, !tbaa !338, !alias.scope !340, !noalias !341 %47 = sub i64 %.stop_ptr5.unbox, %.unbox6, !dbg !500 %48 = add i64 1, %47, !dbg !502 %49 = icmp eq i64 %48, 0, !dbg !503 %50 = xor i1 %49, true, !dbg !493 br i1 %50, label %L55, label %L54, !dbg !493 L54: ; preds = %L45 br label %L163, !dbg !493 L55: ; preds = %L45 %51 = addrspacecast ptr addrspace(10) %"dest::Array" to ptr addrspace(11), !dbg !504 %"dest::Array.size_ptr8" = getelementptr inbounds i8, ptr addrspace(11) %51, i32 16, !dbg !504 call void @llvm.memcpy.p0.p11.i64(ptr align 8 %"dest::Array.size9", ptr addrspace(11) align 8 %"dest::Array.size_ptr8", i64 8, i1 false), !dbg !504, !tbaa !77, !alias.scope !336, !noalias !337 %52 = getelementptr inbounds i8, ptr %2, i32 8, !dbg !510 %.stop_ptr10 = getelementptr inbounds i8, ptr %52, i32 8, !dbg !512 %.stop_ptr10.unbox = load i64, ptr %.stop_ptr10, align 8, !dbg !518, !tbaa !338, !alias.scope !340, !noalias !341 %.unbox11 = load i64, ptr %52, align 8, !dbg !518, !tbaa !338, !alias.scope !340, !noalias !341 %53 = sub i64 %.stop_ptr10.unbox, %.unbox11, !dbg !518 %54 = add i64 1, %53, !dbg !520 %55 = getelementptr inbounds i8, ptr %"new::LinearIndices", i32 0, !dbg !521 %56 = getelementptr inbounds i8, ptr %55, i32 0, !dbg !521 %57 = getelementptr inbounds i8, ptr %56, i32 0, !dbg !521 store i64 %54, ptr %57, align 8, !dbg !521, !tbaa !338, !alias.scope !340, !noalias !341 %bitcast12 = load i64, ptr %"dest::Array.size9", align 8, !dbg !525, !tbaa !338, !alias.scope !340, !noalias !341 %58 = icmp ult i64 0, %bitcast12, !dbg !533 %59 = add i64 %54, 0, !dbg !535 %60 = sub i64 %59, 1, !dbg !536 %bitcast13 = load i64, ptr %"dest::Array.size9", align 8, !dbg !525, !tbaa !338, !alias.scope !340, !noalias !341 %61 = icmp ult i64 %60, %bitcast13, !dbg !533 %62 = and i1 %58, %61, !dbg !537 %63 = xor i1 %62, true, !dbg !480 br i1 %63, label %L160, label %L76, !dbg !480 L76: ; preds = %L55 %64 = icmp slt i64 %54, 1, !dbg !539 %65 = xor i1 %64, true, !dbg !544 br i1 %65, label %L79, label %L78, !dbg !544 L78: ; preds = %L76 br label %L80, !dbg !544 L79: ; preds = %L76 br label %L80, !dbg !544 L80: ; preds = %L79, %L78 %value_phi14 = phi i8 [ 1, %L78 ], [ 0, %L79 ] %value_phi15 = phi i64 [ 1, %L79 ], [ undef, %L78 ] %value_phi16 = phi i64 [ 1, %L79 ], [ undef, %L78 ] br label %L84, !dbg !546 L84: ; preds = %L80 %66 = trunc i8 %value_phi14 to i1, !dbg !548 %67 = xor i1 %66, true, !dbg !548 %68 = xor i1 %67, true, !dbg !548 br i1 %68, label %L159, label %L84.L86_crit_edge, !dbg !548 L84.L86_crit_edge: ; preds = %L84 br label %L86, !dbg !544 L86: ; preds = %L84.L86_crit_edge, %L158 %value_phi17 = phi i64 [ %value_phi15, %L84.L86_crit_edge ], [ %value_phi57, %L158 ] %value_phi18 = phi i64 [ %value_phi16, %L84.L86_crit_edge ], [ %value_phi58, %L158 ] br i1 false, label %L106, label %L90, !dbg !549 L90: ; preds = %L86 %69 = getelementptr inbounds i8, ptr %"new::Tuple", i32 0, !dbg !549 store i64 %value_phi17, ptr %69, align 8, !dbg !549, !tbaa !338, !alias.scope !340, !noalias !341 %70 = getelementptr inbounds i8, ptr %2, i32 8, !dbg !552 %.stop_ptr19 = getelementptr inbounds i8, ptr %70, i32 8, !dbg !559 %.stop_ptr19.unbox = load i64, ptr %.stop_ptr19, align 8, !dbg !568, !tbaa !338, !alias.scope !340, !noalias !341 %.unbox20 = load i64, ptr %70, align 8, !dbg !568, !tbaa !338, !alias.scope !340, !noalias !341 %71 = sub i64 %.stop_ptr19.unbox, %.unbox20, !dbg !568 %72 = add i64 1, %71, !dbg !570 %73 = sub i64 %value_phi17, 1, !dbg !571 %74 = icmp ult i64 %73, %72, !dbg !573 %75 = xor i1 %74, true, !dbg !558 br i1 %75, label %L103, label %L102, !dbg !558 L102: ; preds = %L90 br label %L105, !dbg !558 L103: ; preds = %L90 %76 = getelementptr inbounds i8, ptr %4, i32 0, !dbg !558 store ptr addrspace(10) %root_phi, ptr %76, align 8, !dbg !558 %77 = addrspacecast ptr %2 to ptr addrspace(11), !dbg !558 %78 = addrspacecast ptr %"new::Tuple" to ptr addrspace(11), !dbg !558 call void @julia_throw_boundserror_175533(ptr addrspace(11) nocapture readonly %77, ptr nocapture readonly %4, ptr addrspace(11) nocapture readonly %78) #58, !dbg !558 call void @ijl_error(ptr @_j_str__INTERNAL_ERROR___IR_Vali____1_2), !dbg !558 unreachable, !dbg !558 L105: ; preds = %L102 br label %L106, !dbg !558 L106: ; preds = %L105, %L86 %79 = getelementptr inbounds i8, ptr %2, i32 24, !dbg !574 %.unbox21 = load i64, ptr %79, align 8, !dbg !578, !tbaa !338, !alias.scope !340, !noalias !341 %80 = add i64 %.unbox21, %value_phi17, !dbg !578 br i1 false, label %L123, label %L111, !dbg !579 L111: ; preds = %L106 %81 = sub i64 %80, 1, !dbg !581 %82 = addrspacecast ptr addrspace(10) %root_phi to ptr addrspace(11), !dbg !584 %root_phi.size_ptr = getelementptr inbounds i8, ptr addrspace(11) %82, i32 16, !dbg !584 call void @llvm.memcpy.p0.p11.i64(ptr align 8 %root_phi.size, ptr addrspace(11) align 8 %root_phi.size_ptr, i64 8, i1 false), !dbg !584, !tbaa !77, !alias.scope !336, !noalias !337 %bitcast22 = load i64, ptr %root_phi.size, align 8, !dbg !581, !tbaa !338, !alias.scope !340, !noalias !341 %83 = icmp ult i64 %81, %bitcast22, !dbg !581 %84 = xor i1 %83, true, !dbg !583 br i1 %84, label %L119, label %L118, !dbg !583 L118: ; preds = %L111 br label %L122, !dbg !583 L119: ; preds = %L111 %85 = getelementptr inbounds i8, ptr %"new::Tuple61", i32 0, !dbg !583 store i64 %80, ptr %85, align 8, !dbg !583, !tbaa !338, !alias.scope !340, !noalias !341 %86 = addrspacecast ptr %"new::Tuple61" to ptr addrspace(11), !dbg !583 call void @julia_throw_boundserror_175531(ptr addrspace(10) %root_phi, ptr addrspace(11) nocapture readonly %86) #58, !dbg !583 call void @ijl_error(ptr @_j_str__INTERNAL_ERROR___IR_Vali____1_2), !dbg !583 unreachable, !dbg !583 L122: ; preds = %L118 br label %L123, !dbg !583 L123: ; preds = %L122, %L106 %87 = addrspacecast ptr addrspace(10) %root_phi to ptr addrspace(11), !dbg !586 %88 = getelementptr inbounds nuw { ptr, ptr addrspace(10) }, ptr addrspace(11) %87, i32 0, i32 0, !dbg !586 %memoryref_data = load ptr, ptr addrspace(11) %88, align 8, !dbg !586, !tbaa !343, !alias.scope !147, !noalias !148 %89 = getelementptr inbounds nuw { ptr, ptr addrspace(10) }, ptr addrspace(11) %87, i32 0, i32 1, !dbg !586 %memoryref_mem = load ptr addrspace(10), ptr addrspace(11) %89, align 8, !dbg !586, !tbaa !343, !alias.scope !147, !noalias !148, !dereferenceable_or_null !76, !align !74 %90 = insertvalue { ptr, ptr addrspace(10) } zeroinitializer, ptr %memoryref_data, 0, !dbg !586 %root_phi.ref = insertvalue { ptr, ptr addrspace(10) } %90, ptr addrspace(10) %memoryref_mem, 1, !dbg !586 %memoryref_offset = sub i64 %80, 1, !dbg !586 %91 = addrspacecast ptr addrspace(10) %memoryref_mem to ptr addrspace(11), !dbg !586 %92 = getelementptr inbounds nuw { i64, ptr }, ptr addrspace(11) %91, i32 0, i32 0, !dbg !586 %memory_len = load i64, ptr addrspace(11) %92, align 8, !dbg !586, !tbaa !149, !range !587, !alias.scope !147, !noalias !148 %93 = add nuw i64 %memory_len, %memory_len, !dbg !586 %94 = add i64 %memoryref_offset, %memory_len, !dbg !586 %memoryref_ovflw = icmp uge i64 %94, %93, !dbg !586 %memoryref_byteoffset = mul i64 %memoryref_offset, 4, !dbg !586 %memoryref_data_byteoffset = getelementptr i8, ptr %memoryref_data, i64 %memoryref_byteoffset, !dbg !586 %95 = addrspacecast ptr addrspace(10) %memoryref_mem to ptr addrspace(11), !dbg !586 %96 = getelementptr inbounds nuw { i64, ptr }, ptr addrspace(11) %95, i32 0, i32 0, !dbg !586 %memory_len23 = load i64, ptr addrspace(11) %96, align 8, !dbg !586, !tbaa !149, !range !587, !alias.scope !147, !noalias !148 %97 = addrspacecast ptr addrspace(10) %memoryref_mem to ptr addrspace(11), !dbg !586 %memory_data_ptr = getelementptr inbounds nuw { i64, ptr }, ptr addrspace(11) %97, i32 0, i32 1, !dbg !586 %memory_data = load ptr, ptr addrspace(11) %memory_data_ptr, align 8, !dbg !586, !tbaa !144, !alias.scope !147, !noalias !148, !nonnull !0 %98 = ptrtoint ptr %memory_data to i64, !dbg !586 %99 = ptrtoint ptr %memoryref_data_byteoffset to i64, !dbg !586 %100 = sub i64 %99, %98, !dbg !586 %memoryref_bytelen = mul nuw nsw i64 %memory_len23, 4, !dbg !586 %memoryref_isinbounds = icmp ult i64 %100, %memoryref_bytelen, !dbg !586 %101 = xor i1 %memoryref_ovflw, true, !dbg !586 %"memoryref_isinbounds¬ovflw" = and i1 %101, %memoryref_isinbounds, !dbg !586 br i1 %"memoryref_isinbounds¬ovflw", label %idxend, label %oob, !dbg !586 L127: ; preds = %load br label %L128, !dbg !586 L128: ; preds = %L127 %102 = add i64 %value_phi17, 0, !dbg !588 br i1 false, label %L142, label %L131, !dbg !589 L131: ; preds = %L128 %103 = sub i64 %102, 1, !dbg !594 %104 = addrspacecast ptr addrspace(10) %"dest::Array" to ptr addrspace(11), !dbg !595 %"dest::Array.size_ptr28" = getelementptr inbounds i8, ptr addrspace(11) %104, i32 16, !dbg !595 call void @llvm.memcpy.p0.p11.i64(ptr align 8 %"dest::Array.size29", ptr addrspace(11) align 8 %"dest::Array.size_ptr28", i64 8, i1 false), !dbg !595, !tbaa !77, !alias.scope !336, !noalias !337 %bitcast30 = load i64, ptr %"dest::Array.size29", align 8, !dbg !594, !tbaa !338, !alias.scope !340, !noalias !341 %105 = icmp ult i64 %103, %bitcast30, !dbg !594 %106 = xor i1 %105, true, !dbg !589 br i1 %106, label %L139, label %L138, !dbg !589 L138: ; preds = %L131 br label %L142, !dbg !589 L139: ; preds = %L131 %107 = getelementptr inbounds i8, ptr %"new::Tuple60", i32 0, !dbg !589 store i64 %102, ptr %107, align 8, !dbg !589, !tbaa !338, !alias.scope !340, !noalias !341 %108 = addrspacecast ptr %"new::Tuple60" to ptr addrspace(11), !dbg !589 call void @julia_throw_boundserror_175531(ptr addrspace(10) %"dest::Array", ptr addrspace(11) nocapture readonly %108) #58, !dbg !589 call void @ijl_error(ptr @_j_str__INTERNAL_ERROR___IR_Vali____1_2), !dbg !589 unreachable, !dbg !589 L142: ; preds = %L138, %L128 %109 = addrspacecast ptr addrspace(10) %"dest::Array" to ptr addrspace(11), !dbg !597 %110 = getelementptr inbounds nuw { ptr, ptr addrspace(10) }, ptr addrspace(11) %109, i32 0, i32 0, !dbg !597 %memoryref_data32 = load ptr, ptr addrspace(11) %110, align 8, !dbg !597, !tbaa !343, !alias.scope !147, !noalias !148 %111 = getelementptr inbounds nuw { ptr, ptr addrspace(10) }, ptr addrspace(11) %109, i32 0, i32 1, !dbg !597 %memoryref_mem52 = load ptr addrspace(10), ptr addrspace(11) %111, align 8, !dbg !597, !tbaa !343, !alias.scope !147, !noalias !148, !dereferenceable_or_null !76, !align !74 %112 = insertvalue { ptr, ptr addrspace(10) } zeroinitializer, ptr %memoryref_data32, 0, !dbg !597 %"dest::Array.ref31" = insertvalue { ptr, ptr addrspace(10) } %112, ptr addrspace(10) %memoryref_mem52, 1, !dbg !597 %memoryref_offset34 = sub i64 %102, 1, !dbg !598 %113 = addrspacecast ptr addrspace(10) %memoryref_mem52 to ptr addrspace(11), !dbg !598 %114 = getelementptr inbounds nuw { i64, ptr }, ptr addrspace(11) %113, i32 0, i32 0, !dbg !598 %memory_len35 = load i64, ptr addrspace(11) %114, align 8, !dbg !598, !tbaa !149, !range !587, !alias.scope !147, !noalias !148 %115 = add nuw i64 %memory_len35, %memory_len35, !dbg !598 %116 = add i64 %memoryref_offset34, %memory_len35, !dbg !598 %memoryref_ovflw36 = icmp uge i64 %116, %115, !dbg !598 %memoryref_byteoffset37 = mul i64 %memoryref_offset34, 4, !dbg !598 %memoryref_data_byteoffset38 = getelementptr i8, ptr %memoryref_data32, i64 %memoryref_byteoffset37, !dbg !598 %117 = addrspacecast ptr addrspace(10) %memoryref_mem52 to ptr addrspace(11), !dbg !598 %118 = getelementptr inbounds nuw { i64, ptr }, ptr addrspace(11) %117, i32 0, i32 0, !dbg !598 %memory_len39 = load i64, ptr addrspace(11) %118, align 8, !dbg !598, !tbaa !149, !range !587, !alias.scope !147, !noalias !148 %119 = addrspacecast ptr addrspace(10) %memoryref_mem52 to ptr addrspace(11), !dbg !598 %memory_data_ptr40 = getelementptr inbounds nuw { i64, ptr }, ptr addrspace(11) %119, i32 0, i32 1, !dbg !598 %memory_data41 = load ptr, ptr addrspace(11) %memory_data_ptr40, align 8, !dbg !598, !tbaa !144, !alias.scope !147, !noalias !148, !nonnull !0 %120 = ptrtoint ptr %memory_data41 to i64, !dbg !598 %121 = ptrtoint ptr %memoryref_data_byteoffset38 to i64, !dbg !598 %122 = sub i64 %121, %120, !dbg !598 %memoryref_bytelen42 = mul nuw nsw i64 %memory_len39, 4, !dbg !598 %memoryref_isinbounds43 = icmp ult i64 %122, %memoryref_bytelen42, !dbg !598 %123 = xor i1 %memoryref_ovflw36, true, !dbg !598 %"memoryref_isinbounds¬ovflw44" = and i1 %123, %memoryref_isinbounds43, !dbg !598 br i1 %"memoryref_isinbounds¬ovflw44", label %idxend50, label %oob45, !dbg !598 L146: ; preds = %load55 br label %L147, !dbg !592 L147: ; preds = %L146 %124 = icmp eq i64 %value_phi18, %54, !dbg !599 %125 = xor i1 %124, true, !dbg !600 br i1 %125, label %L150, label %L149, !dbg !600 L149: ; preds = %L147 br label %L152, !dbg !600 L150: ; preds = %L147 %126 = add i64 %value_phi18, 1, !dbg !603 br label %L152, !dbg !600 L152: ; preds = %L150, %L149 %value_phi57 = phi i64 [ %126, %L150 ], [ undef, %L149 ] %value_phi58 = phi i64 [ %126, %L150 ], [ undef, %L149 ] %value_phi59 = phi i8 [ 1, %L149 ], [ 0, %L150 ] br label %L156, !dbg !601 L156: ; preds = %L152 %127 = trunc i8 %value_phi59 to i1, !dbg !602 %128 = xor i1 %127, true, !dbg !602 %129 = xor i1 %128, true, !dbg !602 br i1 %129, label %L159, label %L158, !dbg !602 L158: ; preds = %L156 br label %L86, !dbg !544 L159: ; preds = %L156, %L84 br label %L163, !dbg !605 L160: ; preds = %L55 %"-Core.BoundsError#175552" = load ptr, ptr @_Core_BoundsError_175552, align 8, !dbg !480, !tbaa !56, !alias.scope !65, !noalias !68, !nonnull !0, !dereferenceable !73, !align !74 %130 = addrspacecast ptr %"-Core.BoundsError#175552" to ptr addrspace(10), !dbg !480 %"+Core.BoundsError#175376" = load ptr, ptr @_Core_BoundsError_175376, align 8, !dbg !480, !tbaa !56, !alias.scope !65, !noalias !68, !nonnull !0, !dereferenceable !75, !align !76 %131 = addrspacecast ptr %"+Core.BoundsError#175376" to ptr addrspace(10), !dbg !480 %"+Main.Base.LinearIndices#175553" = load ptr, ptr @_Main_Base_LinearIndices_175553, align 8, !dbg !480, !tbaa !56, !alias.scope !65, !noalias !68, !nonnull !0, !dereferenceable !75, !align !76 %LinearIndices = ptrtoint ptr %"+Main.Base.LinearIndices#175553" to i64, !dbg !480 %132 = inttoptr i64 %LinearIndices to ptr, !dbg !480 %current_task66 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !480 %133 = addrspacecast ptr %132 to ptr addrspace(10), !dbg !480 %"box::LinearIndices" = call noalias nonnull align 8 dereferenceable(8) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task66, i64 8, ptr addrspace(10) %133) #59, !dbg !480 %134 = addrspacecast ptr addrspace(10) %"box::LinearIndices" to ptr addrspace(11), !dbg !480 call void @llvm.memcpy.p11.p0.i64(ptr addrspace(11) align 8 %134, ptr align 8 %"new::LinearIndices", i64 8, i1 false), !dbg !480, !tbaa !77, !alias.scope !606, !noalias !607 %135 = call nonnull ptr addrspace(10) (ptr, ptr addrspace(10), ptr addrspace(10), ...) @julia.call2(ptr @ijl_invoke, ptr addrspace(10) %130, ptr addrspace(10) %131, ptr addrspace(10) %"dest::Array", ptr addrspace(10) %"box::LinearIndices"), !dbg !480 %136 = addrspacecast ptr addrspace(10) %135 to ptr addrspace(12), !dbg !480 call void @ijl_throw(ptr addrspace(12) %136), !dbg !480 unreachable, !dbg !480 L163: ; preds = %L159, %L54 %value_phi7 = phi ptr addrspace(10) [ %"dest::Array", %L54 ], [ %"dest::Array", %L159 ] ret ptr addrspace(10) %value_phi7, !dbg !482 oob: ; preds = %L123 %"+Core.GenericMemoryRef#175522" = load ptr, ptr @_Core_GenericMemoryRef_175522, align 8, !dbg !586, !tbaa !56, !alias.scope !65, !noalias !68, !nonnull !0, !dereferenceable !75, !align !76 %GenericMemoryRef = ptrtoint ptr %"+Core.GenericMemoryRef#175522" to i64, !dbg !586 %137 = inttoptr i64 %GenericMemoryRef to ptr, !dbg !586 %current_task24 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !586 %138 = addrspacecast ptr %137 to ptr addrspace(10), !dbg !586 %"box::GenericMemoryRef" = call noalias nonnull align 8 dereferenceable(16) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task24, i64 16, ptr addrspace(10) %138) #59, !dbg !586 %139 = addrspacecast ptr addrspace(10) %"box::GenericMemoryRef" to ptr addrspace(11), !dbg !586 store { ptr, ptr addrspace(10) } %root_phi.ref, ptr addrspace(11) %139, align 8, !dbg !586, !tbaa !80, !alias.scope !84, !noalias !85 %140 = addrspacecast ptr addrspace(10) %"box::GenericMemoryRef" to ptr addrspace(12), !dbg !586 call void @ijl_bounds_error_int(ptr addrspace(12) %140, i64 %80), !dbg !586 unreachable, !dbg !586 idxend: ; preds = %L123 %141 = insertvalue { ptr, ptr addrspace(10) } zeroinitializer, ptr %memoryref_data_byteoffset, 0, !dbg !586 %memory_ref = insertvalue { ptr, ptr addrspace(10) } %141, ptr addrspace(10) %memoryref_mem, 1, !dbg !586 %142 = addrspacecast ptr addrspace(10) %memoryref_mem to ptr addrspace(11), !dbg !586 %143 = getelementptr inbounds nuw { i64, ptr }, ptr addrspace(11) %142, i32 0, i32 0, !dbg !586 %memory_len25 = load i64, ptr addrspace(11) %143, align 8, !dbg !586, !tbaa !149, !range !587, !alias.scope !147, !noalias !148 %144 = icmp eq i64 %memory_len25, 0, !dbg !586 br i1 %144, label %oob26, label %load, !dbg !586 oob26: ; preds = %idxend %145 = addrspacecast ptr addrspace(10) %memoryref_mem to ptr addrspace(12), !dbg !586 call void @ijl_bounds_error_int(ptr addrspace(12) %145, i64 1), !dbg !586 unreachable, !dbg !586 load: ; preds = %idxend %146 = call ptr addrspace(13) @julia.gc_loaded(ptr addrspace(10) %memoryref_mem, ptr %memoryref_data), !dbg !586 %memoryref_data27 = getelementptr inbounds i8, ptr addrspace(13) %146, i64 %memoryref_byteoffset, !dbg !586 %147 = load float, ptr addrspace(13) %memoryref_data27, align 4, !dbg !586, !tbaa !372, !alias.scope !84, !noalias !85 br label %L127, !dbg !586 oob45: ; preds = %L142 %"+Core.GenericMemoryRef#17552246" = load ptr, ptr @_Core_GenericMemoryRef_175522, align 8, !dbg !598, !tbaa !56, !alias.scope !65, !noalias !68, !nonnull !0, !dereferenceable !75, !align !76 %GenericMemoryRef47 = ptrtoint ptr %"+Core.GenericMemoryRef#17552246" to i64, !dbg !598 %148 = inttoptr i64 %GenericMemoryRef47 to ptr, !dbg !598 %current_task48 = getelementptr inbounds i8, ptr %pgcstack, i32 -152, !dbg !598 %149 = addrspacecast ptr %148 to ptr addrspace(10), !dbg !598 %"box::GenericMemoryRef49" = call noalias nonnull align 8 dereferenceable(16) ptr addrspace(10) @julia.gc_alloc_obj(ptr %current_task48, i64 16, ptr addrspace(10) %149) #59, !dbg !598 %150 = addrspacecast ptr addrspace(10) %"box::GenericMemoryRef49" to ptr addrspace(11), !dbg !598 store { ptr, ptr addrspace(10) } %"dest::Array.ref31", ptr addrspace(11) %150, align 8, !dbg !598, !tbaa !80, !alias.scope !84, !noalias !85 %151 = addrspacecast ptr addrspace(10) %"box::GenericMemoryRef49" to ptr addrspace(12), !dbg !598 call void @ijl_bounds_error_int(ptr addrspace(12) %151, i64 %102), !dbg !598 unreachable, !dbg !598 idxend50: ; preds = %L142 %152 = insertvalue { ptr, ptr addrspace(10) } zeroinitializer, ptr %memoryref_data_byteoffset38, 0, !dbg !598 %memory_ref51 = insertvalue { ptr, ptr addrspace(10) } %152, ptr addrspace(10) %memoryref_mem52, 1, !dbg !598 %153 = addrspacecast ptr addrspace(10) %memoryref_mem52 to ptr addrspace(11), !dbg !598 %154 = getelementptr inbounds nuw { i64, ptr }, ptr addrspace(11) %153, i32 0, i32 0, !dbg !598 %memory_len53 = load i64, ptr addrspace(11) %154, align 8, !dbg !598, !tbaa !149, !range !587, !alias.scope !147, !noalias !148 %155 = icmp eq i64 %memory_len53, 0, !dbg !598 br i1 %155, label %oob54, label %load55, !dbg !598 oob54: ; preds = %idxend50 %156 = addrspacecast ptr addrspace(10) %memoryref_mem52 to ptr addrspace(12), !dbg !598 call void @ijl_bounds_error_int(ptr addrspace(12) %156, i64 1), !dbg !598 unreachable, !dbg !598 load55: ; preds = %idxend50 %157 = call ptr addrspace(13) @julia.gc_loaded(ptr addrspace(10) %memoryref_mem52, ptr %memoryref_data32), !dbg !598 %memoryref_data56 = getelementptr inbounds i8, ptr addrspace(13) %157, i64 %memoryref_byteoffset37, !dbg !598 store float %147, ptr addrspace(13) %memoryref_data56, align 4, !dbg !598, !tbaa !372, !alias.scope !84, !noalias !85 br label %L146, !dbg !608 after_error: ; No predecessors! call void @llvm.trap(), !dbg !589 unreachable, !dbg !589 after_noret: ; No predecessors! call void @llvm.trap(), !dbg !589 unreachable, !dbg !589 after_error62: ; No predecessors! call void @llvm.trap(), !dbg !583 unreachable, !dbg !583 after_noret63: ; No predecessors! call void @llvm.trap(), !dbg !583 unreachable, !dbg !583 after_error64: ; No predecessors! call void @llvm.trap(), !dbg !558 unreachable, !dbg !558 after_noret65: ; No predecessors! call void @llvm.trap(), !dbg !558 unreachable, !dbg !558 after_throw: ; No predecessors! call void @llvm.trap(), !dbg !480 unreachable, !dbg !480 after_noret67: ; No predecessors! call void @llvm.trap(), !dbg !480 unreachable, !dbg !480 } expectLen=2 swiftself=false sret=nothing returnRoots=nothing mi.specTypes.parameters=svec(typeof(copyto!), Vector{Float32}, SubArray{Float32, 1, Vector{Float32}, Tuple{UnitRange{Int64}}, true}) 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{Const}, ::Type{Const{@NamedTuple{}}}, ::Type{Const{typeof(SpeedyTransforms._fourier!)}}, ::Type{Duplicated{Field{Float32, 2, Matrix{Float32}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}}}, ::Type{Duplicated{Array{ComplexF32, 3}}}, ::Type{Duplicated{Array{ComplexF32, 3}}}, ::Type{Const{SpectralTransform{Float32, CPU{KernelAbstractions.CPU}, Array, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, Vector{Float32}, Matrix{Int64}, Vector{ComplexF32}, Matrix{ComplexF32}, Array{ComplexF32, 3}, LowerTriangularMatrix{Float32, Vector{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, LowerTriangularArray{Float32, 2, Matrix{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}}}}) @ 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(SpeedyTransforms._fourier!), ::Type, ::Tuple{Field{Float32, 2, Matrix{Float32}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{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] kwcall(::@NamedTuple{fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, rtol::Float64, atol::Float64}, ::typeof(test_reverse), ::Function, ::Type, ::Tuple{Field{Float32, 2, Matrix{Float32}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, UnionAll}, ::Vararg{Any}) @ EnzymeTestUtils ~/.julia/packages/EnzymeTestUtils/JZTWO/src/test_reverse.jl:70 [17] macro expansion @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:51 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [19] macro expansion @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:34 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [21] macro expansion @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:33 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [23] top-level scope @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:32 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [25] top-level scope @ ~/.julia/packages/SpeedyWeather/h8SIJ/test/runtests.jl:41 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [30] _start() @ Base ./client.jl:577 Test Summary: | Error Total Time SpeedyTransforms: AD Rules | 2 2 6m44.7s _fourier! Enzyme rules | 2 2 6m44.7s EnzymeTestUtils reverse rule test | 2 2 6m44.7s test_reverse: _fourier! with return activity Const on (::Array{ComplexF32, 3}, Duplicated), (::Array{ComplexF32, 3}, Duplicated), (::Field{Float32, 2, Matrix{Float32}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, Duplicated), (::SpectralTransform{Float32, CPU{KernelAbstractions.CPU}, Array, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, Vector{Float32}, Matrix{Int64}, Vector{ComplexF32}, Matrix{ComplexF32}, Array{ComplexF32, 3}, LowerTriangularMatrix{Float32, Vector{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, LowerTriangularArray{Float32, 2, Matrix{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}}, Const) | 1 1 5m51.8s test_reverse: _fourier! with return activity Const on (::Field{Float32, 2, Matrix{Float32}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, Duplicated), (::Array{ComplexF32, 3}, Duplicated), (::Array{ComplexF32, 3}, Duplicated), (::SpectralTransform{Float32, CPU{KernelAbstractions.CPU}, Array, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, FullGaussianGrid{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}, Vector{Float32}, Matrix{Int64}, Vector{ComplexF32}, Matrix{ComplexF32}, Array{ComplexF32, 3}, LowerTriangularMatrix{Float32, Vector{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}, LowerTriangularArray{Float32, 2, Matrix{Float32}, Spectrum{CPU{KernelAbstractions.CPU}, Vector{UnitRange{Int64}}, Vector{Int64}}}}, Const) | 1 1 14.9s Complete Transform ChainRules | 0 0.0s RNG of the outermost testset: Random.Xoshiro(0x875d5203702aab05, 0x9cc12d9676515586, 0xd7e153c64f95c3fd, 0xc59b72032020607b, 0xfc479bbc41ee22e5) ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 2 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/SpeedyWeather/h8SIJ/test/transforms/spectral_transform_ad_rules.jl:31 in expression starting at /home/pkgeval/.julia/packages/SpeedyWeather/h8SIJ/test/runtests.jl:17 Testing failed after 2415.56s ERROR: LoadError: Package SpeedyWeather 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:2936 [3] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:2785 [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 2604.47s: package tests unexpectedly errored