Package evaluation of YaoLang on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T13:57:28.578 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.86s ################################################################################ # Installation # Installing YaoLang... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [77e32715] + YaoLang v0.3.0 Updating `~/.julia/environments/v1.11/Manifest.toml` ⌅ [ec485272] + ArnoldiMethod v0.1.0 [34da2185] + Compat v4.16.0 [864edb3b] + DataStructures v0.18.22 [e2ba6199] + ExprTools v0.1.10 [7869d1d1] + IRTools v0.4.14 [d25df0c9] + Inflate v0.1.5 [093fc24a] + LightGraphs v1.3.5 ⌅ [d05aeea4] + LuxurySparse v0.6.13 [d8e11817] + MLStyle v0.4.17 [1914dd2f] + MacroTools v0.5.15 [bac558e1] + OrderedCollections v1.8.0 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [8162dcfd] + PrettyPrint v0.2.0 [83ef0002] + RBNF v0.2.4 [699a6c99] + SimpleTraits v0.9.4 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [a759f4b9] + TimerOutputs v0.5.28 ⌅ [0843a435] + YaoAPI v0.1.2 [77e32715] + YaoLang v0.3.0 ⌅ [3525faa3] + ZXCalculus v0.2.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [1a1011a3] + SharedArrays v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.11.0 [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [4536629a] + OpenBLAS_jll v0.3.27+1 [bea87d4a] + SuiteSparse_jll v7.7.0+0 [8e850b90] + libblastrampoline_jll v5.11.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 3.98s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 46.53s ################################################################################ # Testing # Testing YaoLang Status `/tmp/jl_gHTxRP/Project.toml` [e2ba6199] ExprTools v0.1.10 [7a1cc6ca] FFTW v1.8.1 [7869d1d1] IRTools v0.4.14 ⌅ [d05aeea4] LuxurySparse v0.6.13 [83ef0002] RBNF v0.2.4 [a759f4b9] TimerOutputs v0.5.28 ⌅ [0843a435] YaoAPI v0.1.2 ⌃ [e600142f] YaoArrayRegister v0.7.12 [77e32715] YaoLang v0.3.0 ⌅ [3525faa3] ZXCalculus v0.2.2 [37e2e46d] LinearAlgebra v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_gHTxRP/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 ⌅ [79e6a3ab] Adapt v3.7.2 ⌅ [ec485272] ArnoldiMethod v0.1.0 ⌅ [50ba71b6] BitBasis v0.7.4 [34da2185] Compat v4.16.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.22 [ffbed154] DocStringExtensions v0.9.4 [e2ba6199] ExprTools v0.1.10 [7a1cc6ca] FFTW v1.8.1 [7869d1d1] IRTools v0.4.14 [d25df0c9] Inflate v0.1.5 [92d709cd] IrrationalConstants v0.2.4 [692b3bcd] JLLWrappers v1.7.0 [f1f30506] LegibleLambdas v0.3.0 [093fc24a] LightGraphs v1.3.5 [2ab3a3ac] LogExpFunctions v0.3.29 ⌅ [d05aeea4] LuxurySparse v0.6.13 [d8e11817] MLStyle v0.4.17 [1914dd2f] MacroTools v0.5.15 [e1d29d7a] Missings v1.2.0 [bac558e1] OrderedCollections v1.8.0 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [8162dcfd] PrettyPrint v0.2.0 [83ef0002] RBNF v0.2.4 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [699a6c99] SimpleTraits v0.9.4 [a2af1166] SortingAlgorithms v1.2.1 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.0 ⌅ [2913bbd2] StatsBase v0.33.21 [a759f4b9] TimerOutputs v0.5.28 [9d95972d] TupleTools v1.6.0 ⌅ [0843a435] YaoAPI v0.1.2 ⌃ [e600142f] YaoArrayRegister v0.7.12 ⌅ [a8f54c17] YaoBase v0.14.7 [77e32715] YaoLang v0.3.0 ⌅ [3525faa3] ZXCalculus v0.2.2 [f5851436] FFTW_jll v3.3.11+0 [1d5cc7b8] IntelOpenMP_jll v2025.0.4+0 [856f044c] MKL_jll v2025.0.1+1 [1317d2d5] oneTBB_jll v2022.0.0+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [1a1011a3] SharedArrays v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.11.0 [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.6.0+0 [e37daf67] LibGit2_jll v1.7.2+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [4536629a] OpenBLAS_jll v0.3.27+1 [bea87d4a] SuiteSparse_jll v7.7.0+0 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.59.0+0 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. Testing Running tests... Precompiling YaoArrayRegister... 1051.8 ms ✓ LegibleLambdas 4026.7 ms ✓ StatsBase 1856.9 ms ✓ BitBasis 1558.3 ms ? LuxurySparse 2118.5 ms ? YaoBase Info Given YaoArrayRegister was explicitly requested, output will be shown live  WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. 2533.0 ms ? YaoArrayRegister 3 dependencies successfully precompiled in 14 seconds. 37 already precompiled. 3 dependencies failed but may be precompilable after restarting julia 3 dependencies had output during precompilation: ┌ LuxurySparse │ WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. │ ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. └ ┌ YaoBase │ WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. │ ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. └ ┌ YaoArrayRegister │ [Output was shown above] └ WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. Precompiling YaoBase... 1584.8 ms ? LuxurySparse Info Given YaoBase was explicitly requested, output will be shown live  WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. 2084.4 ms ? YaoBase WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. Precompiling LuxurySparse... Info Given LuxurySparse was explicitly requested, output will be shown live  WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. 1550.7 ms ? LuxurySparse WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. WARNING: Method definition convert(Type{var"#s14"} where var"#s14"<:(LinearAlgebra.Diagonal{T, V} where V<:AbstractArray{T, 1} where T), AbstractArray{T, 2} where T) in module LinearAlgebra at /source/usr/share/julia/stdlib/v1.11/LinearAlgebra/src/diagonal.jl:105 overwritten in module LuxurySparse at /home/pkgeval/.julia/packages/LuxurySparse/qV7pU/src/conversions.jl:114. WARNING: method definition for rot_mat at /home/pkgeval/.julia/packages/YaoBase/NIWfs/src/utils/math.jl:314 declares type variable N but does not use it. WARNING: method definition for #measure!#33 at /home/pkgeval/.julia/packages/YaoBase/NIWfs/src/abstract_register.jl:71 declares type variable MODE but does not use it. WARNING: method definition for #measure#34 at /home/pkgeval/.julia/packages/YaoBase/NIWfs/src/abstract_register.jl:89 declares type variable MODE but does not use it. WARNING: method definition for regscale! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/operations.jl:88 declares type variable T1 but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:82 declares type variable M but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:127 declares type variable M but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:372 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:383 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:394 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:501 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:501 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:501 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:501 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:501 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:501 declares type variable N but does not use it. WARNING: method definition for instruct! at /home/pkgeval/.julia/packages/YaoArrayRegister/lEHFd/src/instruct.jl:501 declares type variable N but does not use it. Test Summary: | Pass Total Time runtime | 29 29 3.0s compiler: Error During Test at /home/pkgeval/.julia/packages/YaoLang/8EhwC/test/runtests.jl:10 Got exception outside of a @test LoadError: type Symbol has no field args Stacktrace: [1] getproperty(x::Symbol, f::Symbol) @ Base ./Base.jl:49 [2] build_codeinfo(m::Module, defs::Dict{Symbol, Any}, ir::IRTools.Inner.IR) @ YaoLang.Compiler ~/.julia/packages/YaoLang/8EhwC/src/compiler/utils.jl:15 [3] codegen_circuit(ctx::JuliaASTCodegenCtx, ir::YaoIR) @ YaoLang.Compiler ~/.julia/packages/YaoLang/8EhwC/src/compiler/codegen.jl:57 [4] codegen(ctx::JuliaASTCodegenCtx, ir::YaoIR) @ YaoLang.Compiler ~/.julia/packages/YaoLang/8EhwC/src/compiler/codegen.jl:38 [5] device_m(__module__::Module, ex::Expr; target::Symbol, optimizer::Vector{Symbol}) @ YaoLang.Compiler ~/.julia/packages/YaoLang/8EhwC/src/compiler/compiler.jl:17 [6] device_m(__module__::Module, ex::Expr) @ YaoLang.Compiler ~/.julia/packages/YaoLang/8EhwC/src/compiler/compiler.jl:5 [7] var"@device"(__source__::LineNumberNode, __module__::Module, ex::Any) @ YaoLang.Compiler ~/.julia/packages/YaoLang/8EhwC/src/compiler/kwdefs.jl:52 [8] include(fname::String) @ Main ./sysimg.jl:38 [9] macro expansion @ ~/.julia/packages/YaoLang/8EhwC/test/runtests.jl:11 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [11] top-level scope @ ~/.julia/packages/YaoLang/8EhwC/test/runtests.jl:11 [12] include(fname::String) @ Main ./sysimg.jl:38 [13] top-level scope @ none:6 [14] eval @ ./boot.jl:430 [inlined] [15] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [16] _start() @ Base ./client.jl:531 in expression starting at /home/pkgeval/.julia/packages/YaoLang/8EhwC/test/compiler/circuit.jl:10 in expression starting at /home/pkgeval/.julia/packages/YaoLang/8EhwC/test/compiler/circuit.jl:10 Test Summary: | Error Total Time compiler | 1 1 1m10.0s ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/YaoLang/8EhwC/test/runtests.jl:10 Testing failed after 139.33s ERROR: LoadError: Package YaoLang errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.11/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.11/Pkg/src/Operations.jl:2124 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2007 [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.11/Pkg/src/API.jl:481 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 212.66s: illegal method overwrites during precompilation