Skip to content

@time_imports giving ERROR: type Pair has no field id on nightly #48590

@anandijain

Description

@anandijain

I should note that there is the odd behavior that if I start julia, do @time_imports using CSV then it will work, but if I do @time_imports using LocalDevPrivatePackage then it will fail with the below trace. Once this one fails, then all subsequent @time_imports fail. I also checked that just using LocalDevPrivatePackage works fine.

happy to provide more info, but im not sure what else is relevant here

mwe:

@time_imports using CSV # works 
@time_imports using PrivatePackage # fails 
@time_imports using CSV # fails 

trace:

julia> @time_imports using CSV
   95.2 ms  ERROR: type Pair has no field id
Stacktrace:
[1] getproperty
  @ ./Base.jl:37 [inlined]
[2] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
  @ Base ./loading.jl:1024
[3] _tryrequire_from_serialized(modkey::Base.PkgId, path::String, ocachepath::String, sourcepath::String, depmods::Vector{Any})
  @ Base ./loading.jl:1332
[4] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
  @ Base ./loading.jl:1425
[5] _require(pkg::Base.PkgId, env::String)
  @ Base ./loading.jl:1760
[6] _require_prelocked(uuidkey::Base.PkgId, env::String)
  @ Base ./loading.jl:1643
[7] macro expansion
  @ ./loading.jl:1631 [inlined]
[8] macro expansion
  @ ./lock.jl:267 [inlined]
[9] require(into::Module, mod::Symbol)
  @ Base ./loading.jl:1594
[10] top-level scope
  @ ~/.juliaup/julia-b5d17ea2b3/share/julia/stdlib/v1.10/InteractiveUtils/src/macros.jl:243

versioninfo():

Julia Version 1.10.0-DEV.537
Commit b5d17ea2b3d (2023-02-08 09:40 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 64 × AMD EPYC 7513 32-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, znver3)
Threads: 8 on 64 virtual cores
Environment:
JULIA_NUM_THREADS = 8

I can't share my manifest due to a bunch of private packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs testsUnit tests are required for this change

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions