-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Description
Apparently this should not error, because StaticArrays is set to be compatible with Juila 1.6, but this is causing issues in CI Downgrade tests:
% julia +1.10 --startup-file=no
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.10.10 (2025-06-27)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.10) pkg> activate --temp
Activating new project at `/tmp/jl_u3IyTC`
(jl_u3IyTC) pkg> add StaticArrays@1.6.5
Resolving package versions...
Installed StaticArrays ─ v1.6.5
Updating `/tmp/jl_u3IyTC/Project.toml`
⌃ [90137ffa] + StaticArrays v1.6.5
Updating `/tmp/jl_u3IyTC/Manifest.toml`
⌃ [90137ffa] + StaticArrays v1.6.5
[1e83bf80] + StaticArraysCore v1.4.4
[56f22d72] + Artifacts
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[9a3f8284] + Random
[ea8e919c] + SHA v0.7.0
[e66e0078] + CompilerSupportLibraries_jll v1.1.1+0
[4536629a] + OpenBLAS_jll v0.3.23+4
[8e850b90] + libblastrampoline_jll v5.11.0+0
Info Packages marked with ⌃ have new versions available and may be upgradable.
✗ StaticArrays
Precompiling packages finished.
1 dependency successfully precompiled in 2 seconds
1 dependency errored.
For a report of the errors see `julia> err`. To retry use `pkg> precompile`
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:
StaticArrays
Failed to precompile StaticArrays [90137ffa-7385-5640-81b9-e52037218182] to "/home/leandro/.julia/compiled/v1.10/StaticArrays/jl_1zjuS7".
ERROR: LoadError: UndefVarError: `require_one_based_indexing` not defined
Stacktrace:
[1] include
@ ./Base.jl:495 [inlined]
[2] 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)
@ Base ./loading.jl:2292
[3] top-level scope
@ stdin:4
in expression starting at /home/leandro/.julia/packages/StaticArrays/cZ1ET/src/StaticArrays.jl:1
in expression starting at stdin:
julia>
``
Metadata
Metadata
Assignees
Labels
No labels