Skip to content

Conversation

@ChrisRackauckas
Copy link
Member

No description provided.

@ChrisRackauckas
Copy link
Member Author

@claude the explicit imports fail because ForwardDiff is not imported, see the test log:

ERROR: LoadError: UndefVarError: ForwardDiff not defined
Stacktrace:
[1] top-level scope
@ ~/work/DelayDiffEq.jl/DelayDiffEq.jl/src/discontinuity_type.jl:41
[2] include(mod::Module, _path::String)
@ Base ./Base.jl:495
[3] include(x::String)
@ DelayDiffEq ~/work/DelayDiffEq.jl/DelayDiffEq.jl/src/DelayDiffEq.jl:1
[4] top-level scope
@ ~/work/DelayDiffEq.jl/DelayDiffEq.jl/src/DelayDiffEq.jl:52
[5] include
@ ./Base.jl:495 [inlined]
[6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base ./loading.jl:2292
[7] top-level scope
@ stdin:4
in expression starting at /home/runner/work/DelayDiffEq.jl/DelayDiffEq.jl/src/discontinuity_type.jl:41
in expression starting at /home/runner/work/DelayDiffEq.jl/DelayDiffEq.jl/src/DelayDiffEq.jl:1
in expression starting at stdin:4
Inference Tests: Error During Test at /home/runner/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:30
Got exception outside of a @test
LoadError: Failed to precompile DelayDiffEq [bcd4f6db-9728-5f36-b5f7-82caef46ccdb] to "/home/runner/.julia/compiled/v1.10/DelayDiffEq/jl_ZjK2yd".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:2539
[3] compilecache
@ ./loading.jl:2411 [inlined]
[4] (::Base.var"#971#972"{Base.PkgId})()
@ Base ./loading.jl:2044
[5] mkpidlock(f::Base.var"#971#972"{Base.PkgId}, at::String, pid::Int32; kwopts::@kwargs{stale_age::Int32, wait::Bool})
@ FileWatching.Pidfile /opt/hostedtoolcache/julia/1.10.10/x86/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
[6] #mkpidlock#6
@ /opt/hostedtoolcache/julia/1.10.10/x86/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@kwargs{stale_age::Int32})
@ FileWatching.Pidfile /opt/hostedtoolcache/julia/1.10.10/x86/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
[8] #invokelatest#2
@ ./essentials.jl:894 [inlined]
[9] invokelatest
@ ./essentials.jl:889 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#971#972"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int32)
@ Base ./loading.jl:3054
[11] maybe_cachefile_lock
@ ./loading.jl:3051 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2040
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1882
[14] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[15] invoke_in_world
@ ./essentials.jl:923 [inlined]
[16] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1873
[17] macro expansion
@ ./loading.jl:1860 [inlined]
[18] macro expansion
@ ./lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1823
[20] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[21] invoke_in_world
@ ./essentials.jl:923 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1816
[23] include(mod::Module, _path::String)
@ Base ./Base.jl:495
[24] include(x::String)
@ Main.var"##Inference Tests#252" ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28
[25] macro expansion
@ ~/work/DelayDiffEq.jl/DelayDiffEq.jl/test/runtests.jl:94 [inlined]
[26] macro expansion
@ /opt/hostedtoolcache/julia/1.10.10/x86/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[27] macro expansion
@ ~/work/DelayDiffEq.jl/DelayDiffEq.jl/test/runtests.jl:94 [inlined]
[28] top-level scope
@ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:30
[29] eval(m::Module, e::Any)
@ Core ./boot.jl:385
[30] macro expansion
@ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined]
[31] macro expansion
@ ./timing.jl:279 [inlined]
[32] top-level scope
@ ~/work/DelayDiffEq.jl/DelayDiffEq.jl/test/runtests.jl:93
[33] include(fname::String)
@ Base.MainInclude ./client.jl:494
[34] top-level scope
@ none:6
[35] eval
@ ./boot.jl:385 [inlined]
[36] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:296
[37] _start()
@ Base ./client.jl:557
in expression starting at /home/runner/work/DelayDiffEq.jl/DelayDiffEq.jl/test/regression/inference.jl:1
Test Summary: | Error Total Time
Inference Tests | 1 1 6.5s
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /home/runner/work/DelayDiffEq.jl/DelayDiffEq.jl/test/runtests.jl:92
Package DelayDiffEq errored during testing

ChrisRackauckas and others added 3 commits July 21, 2025 06:48
Clean up unused imports that were causing test failures in the explicit imports check. Removed imports that are not actually used in the codebase while keeping the necessary ones for functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@ChrisRackauckas ChrisRackauckas merged commit 2862e79 into master Jul 22, 2025
19 of 26 checks passed
@ChrisRackauckas ChrisRackauckas deleted the ChrisRackauckas-patch-4 branch July 22, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants