Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReTestItems fails on 32-bit Julia #198

Open
willow-ahrens opened this issue Jan 8, 2025 · 0 comments · May be fixed by #197
Open

ReTestItems fails on 32-bit Julia #198

willow-ahrens opened this issue Jan 8, 2025 · 0 comments · May be fixed by #197

Comments

@willow-ahrens
Copy link

willow-ahrens commented Jan 8, 2025

Encountered on windows-latest 32-bit. I've filed a PR for a tentative fix, though I'm not sure this is the only issue. This package should run CI on 32-bit.

ERROR: LoadError: TaskFailedException

    nested task error: LoadError: MethodError: Cannot `convert` an object of type 
      Base.RefValue{Int32} to an object of type 
      Base.RefValue{Int64}
    
    Closest candidates are:
      convert(::Type{T}, ::T) where T
       @ Base Base.jl:84
      Base.RefValue{T}(::Any) where T
       @ Base refvalue.jl:8
    
    Stacktrace:
      [1] TestItem(number::Base.RefValue{Int32}, name::String, id::String, tags::Vector{Symbol}, default_imports::Bool, setups::Vector{Any}, retries::Int32, timeout::Nothing, skip::Bool, failfast::Nothing, file::String, line::Int32, project_root::String, code::Expr, testsetups::Vector{TestSetup}, workerid::Base.RefValue{Int32}, testsets::Vector{Test.DefaultTestSet}, eval_number::Base.RefValue{Int32}, stats::Vector{ReTestItems.PerfStats}, scheduled_for_evaluation::ReTestItems.ScheduledForEvaluation)
        @ ReTestItems C:\Users\runneradmin\.julia\packages\ReTestItems\ecp6j\src\macros.jl:115
      [2] TestItem(number::Base.RefValue{Int32}, name::String, id::Nothing, tags::Vector{Symbol}, default_imports::Bool, setups::Vector{Any}, retries::Int32, timeout::Nothing, skip::Bool, failfast::Nothing, file::String, line::Int32, project_root::String, code::Expr)
        @ ReTestItems C:\Users\runneradmin\.julia\packages\ReTestItems\ecp6j\src\macros.jl:138
      [3] top-level scope
        @ C:\Users\runneradmin\.julia\packages\ReTestItems\ecp6j\src\macros.jl:324
      [4] include
        @ .\Base.jl:496 [inlined]
      [5] #74
        @ C:\Users\runneradmin\.julia\packages\ReTestItems\ecp6j\src\ReTestItems.jl:785 [inlined]
      [6] task_local_storage(body::ReTestItems.var"#74#80"{ReTestItems.TestItemFilter{Returns{Bool}, Nothing, Regex}, String}, key::Symbol, val::Channel{Pair{Symbol, TestSetup}})
        @ Base .\task.jl:304
      [7] #73
        @ C:\Users\runneradmin\.julia\packages\ReTestItems\ecp6j\src\ReTestItems.jl:784 [inlined]
      [8] task_local_storage(body::ReTestItems.var"#73#79"{Channel{Pair{Symbol, TestSetup}}, ReTestItems.TestItemFilter{Returns{Bool}, Nothing, Regex}, String}, key::Symbol, val::String)
        @ Base .\task.jl:304
      [9] #72
        @ C:\Users\runneradmin\.julia\packages\ReTestItems\ecp6j\src\ReTestItems.jl:783 [inlined]
     [10] task_local_storage(body::ReTestItems.var"#72#78"{String, Channel{Pair{Symbol, TestSetup}}, ReTestItems.TestItemFilter{Returns{Bool}, Nothing, Regex}, String}, key::Symbol, val::Tuple{ReTestItems.FileNode, Set{String}})
        @ Base .\task.jl:304
     [11] #71
        @ C:\Users\runneradmin\.julia\packages\ReTestItems\ecp6j\src\ReTestItems.jl:782 [inlined]
     [12] task_local_storage(body::ReTestItems.var"#71#77"{ReTestItems.FileNode, Set{String}, String, Channel{Pair{Symbol, TestSetup}}, ReTestItems.TestItemFilter{Returns{Bool}, Nothing, Regex}, String}, key::Symbol, val::Bool)
        @ Base .\task.jl:304
     [13] (::ReTestItems.var"#70#76"{ReTestItems.FileNode, Set{String}, String, Channel{Pair{Symbol, TestSetup}}, ReTestItems.TestItemFilter{Returns{Bool}, Nothing, Regex}, String})()
        @ ReTestItems C:\Users\runneradmin\.julia\packages\ReTestItems\ecp6j\src\ReTestItems.jl:781
    in expression starting at D:\a\Finch.jl\Finch.jl\test\suites\algebra_tests.jl:2
@willow-ahrens willow-ahrens linked a pull request Jan 8, 2025 that will close this issue
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 a pull request may close this issue.

1 participant