Skip to content

FieldError: type Core.TypeName has no field mt in Julia v1.13 #343

@giordano

Description

@giordano
Piracy: Error During Test at /home/runner/.julia/packages/Aqua/1UuaV/src/Aqua.jl:103
  Got exception outside of a @test
  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:57
    [2] all_methods(mods::Module; skip_deprecated::Bool)
      @ Aqua.Piracy ~/.julia/packages/Aqua/1UuaV/src/piracies.jl:55
    [3] all_methods
      @ ~/.julia/packages/Aqua/1UuaV/src/piracies.jl:21 [inlined]
    [4] #hunt#30
      @ ~/.julia/packages/Aqua/1UuaV/src/piracies.jl:194 [inlined]
    [5] hunt
      @ ~/.julia/packages/Aqua/1UuaV/src/piracies.jl:193 [inlined]
    [6] test_piracies(m::Module; broken::Bool, kwargs::@Kwargs{})
      @ Aqua ~/.julia/packages/Aqua/1UuaV/src/piracies.jl:219
    [7] test_piracies
      @ ~/.julia/packages/Aqua/1UuaV/src/piracies.jl:218 [inlined]
    [8] macro expansion
      @ ~/.julia/packages/Aqua/1UuaV/src/Aqua.jl:104 [inlined]
    [9] macro expansion
      @ /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined]
   [10] 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, undocumented_names::Bool)
      @ Aqua ~/.julia/packages/Aqua/1UuaV/src/Aqua.jl:104
   [11] test_all(testtarget::Module)
      @ Aqua ~/.julia/packages/Aqua/1UuaV/src/Aqua.jl:59
   [12] top-level scope
      @ ~/work/FixedSizeArrays.jl/FixedSizeArrays.jl/test/runtests.jl:71
   [13] macro expansion
      @ /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined]
   [14] macro expansion
      @ ~/work/FixedSizeArrays.jl/FixedSizeArrays.jl/test/runtests.jl:76 [inlined]
   [15] macro expansion
      @ /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined]
   [16] macro expansion
      @ ~/work/FixedSizeArrays.jl/FixedSizeArrays.jl/test/runtests.jl:76 [inlined]
   [17] include(mapexpr::Function, mod::Module, _path::String)
      @ Base ./Base.jl:312
   [18] top-level scope
      @ none:6
   [19] eval(m::Module, e::Any)
      @ Core ./boot.jl:489
   [20] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:286
   [21] _start()
      @ Base ./client.jl:553

using

Julia Version 1.13.0-DEV.952
Commit a60814fb590 (2025-08-02 03:28 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 4 × AMD EPYC 7763 64-Core Processor
  WORD_SIZE: 64
  LLVM: libLLVM-20.1.2 (ORCJIT, znver3)
  GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 4 virtual cores)

Observed at https://github.com/JuliaArrays/FixedSizeArrays.jl/actions/runs/16693470305/job/47254349443?pr=147#step:5:115.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnightlyIssues and fixes just for julia prereleasestest: piracy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions