Package evaluation of YaoHIR on Julia 1.12.0-DEV.2153 (83dcbd426d*) started at 2025-03-31T10:24:13.150 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.72s ################################################################################ # Installation # Installing YaoHIR... Resolving package versions... Installed MLStyle ────── v0.4.17 Installed YaoLocations ─ v0.1.6 Installed YaoHIR ─────── v0.2.3 Installed Expronicon ─── v0.10.14 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.27s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 7002.6 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_PkwUSQ". 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:304 [5] top-level scope @ ~/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:6 [6] include(mod::Module, _path::String) @ Base ./Base.jl:303 [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:3015 [8] top-level scope @ stdin:5 [9] eval(m::Module, e::Any) @ Core ./boot.jl:489 [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2861 [11] include_string @ ./loading.jl:2871 [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:5 ERROR: LoadError: Failed to precompile OpenQASM [a8821629-a4c0-4df7-9e00-12969ff383a7] to "/home/pkgeval/.julia/compiled/v1.12/OpenQASM/jl_G518uy". 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:3302 [3] (::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId})() @ Base ./loading.jl:2688 [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:1279 [8] #invokelatest_gr#232 @ ./reflection.jl:1287 [inlined] [9] invokelatest_gr @ ./reflection.jl:1281 [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:3873 [11] maybe_cachefile_lock @ ./loading.jl:3870 [inlined] [12] __require_prelocked(pkg::Base.PkgId, env::String) @ Base ./loading.jl:2674 [13] _require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2502 [14] macro expansion @ ./loading.jl:2430 [inlined] [15] macro expansion @ ./lock.jl:376 [inlined] [16] __require(into::Module, mod::Symbol) @ Base ./loading.jl:2395 [17] require(into::Module, mod::Symbol) @ Base ./loading.jl:2371 [18] top-level scope @ ~/.julia/packages/YaoHIR/LoNxc/ext/YaoHIRExt.jl:6 [19] include(mod::Module, _path::String) @ Base ./Base.jl:303 [20] 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:3015 [21] top-level scope @ stdin:5 [22] eval(m::Module, e::Any) @ Core ./boot.jl:489 [23] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2861 [24] include_string @ ./loading.jl:2871 [inlined] [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:326 [26] _start() @ Base ./client.jl:560 in expression starting at /home/pkgeval/.julia/packages/YaoHIR/LoNxc/ext/YaoHIRExt.jl:1 in expression starting at stdin:5 OpenQASM Failed to precompile OpenQASM [a8821629-a4c0-4df7-9e00-12969ff383a7] to "/home/pkgeval/.julia/compiled/v1.12/OpenQASM/jl_tLGTVu". 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:304 [5] top-level scope @ ~/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:6 [6] include(mod::Module, _path::String) @ Base ./Base.jl:303 [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:3015 [8] top-level scope @ stdin:5 [9] eval(m::Module, e::Any) @ Core ./boot.jl:489 [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2861 [11] include_string @ ./loading.jl:2871 [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:5 in expression starting at /PkgEval.jl/scripts/precompile.jl:37 Precompilation failed after 162.17s ################################################################################ # Testing # Testing YaoHIR Status `/tmp/jl_YUHGa1/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_YUHGa1/Manifest.toml` [34da2185] Compat v4.16.0 [864edb3b] DataStructures v0.18.22 [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.8s 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 12.1s 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:304  [5] top-level scope  @ ~/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:6  [6] include(mod::Module, _path::String)  @ Base ./Base.jl:303  [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:3015  [8] top-level scope  @ stdin:5  [9] eval(m::Module, e::Any)  @ Core ./boot.jl:489  [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)  @ Base ./loading.jl:2861  [11] include_string  @ ./loading.jl:2871 [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:5 ✗ OpenQASM 0 dependencies successfully precompiled in 17 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_W7kN7K". 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:304 [5] top-level scope @ ~/.julia/packages/OpenQASM/sH52T/src/OpenQASM.jl:6 [6] include(mod::Module, _path::String) @ Base ./Base.jl:303 [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:3015 [8] top-level scope @ stdin:5 [9] eval(m::Module, e::Any) @ Core ./boot.jl:489 [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2861 [11] include_string @ ./loading.jl:2871 [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 50.03s 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{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{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{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:303 [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 240.52s: package fails to precompile