You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
┌ Error: Unexpected error:/tmp/jl_W1uV4ruvUb/done.log was not created, but precompilation exited
└ @ Aqua ~/.julia/packages/Aqua/bBjXC/src/persistent_tasks.jl:118
Persistent tasks: Test Failed at /home/runner/.julia/packages/Aqua/bBjXC/src/persistent_tasks.jl:38
Expression:!(has_persistent_tasks(package; kwargs...))
Stacktrace:
[1] macro expansion
@ /opt/hostedtoolcache/julia/1.10.7/x64/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined]
[2] test_persistent_tasks(package::Base.PkgId; broken::Bool, kwargs::@Kwargs{})
@ Aqua ~/.julia/packages/Aqua/bBjXC/src/persistent_tasks.jl:38
[3] test_persistent_tasks
@ ~/.julia/packages/Aqua/bBjXC/src/persistent_tasks.jl:34 [inlined]
[4] #test_persistent_tasks#69
@ ~/.julia/packages/Aqua/bBjXC/src/persistent_tasks.jl:43 [inlined]
[5] test_persistent_tasks
@ ~/.julia/packages/Aqua/bBjXC/src/persistent_tasks.jl:42 [inlined]
[6] macro expansion
@ ~/.julia/packages/Aqua/bBjXC/src/Aqua.jl:105 [inlined]
[7] macro expansion
@ /opt/hostedtoolcache/julia/1.10.7/x64/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[8] test_all(testtarget::Module; ambiguities::Bool, unbound_args::Bool, undefined_exports::Bool, project_extras::Bool, stale_deps::Bool, deps_compat::Bool, piracies::Bool, persistent_tasks::Bool)
@ Aqua ~/.julia/packages/Aqua/bBjXC/src/Aqua.jl:104
Test Summary:| Pass Fail Total Time
Aqua |91101m42.0s
Method ambiguity | None 0.0s
Unbound type parameters |110.1s
Undefined exports |110.0s
Compare Project.toml and test/Project.toml |110.0s
Stale dependencies |1143.4s
Compat bounds |440.4s
Piracy |110.1s
Persistent tasks |1149.5s
on a package for which precompilation failed (due to method overwriting). I think perhaps precompilation failing led to the done.log not being written? So I wonder if this is a false positive for the "Persistent tasks" test (although of course it reflects a different problem with the package).
The text was updated successfully, but these errors were encountered:
So this is on Julia 1.10. How does this look on 1.11 ?
May be similar to SciML/LinearSolve.jl#573 ? May be, then a band-aid would be to let this test always pass on 1.10 as well (similar as currently with 1.9 and below).
I don't think this issue is a julia-version specific thing. The problem is the test itself. If precompilation fails for any reason, then the has_persistent_tasks test fails. Precompilation failing is a problem but it is unrelated to persistent tasks, and the has_persistent_tasks failing can mislead users since it adds additional error messages unrelated to the actual problem.
My original problem (failing precompilation) is gone due to upstream fixes, in that respect we might close this, but there is still the point of misleading false positives here. So we may keep it open unless it appears that it is not worthwhile to dedicate time to it...
I am seeing:
on a package for which precompilation failed (due to method overwriting). I think perhaps precompilation failing led to the
done.log
not being written? So I wonder if this is a false positive for the "Persistent tasks" test (although of course it reflects a different problem with the package).The text was updated successfully, but these errors were encountered: