Skip to content

Broken in Julia 1.12 #16

@zsunberg

Description

@zsunberg

This package appears to be broken in Julia 1.12

Broken POMDPTools tests: https://github.com/JuliaPOMDP/POMDPs.jl/actions/runs/18451066134/job/52564633936#step:6:656
Skipped tests: JuliaPOMDP/POMDPs.jl#574

Error Message:

INFO: POMDPLinter requirements for Simulators: Error During Test at /home/runner/work/POMDPs.jl/POMDPs.jl/lib/POMDPTools/test/runtests.jl:61
  Got exception outside of a @test
  LoadError: FieldError: type Core.TypeName has no field `mt`, available fields: `name`, `module`, `singletonname`, `names`, `atomicfields`, `constfields`, `wrapper`, `Typeofwrapper`, `cache`, `linearcache`, `partial`, `hash`, `max_args`, `n_uninitialized`, `flags`, `cache_entry_count`, `max_methods`, `constprop_heuristic`
  Stacktrace:
    [1] getproperty(x::Core.TypeName, f::Symbol)
      @ Base ./Base_compiler.jl:54
    [2] format_method(f::Function, argtypes::Type; module_names::Bool, color::Nothing)
      @ POMDPLinter ~/.julia/packages/POMDPLinter/9zrkF/src/requirements_printing.jl:49
    [3] format_method
      @ ~/.julia/packages/POMDPLinter/9zrkF/src/requirements_printing.jl:45 [inlined]
    [4] handle_method
      @ ~/.julia/packages/POMDPLinter/9zrkF/src/requirements_printing.jl:41 [inlined]
    [5] show_heading(io::IOContext{Base.PipeEndpoint}, requirer::Tuple{typeof(simulate), DataType})
      @ POMDPLinter ~/.julia/packages/POMDPLinter/9zrkF/src/requirements_printing.jl:3
    [6] show_requirements(r::POMDPLinter.RequirementSet)
      @ POMDPLinter ~/.julia/packages/POMDPLinter/9zrkF/src/requirements_interface.jl:199
    [7] top-level scope
      @ ~/work/POMDPs.jl/POMDPs.jl/lib/POMDPTools/test/simulators/test_history_recorder.jl:6
    [8] macro expansion
      @ ~/.julia/packages/POMDPLinter/9zrkF/src/requirements_interface.jl:114 [inlined]
    [9] include(mapexpr::Function, mod::Module, _path::String)
      @ Base ./Base.jl:307
   [10] top-level scope
      @ ~/work/POMDPs.jl/POMDPs.jl/lib/POMDPTools/test/runtests.jl:19
   [11] macro expansion
      @ /opt/hostedtoolcache/julia/1.12.0/x64/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined]
   [12] macro expansion
      @ ~/work/POMDPs.jl/POMDPs.jl/lib/POMDPTools/test/runtests.jl:62 [inlined]
   [13] macro expansion
      @ /opt/hostedtoolcache/julia/1.12.0/x64/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined]
   [14] macro expansion
      @ ~/work/POMDPs.jl/POMDPs.jl/lib/POMDPTools/test/runtests.jl:63 [inlined]
   [15] include(mapexpr::Function, mod::Module, _path::String)
      @ Base ./Base.jl:307
   [16] top-level scope
      @ none:6
   [17] eval(m::Module, e::Any)
      @ Core ./boot.jl:489
   [18] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:283
   [19] _start()
      @ Base ./client.jl:550
  in expression starting at /home/runner/work/POMDPs.jl/POMDPs.jl/lib/POMDPTools/test/simulators/test_history_recorder.jl:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions