Skip to content

julia version 1.14.0-DEV.81: MethodError: no method matching setindex! #234

@dekelzeldov

Description

@dekelzeldov

While running tests in Herb Constraints, we came across this runtime error: "no method matching setindex!".

Details

Julia version 1.14.0-DEV.81

caused by: MethodError: no method matching setindex!(::Base.ScopedValues.ScopedValue{Bool}, ::Bool)
The function `setindex!` exists, but no method is defined for this combination of argument types.
Stacktrace:
  [1] _runtests_in_current_env(ti_filter::Function, paths::Tuple{String}, projectfile::String, cfg::ReTestItems._Config)
    @ ReTestItems ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:434
  [2] (::ReTestItems.var"#_runtests##0#_runtests##1"{ReTestItems.TestItemFilter{Returns{Bool}, Nothing, Nothing}, Tuple{String}, ReTestItems._Config, String})()
    @ ReTestItems ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:381
  [3] with_logstate(f::ReTestItems.var"#_runtests##0#_runtests##1"{ReTestItems.TestItemFilter{Returns{Bool}, Nothing, Nothing}, Tuple{String}, ReTestItems._Config, String}, logstate::Base.CoreLogging.LogState)
    @ Base.CoreLogging ./logging/logging.jl:540
  [4] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
    @ Base.CoreLogging ./logging/logging.jl:651
  [5] _runtests(ti_filter::Function, paths::Tuple{String}, cfg::ReTestItems._Config)
    @ ReTestItems ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:377
  [6] runtests(shouldrun::Returns{Bool}, paths::String; nworkers::Int64, nworker_threads::String, worker_init_expr::Expr, testitem_timeout::Float64, retries::Int64, memory_threshold::Float64, debug::Int64, name::Nothing, tags::Nothing, report::Bool, logs::Symbol, verbose_results::Bool, test_end_expr::Expr, validate_paths::Bool, timeout_profile_wait::Int64, gc_between_testitems::Bool, failfast::Bool, testitem_failfast::Bool, failures_first::Bool)
    @ ReTestItems ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:347
  [7] runtests(shouldrun::Function, paths::String)
    @ ReTestItems ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:298
  [8] #runtests#36
    @ ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:276 [inlined]
  [9] runtests
    @ ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:273 [inlined]
 [10] runtests(pkg::Module)
    @ ReTestItems ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:272

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions