Package evaluation of CFMMRouter on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T13:16:49.642 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.49s ################################################################################ # Installation # Installing CFMMRouter... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [591468fd] + CFMMRouter v0.3.1 Updating `~/.julia/environments/v1.11/Manifest.toml` [a4c015fc] + ANSIColoredPrinters v0.0.1 [591468fd] + CFMMRouter v0.3.1 [ffbed154] + DocStringExtensions v0.9.4 ⌅ [e30172f5] + Documenter v0.27.25 [b5f81e59] + IOCapture v0.2.5 [692b3bcd] + JLLWrappers v1.7.0 [682c06a0] + JSON v0.21.4 [5be7bae1] + LBFGSB v0.4.1 [98b081ad] + Literate v2.20.1 [69de0a69] + Parsers v2.8.1 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [81d17ec3] + L_BFGS_B_jll v3.0.1+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.11.0 [de0858da] + Printf v1.11.0 [3fa0cd96] + REPL v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.11.0 [f489334b] + StyledStrings v1.11.0 [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.1.1+0 [deac9b47] + LibCURL_jll v8.6.0+0 [e37daf67] + LibGit2_jll v1.7.2+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+0 [14a3606d] + MozillaCACerts_jll v2023.12.12 [4536629a] + OpenBLAS_jll v0.3.27+1 [bea87d4a] + SuiteSparse_jll v7.7.0+0 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 [8e850ede] + nghttp2_jll v1.59.0+0 [3f19e933] + p7zip_jll v17.4.0+2 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 4.33s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 25.05s ################################################################################ # Testing # Testing CFMMRouter Status `/tmp/jl_HAXLBk/Project.toml` [591468fd] CFMMRouter v0.3.1 ⌅ [e30172f5] Documenter v0.27.25 [f6369f11] ForwardDiff v1.0.1 [5be7bae1] LBFGSB v0.4.1 [98b081ad] Literate v2.20.1 [90137ffa] StaticArrays v1.9.13 [2913bbd2] StatsBase v0.34.4 [37e2e46d] LinearAlgebra v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [2f01184e] SparseArrays v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_HAXLBk/Manifest.toml` [a4c015fc] ANSIColoredPrinters v0.0.1 [66dad0bd] AliasTables v1.1.3 [591468fd] CFMMRouter v0.3.1 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.22 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.4 ⌅ [e30172f5] Documenter v0.27.25 [f6369f11] ForwardDiff v1.0.1 [b5f81e59] IOCapture v0.2.5 [92d709cd] IrrationalConstants v0.2.4 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [5be7bae1] LBFGSB v0.4.1 [98b081ad] Literate v2.20.1 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [e1d29d7a] Missings v1.2.0 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.0 [69de0a69] Parsers v2.8.1 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [43287f4e] PtrArrays v1.3.0 [a2af1166] SortingAlgorithms v1.2.1 [276daf66] SpecialFunctions v2.5.0 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.0 [2913bbd2] StatsBase v0.34.4 [81d17ec3] L_BFGS_B_jll v3.0.1+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.11.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.11.0 [f489334b] StyledStrings v1.11.0 [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.1.1+0 [deac9b47] LibCURL_jll v8.6.0+0 [e37daf67] LibGit2_jll v1.7.2+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [4536629a] OpenBLAS_jll v0.3.27+1 [05823500] OpenLibm_jll v0.8.5+0 [bea87d4a] SuiteSparse_jll v7.7.0+0 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.59.0+0 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Precompiling ForwardDiff... 7399.6 ms ✓ ForwardDiff 1 dependency successfully precompiled in 8 seconds. 19 already precompiled. Precompiling ForwardDiffStaticArraysExt... 2024.0 ms ✓ ForwardDiff → ForwardDiffStaticArraysExt 1 dependency successfully precompiled in 2 seconds. 22 already precompiled. Test Summary: | Pass Total Time Objectives | 15 15 4.6s no fees: Test Failed at /home/pkgeval/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:53 Expression: isapprox(price_impact₋(Δ), 1 / p_opt, atol = 1.0e-6) Evaluated: isapprox(0.0, 0.0625; atol = 1.0e-6) Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined] [2] test_optimality_conditions_met(c::Vector{Float64}, Δ::Vector{Float64}, Λ::Vector{Float64}, cfmm::UniV3{Float64}) @ Main ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:53 [3] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:134 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [5] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:123 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [7] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:113 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] top-level scope @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:59 no fees: Test Failed at /home/pkgeval/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:53 Expression: isapprox(price_impact₋(Δ), 1 / p_opt, atol = 1.0e-6) Evaluated: isapprox(0.0, 0.04; atol = 1.0e-6) Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined] [2] test_optimality_conditions_met(c::Vector{Float64}, Δ::Vector{Float64}, Λ::Vector{Float64}, cfmm::UniV3{Float64}) @ Main ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:53 [3] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:144 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [5] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:123 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [7] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:113 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] top-level scope @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:59 fees: Test Failed at /home/pkgeval/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:53 Expression: isapprox(price_impact₋(Δ), 1 / p_opt, atol = 1.0e-6) Evaluated: isapprox(0.0, 0.0625; atol = 1.0e-6) Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined] [2] test_optimality_conditions_met(c::Vector{Float64}, Δ::Vector{Float64}, Λ::Vector{Float64}, cfmm::UniV3{Float64}) @ Main ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:53 [3] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:174 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [5] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:163 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [7] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:113 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] top-level scope @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:59 fees: Test Failed at /home/pkgeval/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:53 Expression: isapprox(price_impact₋(Δ), 1 / p_opt, atol = 1.0e-6) Evaluated: isapprox(0.0, 0.04; atol = 1.0e-6) Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined] [2] test_optimality_conditions_met(c::Vector{Float64}, Δ::Vector{Float64}, Λ::Vector{Float64}, cfmm::UniV3{Float64}) @ Main ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:53 [3] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:184 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [5] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:163 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [7] macro expansion @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:113 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [9] top-level scope @ ~/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:59 Test Summary: | Pass Fail Total Time CFMMs | 124 4 128 21.2s arbitrage checks: two coins | 114 114 7.5s univ3 | 10 4 14 13.6s no fees | 5 2 7 13.3s fees | 5 2 7 0.2s ERROR: LoadError: Some tests did not pass: 124 passed, 4 failed, 0 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/CFMMRouter/CzWdI/test/cfmms.jl:58 in expression starting at /home/pkgeval/.julia/packages/CFMMRouter/CzWdI/test/runtests.jl:11 Testing failed after 49.59s ERROR: LoadError: Package CFMMRouter errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.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.11/Pkg/src/Operations.jl:2124 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2007 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.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.11/Pkg/src/API.jl:481 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 102.44s: package has test failures