Package evaluation of TheFix on Julia 1.10.8 (92f03a4775*) started at 2025-02-25T04:26:23.794 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 4.94s ################################################################################ # Installation # Installing TheFix... Resolving package versions... Updating `~/.julia/environments/v1.10/Project.toml` [d833ac1a] + TheFix v0.2.4 Updating `~/.julia/environments/v1.10/Manifest.toml` [d833ac1a] + TheFix v0.2.4 [2a0f44e3] + Base64 [b77e0a4c] + InteractiveUtils [56ddb016] + Logging [d6f4376e] + Markdown [3fa0cd96] + REPL [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [6462fe0b] + Sockets [8dfed614] + Test [4ec0a83e] + Unicode Installation completed after 3.68s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 10.49s ################################################################################ # Testing # Testing TheFix Status `/tmp/jl_90NLTX/Project.toml` [d833ac1a] TheFix v0.2.4 [3fa0cd96] REPL [8dfed614] Test Status `/tmp/jl_90NLTX/Manifest.toml` [d833ac1a] TheFix v0.2.4 [2a0f44e3] Base64 [b77e0a4c] InteractiveUtils [56ddb016] Logging [d6f4376e] Markdown [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [6462fe0b] Sockets [8dfed614] Test [4ec0a83e] Unicode Testing Running tests... [ Info: Fixing UndefVarError(:xx) with x. [ Info: Fixing UndefVarError(:exo) with exp. [ Info: Fixing UndefVarError(:sim) with sin. [ Info: Fixing UndefVarError(:factorrial) with factorial. [ Info: Fixing UndefVarError(:factoreal) with factorial. [ Info: Fixing DomainError(-1.0, "sqrt was called with a negative real argument but will only return a complex result if called with a complex argument. Try sqrt(Complex(x)).") with sqrt(Complex(-1.0)). [ Info: Fixing DomainError(-1.0, "sqrt was called with a negative real argument but will only return a complex result if called with a complex argument. Try sqrt(Complex(x)).") with sqrt.(Complex.((-1.0, 2.0))). [ Info: Fixing DomainError(-2, "Cannot raise an integer x to a negative power -2.\nMake x or -2 a float by adding a zero decimal (e.g., 2.0^-2 or 2^-2.0 instead of 2^-2)or write 1/x^2, float(x)^-2, x^float(-2) or (x//1)^-2.") with 2 ^ float(1 - 3). [ Info: Fixing DomainError(-2, "Cannot raise an integer x to a negative power -2.\nMake x or -2 a float by adding a zero decimal (e.g., 2.0^-2 or 2^-2.0 instead of 2^-2)or write 1/x^2, float(x)^-2, x^float(-2) or (x//1)^-2.") with 2 .^ float.(-2:2). [ Info: Fixing DomainError(-2, "Cannot raise an integer x to a negative power -2.\nMake x or -2 a float by adding a zero decimal (e.g., 2.0^-2 or 2^-2.0 instead of 2^-2)or write 1/x^2, float(x)^-2, x^float(-2) or (x//1)^-2.") with 2 .^ float.((-2, -1, 0, 1, 2)). [ Info: Fixing DomainError(-2.0, "log2 was called with a negative real argument but will only return a complex result if called with a complex argument. Try log2(Complex(x)).") with log2(Complex(-2.0)). ┌ Warning: Exception ErrorException("syntax: invalid syntax 2 1") not implemented. └ @ TheFix ~/.julia/packages/TheFix/tlE7g/src/TheFix.jl:223 ┌ Warning: Exception ErrorException("syntax: invalid syntax 1 0") not implemented. └ @ TheFix ~/.julia/packages/TheFix/tlE7g/src/TheFix.jl:223 [ Info: Fixing DomainError(-2, "Cannot raise an integer matrix x to a negative power -2.\nMake x a float matrix by adding a zero decimal (e.g., [2.0 1.0;1.0 0.0]^-2 instead of [2 1;1 0]^-2)or write float(x)^-2 or Rational.(x)^-2.") with [2 1; 1 0] ^ float(1 - 3). ┌ Warning: Exception DomainError(0.0, "Cannot be ±0.0.") not implemented. └ @ TheFix ~/.julia/packages/TheFix/tlE7g/src/TheFix.jl:93 [ Info: Fixing OverflowError("21 is too large to look up in the table; consider using `factorial(big(21))` instead") with factorial(big(21)). [ Info: Fixing UndefVarError(:factorrial) with factorial. [ Info: Fixing UndefVarError(:factoreal) with factorial. [ Info: Fixing OverflowError("24 is too large to look up in the table; consider using `factorial(big(24))` instead") with factorial(big(factorial(4))). [ Info: Fixing OverflowError("21 is too large to look up in the table; consider using `factorial(big(21))` instead") with factorial.(big.((21, 22))). [ Info: Fixing OverflowError("binomial(67, 30) overflows") with binomial(widen(67), widen(30)). [ Info: Fixing OverflowError("gcd(-9223372036854775808, -9223372036854775808) overflows") with gcd(widen(typemin(Int)), widen(typemin(Int))). [ Info: Fixing OverflowError("checked arithmetic: cannot compute |x| for x = -9223372036854775808::Int64") with gcd(widen.([typemin(Int), 1])). [ Info: Fixing OverflowError("gcd(-9223372036854775808, -9223372036854775808) overflows") with gcd.(widen.((typemin(Int), 1)), widen.((typemin(Int), 2))). [ Info: Fixing OverflowError("checked arithmetic: cannot compute |x| for x = -9223372036854775808::Int64") with gcd(widen(typemin(Int)), widen(Int(0))). [ Info: Fixing OverflowError("1323457 * 12349812309487 overflowed for type Int64") with (var"#1#2"())(widen(1323457 // 20345)). [ Info: Fixing OverflowError("1323457 * 12349812309487 overflowed for type Int64") with (var"#1#2"()).(widen.([1323457 // 20345, 1323458 // 20345])). ┌ Warning: Exception OverflowError("cannot negate unsigned number") not implemented. └ @ TheFix ~/.julia/packages/TheFix/tlE7g/src/TheFix.jl:141 [ Info: Fixing DivideError() with 2 / 0. [ Info: Fixing DivideError() with 2 / 0. [ Info: Fixing DivideError() with 2 - 0 * (2 / 0). [ Info: Fixing DivideError() with 2 - 0 * (2 / 0). [ Info: Fixing DivideError() with 2 - 0 * round(2 / 0, RoundDown). [ Info: Fixing DivideError() with 2 / 0. [ Info: Fixing DivideError() with (2 / 0, 2 - 0 * (2 / 0)). [ Info: Fixing DivideError() with (2 / 0, 2 - 0 * round(2 / 0, RoundNearest)). [ Info: Fixing BoundsError([1.0 1.0 1.0; 1.0 1.0 1.0], (7,)) with A[clamp(7, extrema(eachindex(A))...)]. [ Info: Fixing UndefVarError(:B) with A. [ Info: Fixing BoundsError([1.0 1.0 1.0; 1.0 1.0 1.0], (1:7,)) with A[intersect(1:7, eachindex(A))]. [ Info: Fixing UndefVarError(:D) with A. [ Info: Fixing BoundsError([1.0 1.0 1.0; 1.0 1.0 1.0], (3, 3)) with A[clamp(3, extrema(axes(A, 1))...), 3]. [ Info: Fixing UndefVarError(:E) with A. [ Info: Fixing BoundsError([1.0 1.0 1.0; 1.0 1.0 1.0], (3, 4)) with A[clamp(3, extrema(axes(A, 1))...), clamp(4, extrema(axes(A, 2))...)]. [ Info: Fixing UndefVarError(:F) with A. [ Info: Fixing BoundsError([1.0 1.0 1.0; 1.0 1.0 1.0], (1:5, 1:5)) with A[intersect(1:5, axes(A, 1)), intersect(1:5, axes(A, 2))]. [ Info: Fixing UndefVarError(:printline) with println. 1:2 1:2 1 2 [ Info: Fixing UndefVarError(:printline) with println. 1:2 1:2 1 2 Code blocks: Test Failed at /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:60 Expression: cleanse(:(for k = 1:2 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:61 =# printline(k) #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:62 =# end); safe = false) == :(for k = 1:2 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:63 =# println(k) #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:64 =# end) Evaluated: for k = 1:2 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:61 =# println(k) #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:62 =# end == for k = 1:2 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:63 =# println(k) #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:64 =# end Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined] [2] macro expansion @ ~/.julia/packages/TheFix/tlE7g/test/runtests.jl:60 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [4] macro expansion @ ~/.julia/packages/TheFix/tlE7g/test/runtests.jl:59 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [6] top-level scope @ ~/.julia/packages/TheFix/tlE7g/test/runtests.jl:12 [ Info: Fixing UndefVarError(:logarithm) with log. [ Info: Fixing UndefVarError(:sine) with sin. [ Info: Fixing UndefVarError(:expp1) with expm1. [ Info: Fixing UndefVarError(:printline) with println. t = 1.7182818284590453 t = 19.085536923187668 t = 53.598150033144236 t = 147.4131591025766 t = 402.4287934927351 t = 1095.6331584284585 t = 2979.9579870417283 t = 8102.083927575384 t = 1.7182818284590453 t = 6.38905609893065 t = 19.085536923187668 t = 53.598150033144236 t = 147.4131591025766 t = 402.4287934927351 t = 1095.6331584284585 t = 2979.9579870417283 t = 8102.083927575384 Code blocks: Test Failed at /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:66 Expression: cleanse(quote #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:67 =# i = 1 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:68 =# while i < 10 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:69 =# global t = expp1(i) #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:70 =# printline("t = $(t)") #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:71 =# global i += 1 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:72 =# end end; safe = false) == quote #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:74 =# i = 1 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:75 =# while i < 10 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:76 =# global t = expm1(i) #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:77 =# println("t = $(t)") #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:78 =# global i += 1 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:79 =# end end Evaluated: begin #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:67 =# i = 1 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:68 =# while i < 10 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:69 =# global t = expm1(i) #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:70 =# println("t = $(t)") #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:71 =# global i += 1 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:72 =# end end == begin #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:74 =# i = 1 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:75 =# while i < 10 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:76 =# global t = expm1(i) #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:77 =# println("t = $(t)") #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:78 =# global i += 1 #= /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:79 =# end end Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined] [2] macro expansion @ ~/.julia/packages/TheFix/tlE7g/test/runtests.jl:66 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [4] macro expansion @ ~/.julia/packages/TheFix/tlE7g/test/runtests.jl:59 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [6] top-level scope @ ~/.julia/packages/TheFix/tlE7g/test/runtests.jl:12 Test Summary: | Pass Fail Total Time Fixed Errors | 37 2 39 12.1s UndefVarError | 3 3 3.5s DomainError | 8 8 2.7s OverflowError | 11 11 1.1s DivideError | 8 8 0.2s BoundsError | 5 5 1.0s Code blocks | 2 2 4 3.6s ERROR: LoadError: Some tests did not pass: 37 passed, 2 failed, 0 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/TheFix/tlE7g/test/runtests.jl:11 Testing failed after 17.91s ERROR: LoadError: Package TheFix errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 [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.10/Pkg/src/Operations.jl:2034 [3] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [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::Base.PipeEndpoint}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.10/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 42.83s: package has test failures