Package evaluation to test SuperEnum on Julia 1.14.0-DEV.2593 (15c2b67521*) started at 2026-07-03T13:55:48.662 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 15.03s ################################################################################ # Installation # Installing SuperEnum... Resolving package versions... Installed SuperEnum ─ v0.1.4 Updating `~/.julia/environments/v1.14/Project.toml` [5c958174] + SuperEnum v0.1.4 Updating `~/.julia/environments/v1.14/Manifest.toml` [5c958174] + SuperEnum v0.1.4 [2a0f44e3] + Base64 v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.13.0 [9e88b42a] + Serialization v1.11.0 [f489334b] + StyledStrings v1.13.0 [8dfed614] + Test v1.11.0 Installation completed after 1.27s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 8.9 s ✓ TestEnv 1 dependency successfully precompiled in 9 seconds. 27 already precompiled. Precompiling package dependencies... Precompiling project... 38.2 s ✓ SuperEnum 1 dependency successfully precompiled in 38 seconds. 8 already precompiled. Precompilation completed after 82.23s ################################################################################ # Testing # Testing SuperEnum Status `/tmp/jl_cU56zA/Project.toml` [5c958174] SuperEnum v0.1.4 [8dfed614] Test v1.11.0 Status `/tmp/jl_cU56zA/Manifest.toml` [5c958174] SuperEnum v0.1.4 [2a0f44e3] Base64 v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.13.0 [8dfed614] Test v1.11.0 Testing Running tests... ┌ Info: JuliaLowering threw given input: │ code = │ :($(Expr(Symbol("hygienic-scope"), :(module $(Expr(:escape, :Vehical)) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:152 =# │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:155 =# │ primitive type $(Expr(:escape, :VehicalEnum)) <: Enum{Int32} 32 end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:156 =# │ function ($(Expr(:escape, :VehicalEnum)))(x::Integer) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:156 =# │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:157 =# │ 0 <= x <= 1 || enum_argument_error(:VehicalEnum, x) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:158 =# │ return bitcast($(Expr(:escape, :VehicalEnum)), convert(Int32, x)) │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:160 =# │ SuperEnum.basetype(::Type{$(Expr(:escape, :VehicalEnum))}) = begin │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:160 =# │ $(Expr(:escape, Int32)) │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:161 =# │ Base.typemin(x::Type{$(Expr(:escape, :VehicalEnum))}) = begin │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:161 =# │ ($(Expr(:escape, :VehicalEnum)))(0) │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:162 =# │ Base.typemax(x::Type{$(Expr(:escape, :VehicalEnum))}) = begin │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:162 =# │ ($(Expr(:escape, :VehicalEnum)))(1) │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:163 =# │ Base.isless(x::$(Expr(:escape, :VehicalEnum)), y::$(Expr(:escape, :VehicalEnum))) = begin │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:163 =# │ isless((Int32)(x), (Int32)(y)) │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:164 =# │ let insts = ntuple((i->begin │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:164 =# │ ($(Expr(:escape, :VehicalEnum)))((Int32[0, 1])[i]) │ end), 2) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:165 =# │ Base.instances(::Type{$(Expr(:escape, :VehicalEnum))}) = begin │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:165 =# │ insts │ end │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:167 =# │ function Base.string(x::$(Expr(:escape, :VehicalEnum))) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:167 =# │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:168 =# │ for (sym, i, str) = Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:169 =# │ if i == (Int32)(x) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:170 =# │ return str │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:168 =# │ end │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:174 =# │ function Base.print(io::IO, x::$(Expr(:escape, :VehicalEnum))) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:174 =# │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:175 =# │ for (sym, i, str) = Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:176 =# │ if i == (Int32)(x) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:177 =# │ Base.print(io, sym) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:177 =# │ break │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:175 =# │ end │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:181 =# │ function Base.show(io::IO, x::$(Expr(:escape, :VehicalEnum))) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:181 =# │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:182 =# │ if get(io, :compact, false) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:183 =# │ print(io, x) │ else │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:185 =# │ print(io, x, "::") │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:186 =# │ show(IOContext(io, :compact => true), typeof(x)) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:187 =# │ print(io, " = ") │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:188 =# │ show(io, (Int32)(x)) │ end │ end │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:191 =# │ function Base.show(io::IO, ::MIME"text/plain", t::Type{$(Expr(:escape, :VehicalEnum))}) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:191 =# │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:192 =# │ print(io, "Enum ") │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:193 =# │ Base.show_datatype(io, t) │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:194 =# │ print(io, ":") │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:195 =# │ for (sym, i) = Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:196 =# │ print(io, "\n", sym, " = ") │ #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:197 =# │ show(io, i) │ end │ end │ const $(Expr(:escape, :car)) = ($(Expr(:escape, :VehicalEnum)))(0) │ export $(Expr(:escape, :car)) │ const $(Expr(:escape, :truck)) = ($(Expr(:escape, :VehicalEnum)))(1) │ export $(Expr(:escape, :truck)) │ end), SuperEnum, :(#= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/test/runtests.jl:5 =#)))) │ st0 = │ SyntaxTree with attributes mod,kind,var_id,toplevel_pure,scope_type,context,syntax_flags,name_val,meta,value,jl_source,is_toplevel_thunk,source │ [hygienic-scope] | │ [module] | │ true :: Value | │ [escape] | │ Vehical :: Identifier | │ [block] | │ [primitive] | │ [<:] | │ [escape] | │ VehicalEnum :: Identifier | │ [curly] | │ Enum :: Identifier | │ Int32 :: Value | │ 32 :: Value | │ [function] | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ [::] | │ x :: Identifier | │ Integer :: Identifier | │ [block] | │ [||] | │ [comparison] | │ 0 :: Value | │ <= :: Identifier | │ x :: Identifier | │ <= :: Identifier | │ 1 :: Value | │ [call] | │ enum_argument_error :: Identifier | │ [inert] | │ VehicalEnum :: Identifier | │ x :: Identifier | │ [return] | │ [call] | │ bitcast :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [call] | │ convert :: Identifier | │ Int32 :: Value | │ x :: Identifier | │ [=] | │ [call] | │ [.] | │ SuperEnum :: Identifier | │ [inert] | │ basetype :: Identifier | │ [::] | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [escape] | │ Int32 :: Value | │ [=] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ typemin :: Identifier | │ [::] | │ x :: Identifier | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ 0 :: Value | │ [=] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ typemax :: Identifier | │ [::] | │ x :: Identifier | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ 1 :: Value | │ [=] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ isless :: Identifier | │ [::] | │ x :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [::] | │ y :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [call] | │ isless :: Identifier | │ [call] | │ Int32 :: Value | │ x :: Identifier | │ [call] | │ Int32 :: Value | │ y :: Identifier | │ [let] | │ [=] | │ insts :: Identifier | │ [call] | │ ntuple :: Identifier | │ [->] | │ i :: Identifier | │ [block] | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ [ref] | │ Int32[0, 1] :: Value | │ i :: Identifier | │ 2 :: Value | │ [block] | │ [=] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ instances :: Identifier | │ [::] | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ insts :: Identifier | │ [function] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ string :: Identifier | │ [::] | │ x :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [for] | │ [=] | │ [tuple] | │ sym :: Identifier | │ i :: Identifier | │ str :: Identifier | │ Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] :: Value | │ [block] | │ [if] | │ [call] | │ == :: Identifier | │ i :: Identifier | │ [call] | │ Int32 :: Value | │ x :: Identifier | │ [block] | │ [return] | │ str :: Identifier | │ [function] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ print :: Identifier | │ [::] | │ io :: Identifier | │ IO :: Identifier | │ [::] | │ x :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [for] | │ [=] | │ [tuple] | │ sym :: Identifier | │ i :: Identifier | │ str :: Identifier | │ Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] :: Value | │ [block] | │ [if] | │ [call] | │ == :: Identifier | │ i :: Identifier | │ [call] | │ Int32 :: Value | │ x :: Identifier | │ [block] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ print :: Identifier | │ io :: Identifier | │ sym :: Identifier | │ [break] | │ [function] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ show :: Identifier | │ [::] | │ io :: Identifier | │ IO :: Identifier | │ [::] | │ x :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [if] | │ [call] | │ get :: Identifier | │ io :: Identifier | │ [inert] | │ compact :: Identifier | │ false :: Value | │ [block] | │ [call] | │ print :: Identifier | │ io :: Identifier | │ x :: Identifier | │ [block] | │ [call] | │ print :: Identifier | │ io :: Identifier | │ x :: Identifier | │ "::" :: Value | │ [call] | │ show :: Identifier | │ [call] | │ IOContext :: Identifier | │ io :: Identifier | │ [call] | │ => :: Identifier | │ [inert] | │ compact :: Identifier | │ true :: Value | │ [call] | │ typeof :: Identifier | │ x :: Identifier | │ [call] | │ print :: Identifier | │ io :: Identifier | │ " = " :: Value | │ [call] | │ show :: Identifier | │ io :: Identifier | │ [call] | │ Int32 :: Value | │ x :: Identifier | │ [function] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ show :: Identifier | │ [::] | │ io :: Identifier | │ IO :: Identifier | │ [::] | │ [macrocall] | │ @MIME_str :: Identifier | │ :(#= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:191 =#) :: Value | │ "text/plain" :: Value | │ [::] | │ t :: Identifier | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [call] | │ print :: Identifier | │ io :: Identifier | │ "Enum " :: Value | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ show_datatype :: Identifier | │ io :: Identifier | │ t :: Identifier | │ [call] | │ print :: Identifier | │ io :: Identifier | │ ":" :: Value | │ [for] | │ [=] | │ [tuple] | │ sym :: Identifier | │ i :: Identifier | │ Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] :: Value | │ [block] | │ [call] | │ print :: Identifier | │ io :: Identifier | │ "\n" :: Value | │ sym :: Identifier | │ " = " :: Value | │ [call] | │ show :: Identifier | │ io :: Identifier | │ i :: Identifier | │ [const] | │ [=] | │ [escape] | │ car :: Identifier | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ 0 :: Value | │ [export] | │ [escape] | │ car :: Identifier | │ [const] | │ [=] | │ [escape] | │ truck :: Identifier | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ 1 :: Value | │ [export] | │ [escape] | │ truck :: Identifier | │ SuperEnum :: Value | │ :(#= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/test/runtests.jl:5 =#) :: Value | │ │ st1 = │ SyntaxTree with attributes mod,kind,var_id,toplevel_pure,scope_type,context,syntax_flags,name_val,meta,value,jl_source,is_toplevel_thunk,source │ [module] | [old,SL(7NsJ7iVygzn,SuperEnum,SL(LR7uXKc62FR,Main,)),], │ true :: Value | [old,SL(7NsJ7iVygzn,SuperEnum,SL(LR7uXKc62FR,Main,)),], │ Vehical :: Identifier | [old,SL(LR7uXKc62FR,Main,),], │ [block] | │ [primitive] | │ [<:] | │ [escape] | │ VehicalEnum :: Identifier | │ [curly] | │ Enum :: Identifier | │ Int32 :: Value | │ 32 :: Value | │ [function] | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ [::] | │ x :: Identifier | │ Integer :: Identifier | │ [block] | │ [||] | │ [comparison] | │ 0 :: Value | │ <= :: Identifier | │ x :: Identifier | │ <= :: Identifier | │ 1 :: Value | │ [call] | │ enum_argument_error :: Identifier | │ [inert] | │ VehicalEnum :: Identifier | │ x :: Identifier | │ [return] | │ [call] | │ bitcast :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [call] | │ convert :: Identifier | │ Int32 :: Value | │ x :: Identifier | │ [=] | │ [call] | │ [.] | │ SuperEnum :: Identifier | │ [inert] | │ basetype :: Identifier | │ [::] | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [escape] | │ Int32 :: Value | │ [=] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ typemin :: Identifier | │ [::] | │ x :: Identifier | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ 0 :: Value | │ [=] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ typemax :: Identifier | │ [::] | │ x :: Identifier | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ 1 :: Value | │ [=] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ isless :: Identifier | │ [::] | │ x :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [::] | │ y :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [call] | │ isless :: Identifier | │ [call] | │ Int32 :: Value | │ x :: Identifier | │ [call] | │ Int32 :: Value | │ y :: Identifier | │ [let] | │ [=] | │ insts :: Identifier | │ [call] | │ ntuple :: Identifier | │ [->] | │ i :: Identifier | │ [block] | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ [ref] | │ Int32[0, 1] :: Value | │ i :: Identifier | │ 2 :: Value | │ [block] | │ [=] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ instances :: Identifier | │ [::] | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ insts :: Identifier | │ [function] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ string :: Identifier | │ [::] | │ x :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [for] | │ [=] | │ [tuple] | │ sym :: Identifier | │ i :: Identifier | │ str :: Identifier | │ Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] :: Value | │ [block] | │ [if] | │ [call] | │ == :: Identifier | │ i :: Identifier | │ [call] | │ Int32 :: Value | │ x :: Identifier | │ [block] | │ [return] | │ str :: Identifier | │ [function] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ print :: Identifier | │ [::] | │ io :: Identifier | │ IO :: Identifier | │ [::] | │ x :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [for] | │ [=] | │ [tuple] | │ sym :: Identifier | │ i :: Identifier | │ str :: Identifier | │ Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] :: Value | │ [block] | │ [if] | │ [call] | │ == :: Identifier | │ i :: Identifier | │ [call] | │ Int32 :: Value | │ x :: Identifier | │ [block] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ print :: Identifier | │ io :: Identifier | │ sym :: Identifier | │ [break] | │ [function] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ show :: Identifier | │ [::] | │ io :: Identifier | │ IO :: Identifier | │ [::] | │ x :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [if] | │ [call] | │ get :: Identifier | │ io :: Identifier | │ [inert] | │ compact :: Identifier | │ false :: Value | │ [block] | │ [call] | │ print :: Identifier | │ io :: Identifier | │ x :: Identifier | │ [block] | │ [call] | │ print :: Identifier | │ io :: Identifier | │ x :: Identifier | │ "::" :: Value | │ [call] | │ show :: Identifier | │ [call] | │ IOContext :: Identifier | │ io :: Identifier | │ [call] | │ => :: Identifier | │ [inert] | │ compact :: Identifier | │ true :: Value | │ [call] | │ typeof :: Identifier | │ x :: Identifier | │ [call] | │ print :: Identifier | │ io :: Identifier | │ " = " :: Value | │ [call] | │ show :: Identifier | │ io :: Identifier | │ [call] | │ Int32 :: Value | │ x :: Identifier | │ [function] | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ show :: Identifier | │ [::] | │ io :: Identifier | │ IO :: Identifier | │ [::] | │ [macrocall] | │ @MIME_str :: Identifier | │ :(#= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:191 =#) :: Value | │ "text/plain" :: Value | │ [::] | │ t :: Identifier | │ [curly] | │ Type :: Identifier | │ [escape] | │ VehicalEnum :: Identifier | │ [block] | │ [call] | │ print :: Identifier | │ io :: Identifier | │ "Enum " :: Value | │ [call] | │ [.] | │ Base :: Identifier | │ [inert] | │ show_datatype :: Identifier | │ io :: Identifier | │ t :: Identifier | │ [call] | │ print :: Identifier | │ io :: Identifier | │ ":" :: Value | │ [for] | │ [=] | │ [tuple] | │ sym :: Identifier | │ i :: Identifier | │ Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")] :: Value | │ [block] | │ [call] | │ print :: Identifier | │ io :: Identifier | │ "\n" :: Value | │ sym :: Identifier | │ " = " :: Value | │ [call] | │ show :: Identifier | │ io :: Identifier | │ i :: Identifier | │ [const] | │ [=] | │ [escape] | │ car :: Identifier | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ 0 :: Value | │ [export] | │ [escape] | │ car :: Identifier | │ [const] | │ [=] | │ [escape] | │ truck :: Identifier | │ [call] | │ [escape] | │ VehicalEnum :: Identifier | │ 1 :: Value | │ [export] | │ [escape] | │ truck :: Identifier | │ │ file = "/home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl" │ line = 152 └ mod = Main superenum.macro: Error During Test at /home/pkgeval/.julia/packages/SuperEnum/vsEWn/test/runtests.jl:4 Got exception outside of a @test LoweringError: #= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:152 =# - `module` is only allowed at top level Expression: (module true Vehical (block (primitive (<: (escape VehicalEnum) (curly Enum Int32)) 32) (function (call (escape VehicalEnum) (:: x Integer)) (block (|| (comparison 0 <= x <= 1) (call enum_argument_error (inert VehicalEnum) x)) (return (call bitcast (escape VehicalEnum) (call convert Int32 x))))) (= (call (. SuperEnum (inert basetype)) (:: (curly Type (escape VehicalEnum)))) (block (escape Int32))) (= (call (. Base (inert typemin)) (:: x (curly Type (escape VehicalEnum)))) (block (call (escape VehicalEnum) 0))) (= (call (. Base (inert typemax)) (:: x (curly Type (escape VehicalEnum)))) (block (call (escape VehicalEnum) 1))) (= (call (. Base (inert isless)) (:: x (escape VehicalEnum)) (:: y (escape VehicalEnum))) (block (call isless (call Int32 x) (call Int32 y)))) (let (= insts (call ntuple (-> i (block (call (escape VehicalEnum) (ref Int32[0, 1] i)))) 2)) (block (= (call (. Base (inert instances)) (:: (curly Type (escape VehicalEnum)))) (block insts)))) (function (call (. Base (inert string)) (:: x (escape VehicalEnum))) (block (for (= (tuple sym i str) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (if (call == i (call Int32 x)) (block (return str))))))) (function (call (. Base (inert print)) (:: io IO) (:: x (escape VehicalEnum))) (block (for (= (tuple sym i str) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (if (call == i (call Int32 x)) (block (call (. Base (inert print)) io sym) (break))))))) (function (call (. Base (inert show)) (:: io IO) (:: x (escape VehicalEnum))) (block (if (call get io (inert compact) false) (block (call print io x)) (block (call print io x "::") (call show (call IOContext io (call => (inert compact) true)) (call typeof x)) (call print io " = ") (call show io (call Int32 x)))))) (function (call (. Base (inert show)) (:: io IO) (:: (macrocall @MIME_str :(#= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:191 =#) "text/plain")) (:: t (curly Type (escape VehicalEnum)))) (block (call print io "Enum ") (call (. Base (inert show_datatype)) io t) (call print io ":") (for (= (tuple sym i) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (call print io "\n" sym " = ") (call show io i))))) (const (= (escape car) (call (escape VehicalEnum) 0))) (export (escape car)) (const (= (escape truck) (call (escape VehicalEnum) 1))) (export (escape truck)))) Containing expressions: (module true Vehical (block (primitive (<: (escape VehicalEnum) (curly Enum Int32)) 32) (function (call (escape VehicalEnum) (:: x Integer)) (block (|| (comparison 0 <= x <= 1) (call enum_argument_error (inert VehicalEnum) x)) (return (call bitcast (escape VehicalEnum) (call convert Int32 x))))) (= (call (. SuperEnum (inert basetype)) (:: (curly Type (escape VehicalEnum)))) (block (escape Int32))) (= (call (. Base (inert typemin)) (:: x (curly Type (escape VehicalEnum)))) (block (call (escape VehicalEnum) 0))) (= (call (. Base (inert typemax)) (:: x (curly Type (escape VehicalEnum)))) (block (call (escape VehicalEnum) 1))) (= (call (. Base (inert isless)) (:: x (escape VehicalEnum)) (:: y (escape VehicalEnum))) (block (call isless (call Int32 x) (call Int32 y)))) (let (= insts (call ntuple (-> i (block (call (escape VehicalEnum) (ref Int32[0, 1] i)))) 2)) (block (= (call (. Base (inert instances)) (:: (curly Type (escape VehicalEnum)))) (block insts)))) (function (call (. Base (inert string)) (:: x (escape VehicalEnum))) (block (for (= (tuple sym i str) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (if (call == i (call Int32 x)) (block (return str))))))) (function (call (. Base (inert print)) (:: io IO) (:: x (escape VehicalEnum))) (block (for (= (tuple sym i str) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (if (call == i (call Int32 x)) (block (call (. Base (inert print)) io sym) (break))))))) (function (call (. Base (inert show)) (:: io IO) (:: x (escape VehicalEnum))) (block (if (call get io (inert compact) false) (block (call print io x)) (block (call print io x "::") (call show (call IOContext io (call => (inert compact) true)) (call typeof x)) (call print io " = ") (call show io (call Int32 x)))))) (function (call (. Base (inert show)) (:: io IO) (:: (macrocall @MIME_str :(#= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:191 =#) "text/plain")) (:: t (curly Type (escape VehicalEnum)))) (block (call print io "Enum ") (call (. Base (inert show_datatype)) io t) (call print io ":") (for (= (tuple sym i) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (call print io "\n" sym " = ") (call show io i))))) (const (= (escape car) (call (escape VehicalEnum) 0))) (export (escape car)) (const (= (escape truck) (call (escape VehicalEnum) 1))) (export (escape truck)))) Detailed provenance: (module true Vehical (block (primitive (<: (escape VehicalEnum) (curly Enum Int32)) 32) (function (call (escape VehicalEnum) (:: x Integer)) (block (|| (comparison 0 <= x <= 1) (call enum_argument_error (inert VehicalEnum) x)) (return (call bitcast (escape VehicalEnum) (call convert Int32 x))))) (= (call (. SuperEnum (inert basetype)) (:: (curly Type (escape VehicalEnum)))) (block (escape Int32))) (= (call (. Base (inert typemin)) (:: x (curly Type (escape VehicalEnum)))) (block (call (escape VehicalEnum) 0))) (= (call (. Base (inert typemax)) (:: x (curly Type (escape VehicalEnum)))) (block (call (escape VehicalEnum) 1))) (= (call (. Base (inert isless)) (:: x (escape VehicalEnum)) (:: y (escape VehicalEnum))) (block (call isless (call Int32 x) (call Int32 y)))) (let (= insts (call ntuple (-> i (block (call (escape VehicalEnum) (ref Int32[0, 1] i)))) 2)) (block (= (call (. Base (inert instances)) (:: (curly Type (escape VehicalEnum)))) (block insts)))) (function (call (. Base (inert string)) (:: x (escape VehicalEnum))) (block (for (= (tuple sym i str) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (if (call == i (call Int32 x)) (block (return str))))))) (function (call (. Base (inert print)) (:: io IO) (:: x (escape VehicalEnum))) (block (for (= (tuple sym i str) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (if (call == i (call Int32 x)) (block (call (. Base (inert print)) io sym) (break))))))) (function (call (. Base (inert show)) (:: io IO) (:: x (escape VehicalEnum))) (block (if (call get io (inert compact) false) (block (call print io x)) (block (call print io x "::") (call show (call IOContext io (call => (inert compact) true)) (call typeof x)) (call print io " = ") (call show io (call Int32 x)))))) (function (call (. Base (inert show)) (:: io IO) (:: (macrocall @MIME_str :(#= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:191 =#) "text/plain")) (:: t (curly Type (escape VehicalEnum)))) (block (call print io "Enum ") (call (. Base (inert show_datatype)) io t) (call print io ":") (for (= (tuple sym i) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (call print io "\n" sym " = ") (call show io i))))) (const (= (escape car) (call (escape VehicalEnum) 0))) (export (escape car)) (const (= (escape truck) (call (escape VehicalEnum) 1))) (export (escape truck)))) └─ (module true (escape Vehical) (block (primitive (<: (escape VehicalEnum) (curly Enum Int32)) 32) (function (call (escape VehicalEnum) (:: x Integer)) (block (|| (comparison 0 <= x <= 1) (call enum_argument_error (inert VehicalEnum) x)) (return (call bitcast (escape VehicalEnum) (call convert Int32 x))))) (= (call (. SuperEnum (inert basetype)) (:: (curly Type (escape VehicalEnum)))) (block (escape Int32))) (= (call (. Base (inert typemin)) (:: x (curly Type (escape VehicalEnum)))) (block (call (escape VehicalEnum) 0))) (= (call (. Base (inert typemax)) (:: x (curly Type (escape VehicalEnum)))) (block (call (escape VehicalEnum) 1))) (= (call (. Base (inert isless)) (:: x (escape VehicalEnum)) (:: y (escape VehicalEnum))) (block (call isless (call Int32 x) (call Int32 y)))) (let (= insts (call ntuple (-> i (block (call (escape VehicalEnum) (ref Int32[0, 1] i)))) 2)) (block (= (call (. Base (inert instances)) (:: (curly Type (escape VehicalEnum)))) (block insts)))) (function (call (. Base (inert string)) (:: x (escape VehicalEnum))) (block (for (= (tuple sym i str) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (if (call == i (call Int32 x)) (block (return str))))))) (function (call (. Base (inert print)) (:: io IO) (:: x (escape VehicalEnum))) (block (for (= (tuple sym i str) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (if (call == i (call Int32 x)) (block (call (. Base (inert print)) io sym) (break))))))) (function (call (. Base (inert show)) (:: io IO) (:: x (escape VehicalEnum))) (block (if (call get io (inert compact) false) (block (call print io x)) (block (call print io x "::") (call show (call IOContext io (call => (inert compact) true)) (call typeof x)) (call print io " = ") (call show io (call Int32 x)))))) (function (call (. Base (inert show)) (:: io IO) (:: (macrocall @MIME_str :(#= /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:191 =#) "text/plain")) (:: t (curly Type (escape VehicalEnum)))) (block (call print io "Enum ") (call (. Base (inert show_datatype)) io t) (call print io ":") (for (= (tuple sym i) Tuple{Symbol, Integer, String}[(:car, 0, "car"), (:truck, 1, "truck")]) (block (call print io "\n" sym " = ") (call show io i))))) (const (= (escape car) (call (escape VehicalEnum) 0))) (export (escape car)) (const (= (escape truck) (call (escape VehicalEnum) 1))) (export (escape truck)))) └─ @ /home/pkgeval/.julia/packages/SuperEnum/vsEWn/src/SuperEnum.jl:152 Stacktrace: [1] expand_forms_2(ctx::Base.JuliaLowering.DesugaringContext{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, docs::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/desugaring.jl:4353 [2] expand_forms_2(ctx::Base.JuliaLowering.DesugaringContext{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/desugaring.jl:4176 [inlined] [3] expand_forms_2(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/desugaring.jl:4498 [4] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:30 [5] eval(m::Module, e::Any) @ Core boot.jl:522 [6] top-level scope @ ~/.julia/packages/SuperEnum/vsEWn/test/runtests.jl:4 [7] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [8] top-level scope @ none:6 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [11] _start() @ Base client.jl:596 Test Summary: | Pass Error Total Time superenum.macro | 1 1 2 8.9s RNG of the outermost testset: Random.Xoshiro(0x9ce016906e6cbc0b, 0xb0f2e15c5cb392a6, 0xeacf4a7f258f2f03, 0xa3e74689fa82e36a, 0xc1181ce719e796f2) ERROR: LoadError: Some tests did not pass: 1 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/SuperEnum/vsEWn/test/runtests.jl:4 Testing failed after 232.87s ERROR: LoadError: Package SuperEnum errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:3247 [3] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:587 [4] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [5] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [6] test(pkg::String; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [7] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [8] include(mod::Module, _path::String) @ Base Base.jl:325 [9] exec_options(opts::Base.JLOptions) @ Base client.jl:355 [10] _start() @ Base client.jl:596 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 357.1s: package tests unexpectedly errored