Skip to content

REPL being precompiled during REPL tests, and fails to precompile #60239

@IanButterworth

Description

@IanButterworth

On macOS x86

REPL                                                        (2) \|        started at 2025-11-25T01:58:23.492
From worker 2:	┌ Error: Unexpected error (Review REPL precompilation with debug_output on):
From worker 2:	│ ERROR: BoundsErrorBase.Iterators.minimum: attempt to access
From worker 2:	│   exception =
From worker 2:	│    Error when precompiling module, potentially caused by a __precompile__(false) declaration in the module.
From worker 2:	│    Stacktrace:
From worker 2:	│      [1] macro expansion
From worker 2:	│        @ ./logging/logging.jl:386 [inlined]
From worker 2:	│      [2] (::REPL.Precompile.var"#check_errors#repl_workload##0"{Vector{String}})(out::String)
From worker 2:	│        @ REPL.Precompile /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07FJYVY.0/build/default-grannysmith-C07ZQ07FJYVY-0/julialang/julia-master/julia-12de31301a/share/julia/stdlib/v1.14/REPL/src/precompile.jl:27
From worker 2:	│      [3] (::REPL.Precompile.var"#repl_workload##7#repl_workload##8"{String, String, String, String, String, String, Base.Event, Base.Event, Char, Char, Base.DevNull, REPL.Precompile.var"#check_errors#repl_workload##0"{Vector{String}}})()
From worker 2:	│        @ REPL.Precompile /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07FJYVY.0/build/default-grannysmith-C07ZQ07FJYVY-0/julialang/julia-master/julia-12de31301a/share/julia/stdlib/v1.14/REPL/src/precompile.jl:189
From worker 2:	│      [4] withenv(::REPL.Precompile.var"#repl_workload##7#repl_workload##8"{String, String, String, String, String, String, Base.Event, Base.Event, Char, Char, Base.DevNull, REPL.Precompile.var"#check_errors#repl_workload##0"{Vector{String}}}, ::Pair{String, String}, ::Vararg{Pair{String}})
From worker 2:	│        @ Base ./env.jl:265
From worker 2:	│      [5] repl_workload()
From worker 2:	│        @ REPL.Precompile /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07FJYVY.0/build/default-grannysmith-C07ZQ07FJYVY-0/julialang/julia-master/julia-12de31301a/share/julia/stdlib/v1.14/REPL/src/precompile.jl:107
From worker 2:	│      [6] top-level scope
From worker 2:	│        @ /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07FJYVY.0/build/default-grannysmith-C07ZQ07FJYVY-0/julialang/julia-master/julia-12de31301a/share/julia/stdlib/v1.14/REPL/src/precompile.jl:221
From worker 2:	│      [7] include(mapexpr::Function, mod::Module, _path::String)
From worker 2:	│        @ Base ./Base.jl:310
From worker 2:	│      [8] top-level scope
From worker 2:	│        @ /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07FJYVY.0/build/default-grannysmith-C07ZQ07FJYVY-0/julialang/julia-master/julia-12de31301a/share/julia/stdlib/v1.14/REPL/src/REPL.jl:1903
From worker 2:	│      [9] include(mod::Module, _path::String)
From worker 2:	│        @ Base ./Base.jl:309
From worker 2:	│     [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
From worker 2:	│        @ Base ./loading.jl:3157
From worker 2:	│     [11] top-level scope
From worker 2:	│        @ stdin:5
From worker 2:	│     [12] eval(m::Module, e::Any)
From worker 2:	│        @ Core ./boot.jl:489
From worker 2:	│     [13] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
From worker 2:	│        @ Base ./loading.jl:3003
From worker 2:	│     [14] include_string
From worker 2:	│        @ ./loading.jl:3013 [inlined]
From worker 2:	│     [15] exec_options(opts::Base.JLOptions)
From worker 2:	│        @ Base ./client.jl:342
From worker 2:	│     [16] _start()
From worker 2:	│        @ Base ./client.jl:577
From worker 2:	└ @ REPL.Precompile /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07FJYVY.0/build/default-grannysmith-C07ZQ07FJYVY-0/julialang/julia-master/julia-12de31301a/share/julia/stdlib/v1.14/REPL/src/precompile.jl:27
From worker 2:
From worker 2:	  1 dependency had output during precompilation:
From worker 2:	┌ REPL
From worker 2:	│  [Output was shown above]
From worker 2:	└
From worker 2:	ERROR: The following 1 package failed to precompile:
From worker 2:
From worker 2:	REPL
From worker 2:	Failed to precompile REPL [3fa0cd96-eef1-5676-8a61-b3b8758bbffb] to "/private/var/tmp/agent-tempdirs/default-grannysmith-C07ZQ07FJYVY.0/tmp/jl_jwkLRL/compiled/v1.14/REPL/jl_qJXwN1" (ProcessExited(1)).
From worker 2:

Metadata

Metadata

Assignees

No one assigned

    Labels

    packagesPackage management and loading

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions