Package evaluation of YaoHIR on Julia 1.12.0-DEV.2044 (c78016e4dc*) started at 2025-02-25T21:57:19.555 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.84s ################################################################################ # Installation # Installing YaoHIR... Resolving package versions... Installed MLStyle ────── v0.4.17 Installed YaoLocations ─ v0.1.6 Installed Expronicon ─── v0.10.14 Installed YaoHIR ─────── v0.2.3 Updating `~/.julia/environments/v1.12/Project.toml` [6769671a] + YaoHIR v0.2.3 Updating `~/.julia/environments/v1.12/Manifest.toml` [6b7a57c9] + Expronicon v0.10.14 [d8e11817] + MLStyle v0.4.17 [6769671a] + YaoHIR v0.2.3 [66df03fb] + YaoLocations v0.1.6 Installation completed after 1.33s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 6722.2 ms ✓ TestEnv 1 dependency successfully precompiled in 9 seconds. 25 already precompiled. Precompiling package dependencies... ERROR: LoadError: The following 2 direct dependencies failed to precompile: YaoHIRExt Failed to precompile YaoHIRExt [0da7d34d-5669-50af-8217-78529ddb08ff] to "/home/pkgeval/.julia/compiled/v1.12/YaoHIRExt/jl_RrbzNn". ERROR: LoadError: :(id := r"\G[a-z]{1}[A-Za-z0-9_]*") Stacktrace: [1] (::RBNF.var"##λ#407#collect_context##0")(λ#407::Expr) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:89 [2] collect_context(node::Expr) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:120 [3] var"@parser"(__source__::LineNumberNode, __module__::Module, lang::Any, node::Any) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:418 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:308 [5] top-level scope @ ~/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:6 [6] include(mod::Module, _path::String) @ Base ./Base.jl:307 [7] 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::String) @ Base ./loading.jl:3004 [8] top-level scope @ stdin:6 [9] eval(m::Module, e::Any) @ Core ./boot.jl:488 [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2855 [11] include_string @ ./loading.jl:2865 [inlined] [12] exec_options(opts::Base.JLOptions) @ Base ./client.jl:326 [13] _start() @ Base ./client.jl:560 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/parse.jl:27 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/parse.jl:1 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:1 in expression starting at stdin:6 ERROR: LoadError: Failed to precompile OpenQASM [a8821629-a4c0-4df7-9e00-12969ff383a7] to "/home/pkgeval/.julia/compiled/v1.12/OpenQASM/jl_ohiEDr". Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing) @ Base ./loading.jl:3291 [3] (::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId})() @ Base ./loading.jl:2682 [4] mkpidlock(f::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool}) @ FileWatching.Pidfile /opt/julia/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:93 [5] #mkpidlock#7 @ /opt/julia/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:88 [inlined] [6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64}) @ FileWatching.Pidfile /opt/julia/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:114 [7] apply_gr_kw(::NamedTuple, ::GlobalRef, ::Any, ::Vararg{Any}) @ Base ./reflection.jl:1280 [8] #invokelatest_gr#227 @ ./reflection.jl:1288 [inlined] [9] invokelatest_gr @ ./reflection.jl:1282 [inlined] [10] maybe_cachefile_lock(f::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64) @ Base ./loading.jl:3862 [11] maybe_cachefile_lock @ ./loading.jl:3859 [inlined] [12] __require_prelocked(pkg::Base.PkgId, env::String) @ Base ./loading.jl:2668 [13] _require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2493 [14] macro expansion @ ./loading.jl:2421 [inlined] [15] macro expansion @ ./lock.jl:376 [inlined] [16] __require(into::Module, mod::Symbol) @ Base ./loading.jl:2386 [17] #invoke_in_world#2 @ ./essentials.jl:1092 [inlined] [18] invoke_in_world @ ./essentials.jl:1088 [inlined] [19] require(into::Module, mod::Symbol) @ Base ./loading.jl:2366 [20] top-level scope @ ~/.julia/packages/YaoHIR/LoNxc/ext/YaoHIRExt.jl:6 [21] include(mod::Module, _path::String) @ Base ./Base.jl:307 [22] 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:3004 [23] top-level scope @ stdin:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:488 [25] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2855 [26] include_string @ ./loading.jl:2865 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:326 [28] _start() @ Base ./client.jl:560 in expression starting at /home/pkgeval/.julia/packages/YaoHIR/LoNxc/ext/YaoHIRExt.jl:1 in expression starting at stdin:6 OpenQASM Failed to precompile OpenQASM [a8821629-a4c0-4df7-9e00-12969ff383a7] to "/home/pkgeval/.julia/compiled/v1.12/OpenQASM/jl_CExmYo". ERROR: LoadError: :(id := r"\G[a-z]{1}[A-Za-z0-9_]*") Stacktrace: [1] (::RBNF.var"##λ#407#collect_context##0")(λ#407::Expr) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:89 [2] collect_context(node::Expr) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:120 [3] var"@parser"(__source__::LineNumberNode, __module__::Module, lang::Any, node::Any) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:418 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:308 [5] top-level scope @ ~/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:6 [6] include(mod::Module, _path::String) @ Base ./Base.jl:307 [7] 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:3004 [8] top-level scope @ stdin:6 [9] eval(m::Module, e::Any) @ Core ./boot.jl:488 [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2855 [11] include_string @ ./loading.jl:2865 [inlined] [12] exec_options(opts::Base.JLOptions) @ Base ./client.jl:326 [13] _start() @ Base ./client.jl:560 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/parse.jl:27 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/parse.jl:1 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:1 in expression starting at stdin:6 in expression starting at /PkgEval.jl/scripts/precompile.jl:37 Precompilation failed after 152.89s ################################################################################ # Testing # Testing YaoHIR Status `/tmp/jl_0lRD63/Project.toml` [6b7a57c9] Expronicon v0.10.14 [d8e11817] MLStyle v0.4.17 [a8821629] OpenQASM v2.1.4 [6769671a] YaoHIR v0.2.3 [66df03fb] YaoLocations v0.1.6 [8dfed614] Test v1.11.0 Status `/tmp/jl_0lRD63/Manifest.toml` [34da2185] Compat v4.16.0 [864edb3b] DataStructures v0.18.20 [6b7a57c9] Expronicon v0.10.14 [d8e11817] MLStyle v0.4.17 [a8821629] OpenQASM v2.1.4 [bac558e1] OrderedCollections v1.8.0 [8162dcfd] PrettyPrint v0.2.0 [83ef0002] RBNF v0.2.4 [6769671a] YaoHIR v0.2.3 [66df03fb] YaoLocations v0.1.6 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 Testing Running tests... Test Summary: | Pass Total Time instrinic | 3 3 0.9s X (intrinsic operation) Rx(1.0) (intrinsic operation) X(2.0) Chain(Gate(X, Locations(1)), %1, Ctrl(Gate(:(%1), Locations(3)), CtrlLocations(2)))Test Summary: | Pass Total Time types | 4 4 11.6s Test Summary: | Pass Total Time test match | 5 5 0.0s Test Summary: | Pass Total Time isequal | 1 1 0.5s Precompiling packages... Info Given OpenQASM was explicitly requested, output will be shown live  ERROR: LoadError: :(id := r"\G[a-z]{1}[A-Za-z0-9_]*") Stacktrace:  [1] (::RBNF.var"##λ#407#collect_context##0")(λ#407::Expr)  @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:89  [2] collect_context(node::Expr)  @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:120  [3] var"@parser"(__source__::LineNumberNode, __module__::Module, lang::Any, node::Any)  @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:418  [4] include(mapexpr::Function, mod::Module, _path::String)  @ Base ./Base.jl:308  [5] top-level scope  @ ~/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:6  [6] include(mod::Module, _path::String)  @ Base ./Base.jl:307  [7] 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:3004  [8] top-level scope  @ stdin:6  [9] eval(m::Module, e::Any)  @ Core ./boot.jl:488  [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)  @ Base ./loading.jl:2855  [11] include_string  @ ./loading.jl:2865 [inlined]  [12] exec_options(opts::Base.JLOptions)  @ Base ./client.jl:326  [13] _start()  @ Base ./client.jl:560 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/parse.jl:27 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/parse.jl:1 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:1 in expression starting at stdin:6 ✗ OpenQASM 0 dependencies successfully precompiled in 15 seconds. 16 already precompiled. ERROR: LoadError: The following 1 direct dependency failed to precompile: OpenQASM Failed to precompile OpenQASM [a8821629-a4c0-4df7-9e00-12969ff383a7] to "/home/pkgeval/.julia/compiled/v1.12/OpenQASM/jl_0sgBtW". ERROR: LoadError: :(id := r"\G[a-z]{1}[A-Za-z0-9_]*") Stacktrace: [1] (::RBNF.var"##λ#407#collect_context##0")(λ#407::Expr) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:89 [2] collect_context(node::Expr) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:120 [3] var"@parser"(__source__::LineNumberNode, __module__::Module, lang::Any, node::Any) @ RBNF ~/.julia/packages/RBNF/fdbVD/src/ParserGen.jl:418 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:308 [5] top-level scope @ ~/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:6 [6] include(mod::Module, _path::String) @ Base ./Base.jl:307 [7] 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:3004 [8] top-level scope @ stdin:6 [9] eval(m::Module, e::Any) @ Core ./boot.jl:488 [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2855 [11] include_string @ ./loading.jl:2865 [inlined] [12] exec_options(opts::Base.JLOptions) @ Base ./client.jl:326 [13] _start() @ Base ./client.jl:560 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/parse.jl:27 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/parse.jl:1 in expression starting at /home/pkgeval/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:1 in expression starting at stdin: in expression starting at /home/pkgeval/.julia/packages/YaoHIR/LoNxc/test/qasm.jl:3 in expression starting at /home/pkgeval/.julia/packages/YaoHIR/LoNxc/test/runtests.jl:10 Testing failed after 46.6s ERROR: LoadError: Package YaoHIR errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.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.12/Pkg/src/Operations.jl:2365 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2220 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.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.12/Pkg/src/API.jl:486 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:164 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:152 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:152 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:151 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:307 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:328 [12] _start() @ Base ./client.jl:560 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 225.71s: package fails to precompile