Package evaluation to test StanBlocks on Julia 1.14.0-DEV.3155 (07edee4e4c*) started at 2026-09-10T17:24:26.561 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 11.51s ################################################################################ # Installation # Installing StanBlocks... Resolving package versions... Installed StanLogDensityProblems ─ v0.1.13 Updating `~/.julia/environments/v1.14/Project.toml` [2e771a56] + StanBlocks v0.2.0 Updating `~/.julia/environments/v1.14/Manifest.toml` [dce04be8] + ArgCheck v2.5.0 [c88b6f0a] + BridgeStan v2.9.0 [9a962f9c] + DataAPI v1.16.0 [e2d170a0] + DataValueInterfaces v1.0.0 [ffbed154] + DocStringExtensions v0.9.5 [d25df0c9] + Inflate v0.1.5 [82899510] + IteratorInterfaceExtensions v1.0.0 [682c06a0] + JSON v1.8.0 [6fdf6af0] + LogDensityProblems v2.2.0 ⌅ [bac558e1] + OrderedCollections v1.8.2 [69de0a69] + Parsers v3.0.0 [aea7be01] + PrecompileTools v1.3.4 [21216c6a] + Preferences v1.5.2 [2e771a56] + StanBlocks v0.2.0 [a545de4d] + StanLogDensityProblems v0.1.13 [10745b16] + Statistics v1.11.5 [ec057cc2] + StructUtils v2.8.5 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.14.0 [0dad84c5] + ArgTools v1.2.0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.13.0 [b27032c2] + LibCURL v1.0.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.14.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [ca575930] + NetworkOptions v1.3.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.13.0 [f489334b] + StyledStrings v1.13.0 [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.5.7+0 [deac9b47] + LibCURL_jll v8.22.0+0 [29816b5a] + LibSSH2_jll v1.11.104+0 [14a3606d] + MozillaCACerts_jll v2026.8.13 [4536629a] + OpenBLAS_jll v0.3.34+0 [458c3c95] + OpenSSL_jll v3.5.8+0 [83775a58] + Zlib_jll v1.3.2+0 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.70.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.11s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... ┌ Warning: Could not use exact versions of packages in manifest, re-resolving └ @ TestEnv ~/.julia/packages/TestEnv/sTG3E/src/julia-1.13/activate_set.jl:78 Precompiling package dependencies... Precompiling project... 1.2 s ✓ StanLogDensityProblems 1.1 s ✓ PosteriorDB 248.5 s ✓ StanBlocks 1.1 s ✓ StanLogDensityProblems → StanLogDensityProblemsPosteriorDBExt 19.0 s ✓ StanBlocks → PosteriorDBExt 5 dependencies successfully precompiled in 271 seconds. 56 already precompiled. Precompilation completed after 278.97s ################################################################################ # Testing # Testing StanBlocks Test Could not use exact versions of packages in manifest, re-resolving. Note: if you do not check your manifest file into source control, then you can probably ignore this message. However, if you do check your manifest file into source control, then you probably want to pass the `allow_reresolve = false` kwarg when calling the `Pkg.test` function. Updating `/tmp/jl_Gquq1e/Project.toml` ⌃ [1c4bc282] + PosteriorDB v0.6.4 [f8b46487] + TestItemRunner v1.3.2 [8dfed614] ~ Test ⇒ v1.11.0 Updating `/tmp/jl_Gquq1e/Manifest.toml` [34da2185] + Compat v4.18.1 [0f8b85d8] + JSON3 v1.14.3 [deprecated] ⌅ [69de0a69] ↓ Parsers v3.0.0 ⇒ v2.8.8 ⌃ [1c4bc282] + PosteriorDB v0.6.4 [856f2bd8] + StructTypes v1.11.0 [f8b46487] + TestItemRunner v1.3.2 [1c621080] + TestItems v1.1.0 [a5390f91] + ZipFile v0.10.1 [b77e0a4c] + InteractiveUtils v1.11.0 [76f85450] + LibGit2 v1.11.0 [a63ad114] + Mmap v1.11.0 [44cfe95a] + Pkg v1.14.0 [9e88b42a] + Serialization v1.11.0 [8dfed614] ~ Test ⇒ v1.11.0 [e37daf67] + LibGit2_jll v1.9.7+0 [efcefdf7] + PCRE2_jll v10.48.0+0 [3f19e933] + p7zip_jll v17.8.2+0 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m` Info Packages marked with [deprecated] are no longer maintained. Use `status --deprecated -m` to see more information. Test Successfully re-resolved Status `/tmp/jl_Gquq1e/Project.toml` [c88b6f0a] BridgeStan v2.9.0 [6fdf6af0] LogDensityProblems v2.2.0 ⌃ [1c4bc282] PosteriorDB v0.6.4 [2e771a56] StanBlocks v0.2.0 [10745b16] Statistics v1.11.5 [f8b46487] TestItemRunner v1.3.2 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_Gquq1e/Manifest.toml` [dce04be8] ArgCheck v2.5.0 [c88b6f0a] BridgeStan v2.9.0 [34da2185] Compat v4.18.1 [9a962f9c] DataAPI v1.16.0 [e2d170a0] DataValueInterfaces v1.0.0 [ffbed154] DocStringExtensions v0.9.5 [d25df0c9] Inflate v0.1.5 [82899510] IteratorInterfaceExtensions v1.0.0 [682c06a0] JSON v1.8.0 [0f8b85d8] JSON3 v1.14.3 [deprecated] [6fdf6af0] LogDensityProblems v2.2.0 ⌅ [bac558e1] OrderedCollections v1.8.2 ⌅ [69de0a69] Parsers v2.8.8 ⌃ [1c4bc282] PosteriorDB v0.6.4 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [2e771a56] StanBlocks v0.2.0 [a545de4d] StanLogDensityProblems v0.1.13 [10745b16] Statistics v1.11.5 [856f2bd8] StructTypes v1.11.0 [ec057cc2] StructUtils v2.8.5 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.14.0 [f8b46487] TestItemRunner v1.3.2 [1c621080] TestItems v1.1.0 [a5390f91] ZipFile v0.10.1 [0dad84c5] ArgTools v1.2.0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.14.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.14.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.13.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.5.7+0 [deac9b47] LibCURL_jll v8.22.0+0 [e37daf67] LibGit2_jll v1.9.7+0 [29816b5a] LibSSH2_jll v1.11.104+0 [14a3606d] MozillaCACerts_jll v2026.8.13 [4536629a] OpenBLAS_jll v0.3.34+0 [458c3c95] OpenSSL_jll v3.5.8+0 [efcefdf7] PCRE2_jll v10.48.0+0 [83775a58] Zlib_jll v1.3.2+0 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.70.0+0 [3f19e933] p7zip_jll v17.8.2+0 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. Info Packages marked with [deprecated] are no longer maintained. Testing Running tests... ┌ Warning: `_unsetindex!(A, i)` is deprecated, use `Base.unsetindex!(A, i)` instead. │ caller = _delete!(h::OrderedCollections.OrderedDict{Symbol, Any}, index::Int64) at ordered_dict.jl:441 [inlined] └ @ OrderedCollections ~/.julia/packages/OrderedCollections/MglBA/src/ordered_dict.jl:441 ┌ Warning: `_unsetindex!(A, i)` is deprecated, use `Base.unsetindex!(A, i)` instead. │ caller = _delete!(h::OrderedCollections.OrderedDict{Symbol, Any}, index::Int64) at ordered_dict.jl:442 [inlined] └ @ OrderedCollections ~/.julia/packages/OrderedCollections/MglBA/src/ordered_dict.jl:442 slic: weighted observation HOF uses one base family token: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:23 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [37] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:32 [38] eval(m::Module, e::Any) @ Core boot.jl:618 [39] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [40] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [41] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [42] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [43] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [44] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [45] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [46] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [47] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [48] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [50] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [51] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [52] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [53] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [54] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [55] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [56] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [57] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [58] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [59] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [60] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [61] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [62] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [63] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [64] top-level scope @ none:6 [65] eval(m::Module, e::Any) @ Core boot.jl:618 [66] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [67] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [68] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:32 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [37] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:32 [38] eval(m::Module, e::Any) @ Core boot.jl:618 [39] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [40] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [41] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [42] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [43] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [44] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [45] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [46] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [47] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [48] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [50] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: truncated/censored/interval-censored distribution HOFs: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:119 Got exception outside of a @test LoadError: StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 ┌ [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) │ @ Base strings/io.jl:35 ├ [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] ├ [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] ├ [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ Base strings/io.jl:35 ├ [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}, delim::String) │ @ Base strings/io.jl:350 ├ [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 ├ [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ Base strings/io.jl:35 ├ [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) │ @ Base strings/io.jl:48 ├ [21] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 ├ [22] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:227 [inlined] ╰────── repeated 2 times ┌ [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) │ @ Base strings/io.jl:35 ├ [34] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] ├ [35] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] ├ [36] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ Base strings/io.jl:35 ├ [37] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) │ @ Base strings/io.jl:350 ├ [38] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 ├ [39] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ Base strings/io.jl:35 ├ [40] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) │ @ Base strings/io.jl:48 ├ [41] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 ├ [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 ╰────── repeated 2 times [53] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [54] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [55] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [56] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [57] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [58] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [59] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [60] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [61] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [62] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:227 [inlined] [63] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [64] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [65] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [66] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [67] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [68] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [69] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [70] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [71] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [72] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [73] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [74] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [75] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [76] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [77] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [78] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [79] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [80] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [81] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [82] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [83] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [84] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [85] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [86] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [87] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [88] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [89] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [90] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [91] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [92] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [93] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [94] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [95] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [96] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [97] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [98] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [99] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [100] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [101] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [102] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [103] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [104] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [105] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [106] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [107] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [108] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:138 [109] eval(m::Module, e::Any) @ Core boot.jl:618 [110] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [111] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [112] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [113] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [114] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [115] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [116] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [117] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [118] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [119] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [120] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [121] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [122] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [123] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [124] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [125] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [126] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [127] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [128] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [129] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [130] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [131] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [132] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [133] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [134] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [135] top-level scope @ none:6 [136] eval(m::Module, e::Any) @ Core boot.jl:618 [137] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [138] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [139] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:137 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 ┌ [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) │ @ Base strings/io.jl:35 ├ [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] ├ [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] ├ [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ Base strings/io.jl:35 ├ [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}, delim::String) │ @ Base strings/io.jl:350 ├ [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 ├ [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ Base strings/io.jl:35 ├ [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) │ @ Base strings/io.jl:48 ├ [21] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 ├ [22] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:227 [inlined] ╰────── repeated 2 times ┌ [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) │ @ Base strings/io.jl:35 ├ [34] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] ├ [35] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] ├ [36] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) │ @ Base strings/io.jl:35 ├ [37] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) │ @ Base strings/io.jl:350 ├ [38] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 ├ [39] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ Base strings/io.jl:35 ├ [40] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) │ @ Base strings/io.jl:48 ├ [41] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 ├ [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 ╰────── repeated 2 times [53] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [54] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [55] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [56] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [57] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [58] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [59] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [60] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [61] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [62] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:227 [inlined] [63] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [64] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [65] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [66] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [67] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [68] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [69] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [70] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [71] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [72] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.erfc), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(/), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(-), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sqrt), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(log), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [73] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [74] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [75] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [76] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [77] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [78] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [79] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [80] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [81] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [82] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [83] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [84] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [85] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [86] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [87] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [88] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [89] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [90] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [91] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [92] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [93] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [94] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [95] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [96] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [97] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [98] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [99] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [100] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [101] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [102] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [103] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [104] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [105] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [106] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [107] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [108] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:138 [109] eval(m::Module, e::Any) @ Core boot.jl:618 [110] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [111] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [112] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [113] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [114] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [115] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [116] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [117] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [118] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [119] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [120] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [121] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: explicit bounded Julia emission from @deffun @juliacompat: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1701 Got exception outside of a @test LoadError: StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [37] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [38] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [39] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [40] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [41] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [44] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [46] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [47] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [48] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [49] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [50] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:1772 [51] eval(m::Module, e::Any) @ Core boot.jl:618 [52] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [53] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [54] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [55] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [56] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [57] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [58] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [59] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [60] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [61] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [62] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [63] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [64] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [65] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [66] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [67] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [68] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [69] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [70] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [71] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [72] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [73] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [74] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [75] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [76] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [77] top-level scope @ none:6 [78] eval(m::Module, e::Any) @ Core boot.jl:618 [79] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [80] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [81] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1772 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [37] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [38] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [39] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [40] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [41] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [44] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [46] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [47] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [48] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [49] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [50] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:1772 [51] eval(m::Module, e::Any) @ Core boot.jl:618 [52] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [53] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [54] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [55] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [56] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [57] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [58] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [59] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [60] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [61] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [62] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [63] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: normal(loc,scale): Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1797 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1797 =# @slic((; obs = 0.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1798 =# loc ~ std_normal() #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1799 =# scale ~ std_normal(; lower = 0.0) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1800 =# obs ~ normal(loc, scale) end)) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 ┌ [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) │ @ Base strings/io.jl:35 ├ [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) │ @ Base strings/io.jl:350 ├ [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 ╰───── repeated 2 times [12] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [13] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [14] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:114 [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanType{real, 0}, ::Vararg{Any}) @ Base strings/io.jl:48 [18] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:parameters}, x::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:97 [inlined] [19] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}})(stmt::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [20] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, s::Int64) @ Base generator.jl:49 [inlined] [21] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, offs::Int64, st::Int64) @ Base array.jl:920 [22] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, st::Int64) @ Base array.jl:875 [inlined] [23] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [24] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}) @ Base array.jl:774 [25] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [26] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [27] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ Base strings/io.jl:35 [28] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [31] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [32] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [33] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [34] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [35] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [36] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [37] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [38] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [39] eval(m::Module, e::Any) @ Core boot.jl:618 [40] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [41] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [42] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [43] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [44] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [45] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [46] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [47] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [48] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [49] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [51] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [52] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [53] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [54] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [55] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [56] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [57] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [58] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [59] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [60] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [61] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [62] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [63] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [64] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [65] top-level scope @ none:6 [66] eval(m::Module, e::Any) @ Core boot.jl:618 [67] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [68] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [69] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.Join}, delim::String) @ Base strings/io.jl:350 [11] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [12] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [13] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [14] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:114 [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanType{real, 0}, ::Vararg{Any}) @ Base strings/io.jl:48 [18] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:parameters}, x::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:97 [inlined] [19] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}})(stmt::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [20] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, s::Int64) @ Base generator.jl:49 [inlined] [21] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, offs::Int64, st::Int64) @ Base array.jl:920 [22] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, st::Int64) @ Base array.jl:875 [inlined] [23] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [24] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}) @ Base array.jl:774 [25] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [26] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [27] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ Base strings/io.jl:35 [28] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [31] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [32] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [33] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [34] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [35] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [36] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [37] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [38] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: required @deffun kwarg: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1806 Test threw exception Expression: transpiles(kw_required_model) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:164 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{tuple(...), 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [21] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [22] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [23] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [24] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [29] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [30] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [31] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [32] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [33] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, s::Int64) @ Base generator.jl:49 [inlined] [34] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, offs::Int64, st::Int64) @ Base array.jl:920 [35] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, st::Int64) @ Base array.jl:875 [36] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [37] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [38] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [39] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [41] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [45] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [46] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [47] transpiles(p::StanBlocks.SlicModel; re::Bool) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:37 [48] transpiles(p::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:36 [49] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [50] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [52] eval(m::Module, e::Any) @ Core boot.jl:618 [53] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [54] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [55] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [56] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [57] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [58] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [59] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [60] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [61] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [62] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [63] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [64] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [65] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [66] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [67] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [68] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [69] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [70] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [71] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [72] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [73] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [74] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [75] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [76] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [77] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [78] top-level scope @ none:6 [79] eval(m::Module, e::Any) @ Core boot.jl:618 [80] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [81] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [82] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:164 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{tuple(...), 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [21] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [22] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [23] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [24] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [29] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [30] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [31] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [32] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_scale), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [33] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, s::Int64) @ Base generator.jl:49 [inlined] [34] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, offs::Int64, st::Int64) @ Base array.jl:920 [35] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, st::Int64) @ Base array.jl:875 [36] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [37] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [38] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [39] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [41] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [45] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [46] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [47] transpiles(p::StanBlocks.SlicModel; re::Bool) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:37 [48] transpiles(p::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:36 [49] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [50] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: required + optional @deffun kwargs: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1819 Test threw exception Expression: transpiles(kw_mixed_model) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:164 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{tuple(...), 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [21] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [22] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [23] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [24] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [29] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [30] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [31] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [32] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [33] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, s::Int64) @ Base generator.jl:49 [inlined] [34] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, offs::Int64, st::Int64) @ Base array.jl:920 [35] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, st::Int64) @ Base array.jl:875 [36] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [37] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [38] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [39] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [41] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [45] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [46] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [47] transpiles(p::StanBlocks.SlicModel; re::Bool) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:37 [48] transpiles(p::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:36 [49] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [50] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [52] eval(m::Module, e::Any) @ Core boot.jl:618 [53] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [54] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [55] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [56] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [57] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [58] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [59] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [60] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [61] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [62] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [63] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [64] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [65] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [66] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [67] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [68] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [69] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [70] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [71] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [72] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [73] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [74] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [75] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [76] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [77] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [78] top-level scope @ none:6 [79] eval(m::Module, e::Any) @ Core boot.jl:618 [80] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [81] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [82] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:164 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{tuple(...), 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [21] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [22] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [23] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [24] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [29] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [30] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [31] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [32] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [33] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, s::Int64) @ Base generator.jl:49 [inlined] [34] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, offs::Int64, st::Int64) @ Base array.jl:920 [35] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, st::Int64) @ Base array.jl:875 [36] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [37] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [38] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [39] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [41] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [45] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [46] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [47] transpiles(p::StanBlocks.SlicModel; re::Bool) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:37 [48] transpiles(p::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:36 [49] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [50] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: required + optional @deffun kwargs: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1820 Test threw exception Expression: transpiles(kw_opt_default_model) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:164 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{tuple(...), 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [21] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [22] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [23] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [24] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [29] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [30] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [31] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [32] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [33] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, s::Int64) @ Base generator.jl:49 [inlined] [34] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, offs::Int64, st::Int64) @ Base array.jl:920 [35] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, st::Int64) @ Base array.jl:875 [36] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [37] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [38] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [39] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [41] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [45] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [46] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [47] transpiles(p::StanBlocks.SlicModel; re::Bool) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:37 [48] transpiles(p::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:36 [49] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [50] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [52] eval(m::Module, e::Any) @ Core boot.jl:618 [53] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [54] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [55] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [56] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [57] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [58] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [59] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [60] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [61] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [62] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [63] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [64] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [65] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [66] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [67] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [68] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [69] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [70] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [71] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [72] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [73] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [74] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [75] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [76] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [77] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [78] top-level scope @ none:6 [79] eval(m::Module, e::Any) @ Core boot.jl:618 [80] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [81] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [82] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:164 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{tuple(...), 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [21] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [22] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [23] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [24] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [29] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [30] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [31] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [32] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Core.kwcall), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:nt}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{Val{:kw}, Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{tuple(...), 0}}, StanBlocks.StanExpr{typeof(Main.var"##146".StanBlocksTestSetup.kw_req_opt), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [33] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, s::Int64) @ Base generator.jl:49 [inlined] [34] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, offs::Int64, st::Int64) @ Base array.jl:920 [35] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, st::Int64) @ Base array.jl:875 [36] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [37] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [38] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [39] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [41] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [45] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [46] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [47] transpiles(p::StanBlocks.SlicModel; re::Bool) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:37 [48] transpiles(p::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:36 [49] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [50] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: simple: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1832 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1832 =# @slic((; obs = 0.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1833 =# loc ~ std_normal() #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1834 =# obs ~ simple(loc) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [53] eval(m::Module, e::Any) @ Core boot.jl:618 [54] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [55] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [56] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [57] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [58] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [59] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [60] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [61] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [62] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [63] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [64] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [65] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [66] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [67] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [68] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [69] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [70] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [71] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [72] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [73] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [74] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [75] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [76] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [77] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [78] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [79] top-level scope @ none:6 [80] eval(m::Module, e::Any) @ Core boot.jl:618 [81] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [82] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [83] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: vararg: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1842 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1842 =# @slic((; obs = 0.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1843 =# loc ~ std_normal() #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1844 =# obs ~ vararg(loc) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [53] eval(m::Module, e::Any) @ Core boot.jl:618 [54] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [55] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [56] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [57] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [58] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [59] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [60] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [61] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [62] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [63] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [64] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [65] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [66] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [67] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [68] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [69] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [70] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [71] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [72] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [73] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [74] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [75] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [76] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [77] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [78] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [79] top-level scope @ none:6 [80] eval(m::Module, e::Any) @ Core boot.jl:618 [81] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [82] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [83] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: fof(simple): Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1852 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1852 =# @slic((; obs = 0.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1853 =# loc ~ std_normal() #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1854 =# obs ~ fof(simple, loc) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [37] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [38] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [39] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [40] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [41] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [42] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [43] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [45] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [47] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [48] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [49] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [50] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [51] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [52] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [53] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [54] eval(m::Module, e::Any) @ Core boot.jl:618 [55] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [56] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [57] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [58] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [59] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [60] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [61] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [62] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [63] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [64] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [65] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [66] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [67] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [68] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [69] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [70] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [71] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [72] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [73] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [74] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [75] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [76] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [77] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [78] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [79] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [80] top-level scope @ none:6 [81] eval(m::Module, e::Any) @ Core boot.jl:618 [82] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [83] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [84] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [37] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [38] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [39] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [40] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [41] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [42] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [43] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [45] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [47] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [48] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [49] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [50] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [51] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [52] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [53] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: @lpxf HOF probability-function tokens: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1863 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, s::Int64) @ Base generator.jl:49 [inlined] [26] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, offs::Int64, st::Int64) @ Base array.jl:920 [27] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, st::Int64) @ Base array.jl:875 [28] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [29] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [30] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [31] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [33] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [35] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [36] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [37] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [38] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [39] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:1870 [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [53] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [54] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [55] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [56] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [57] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [58] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [59] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [60] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [61] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [62] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [63] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [64] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [65] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [66] top-level scope @ none:6 [67] eval(m::Module, e::Any) @ Core boot.jl:618 [68] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [69] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [70] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1870 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(Main.var"##146".StanBlocksTestSetup.generic_interval), Tuple{StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lpdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lcdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_lccdf), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{typeof(StanBlocks.builtin.normal_rng), StanBlocks.StanType{func, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, s::Int64) @ Base generator.jl:49 [inlined] [26] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, offs::Int64, st::Int64) @ Base array.jl:920 [27] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, st::Int64) @ Base array.jl:875 [28] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [29] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [30] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [31] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [33] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [35] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [36] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [37] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [38] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [39] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:1870 [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: srs2(vararg): Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1905 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1905 =# @slic((; obs = 0.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1906 =# loc ~ std_normal() #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1907 =# obs ~ srs2(vararg, loc) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [37] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [38] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [39] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [40] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [41] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [42] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [45] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [47] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [48] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [49] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [50] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [51] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [52] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [53] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [54] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [55] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [56] eval(m::Module, e::Any) @ Core boot.jl:618 [57] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [58] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [59] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [60] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [61] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [62] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [63] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [64] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [65] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [66] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [67] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [68] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [69] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [70] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [71] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [72] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [73] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [74] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [75] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [76] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [77] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [78] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [79] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [80] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [81] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [82] top-level scope @ none:6 [83] eval(m::Module, e::Any) @ Core boot.jl:618 [84] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [85] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [86] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [37] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [38] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [39] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [40] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [41] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [42] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [45] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [47] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [48] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [49] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [50] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [51] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [52] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [53] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [54] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [55] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: srs2(vararg, extra): Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1915 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1915 =# @slic((; obs = 0.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1916 =# loc ~ std_normal() #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1917 =# obs ~ srs2(vararg, loc, (1, 2, 3)) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [37] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [38] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [39] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [40] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [41] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [42] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [45] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [47] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [48] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [49] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [50] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [51] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [52] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [53] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [54] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [55] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [56] eval(m::Module, e::Any) @ Core boot.jl:618 [57] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [58] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [59] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [60] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [61] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [62] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [63] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [64] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [65] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [66] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [67] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [68] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [69] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [70] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [71] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [72] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [73] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [74] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [75] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [76] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [77] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [78] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [79] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [80] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [81] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [82] top-level scope @ none:6 [83] eval(m::Module, e::Any) @ Core boot.jl:618 [84] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [85] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [86] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [37] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [38] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [39] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [40] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [41] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [42] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [45] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [47] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [48] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [49] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [50] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [51] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [52] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [53] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [54] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [55] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: stan_model re-data: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1925 Test threw exception Expression: stanc_compiles((stan_model(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1925 =# @slic((; obs = randn(5)), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1926 =# loc ~ std_normal() #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1927 =# scale ~ std_normal(; lower = 0.0) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1928 =# obs ~ normal(loc, scale) end)))(; obs = randn(10))) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 ┌ [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) │ @ Base strings/io.jl:35 ├ [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) │ @ Base strings/io.jl:350 ├ [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 ╰───── repeated 2 times [12] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [13] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [14] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:114 [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanType{real, 0}, ::Vararg{Any}) @ Base strings/io.jl:48 [18] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:parameters}, x::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:97 [inlined] [19] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}})(stmt::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [20] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, s::Int64) @ Base generator.jl:49 [inlined] [21] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, offs::Int64, st::Int64) @ Base array.jl:920 [22] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, st::Int64) @ Base array.jl:875 [inlined] [23] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [24] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}) @ Base array.jl:774 [25] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [26] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [27] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ Base strings/io.jl:35 [28] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [31] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [32] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [33] stanc_compiles(model::StanBlocks.StanModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [inlined] [34] stanc_compiles(model::StanBlocks.StanModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [35] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [36] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [37] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [38] eval(m::Module, e::Any) @ Core boot.jl:618 [39] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [40] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [41] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [42] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [43] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [44] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [45] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [46] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [47] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [48] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [50] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [51] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [52] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [53] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [54] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [55] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [56] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [57] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [58] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [59] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [60] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [61] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [62] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [63] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [64] top-level scope @ none:6 [65] eval(m::Module, e::Any) @ Core boot.jl:618 [66] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [67] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [68] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.Join}, delim::String) @ Base strings/io.jl:350 [11] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [12] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [13] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [14] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:114 [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanType{real, 0}, ::Vararg{Any}) @ Base strings/io.jl:48 [18] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:parameters}, x::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:97 [inlined] [19] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}})(stmt::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [20] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, s::Int64) @ Base generator.jl:49 [inlined] [21] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, offs::Int64, st::Int64) @ Base array.jl:920 [22] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, st::Int64) @ Base array.jl:875 [inlined] [23] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [24] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}) @ Base array.jl:774 [25] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [26] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [27] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ Base strings/io.jl:35 [28] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [31] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [32] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [33] stanc_compiles(model::StanBlocks.StanModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [inlined] [34] stanc_compiles(model::StanBlocks.StanModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [35] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [36] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [37] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] BridgeStan not found at location specified by $BRIDGESTAN environment variable slic: @slic f(…)=… sub-model functions: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1937 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1937 =# @slic((; x = 0.7, y = [1.0, 2.0, 3.0]), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1938 =# mu ~ linpred(x) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1939 =# y ~ normal(mu, 1) end)) BridgeStan not loaded and STANC_PATH not set Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] _stanc_bin() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:78 [3] stanc_check(stan_code::String; warn_pedantic::Bool) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:90 [4] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [5] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [6] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [7] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] BridgeStan not found at location specified by $BRIDGESTAN environment variable slic: @slic f(…)=… sub-model functions: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1942 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1942 =# @slic((; p = 1.0, q = 2.0, y = [1.0, 2.0]), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1943 =# w ~ affine(p, q) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1944 =# y ~ normal(w, 1) end)) BridgeStan not loaded and STANC_PATH not set Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] _stanc_bin() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:78 [3] stanc_check(stan_code::String; warn_pedantic::Bool) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/test.jl:90 [4] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [5] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [6] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [7] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] issue9: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1964 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1964 =# @slic((; n = 10), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1965 =# x ~ issue9(n) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [23] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [24] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [25] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [28] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [29] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [30] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [31] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [32] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [33] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [34] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [35] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [37] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [38] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [39] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [41] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [42] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [43] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [44] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [45] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [46] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [47] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [48] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [49] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [50] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [51] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [52] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [53] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [54] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [55] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [56] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [57] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [58] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [59] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [60] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [61] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [62] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [63] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [64] eval(m::Module, e::Any) @ Core boot.jl:618 [65] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [66] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [67] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [68] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [69] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [70] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [71] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [72] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [73] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [74] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [75] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [76] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [77] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [78] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [79] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [80] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [81] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [82] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [83] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [84] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [85] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [86] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [87] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [88] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [89] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [90] top-level scope @ none:6 [91] eval(m::Module, e::Any) @ Core boot.jl:618 [92] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [93] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [94] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [23] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [24] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [25] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [28] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [29] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [30] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [31] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [32] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [33] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [34] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [35] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [37] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [38] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [39] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [41] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [42] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [43] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [44] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [45] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [46] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [47] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [48] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [49] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [50] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [51] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [52] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [53] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [54] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [55] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [56] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [57] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [58] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [59] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [60] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [61] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [62] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [63] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] issue9: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1967 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1967 =# @slic((; n = 10, y = 1.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1968 =# x ~ issue9(n) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1969 =# y ~ vararg(x) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base generator.jl:49 [inlined] [35] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [36] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [37] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [38] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [39] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [40] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [41] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [42] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [44] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [45] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [46] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [47] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [48] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [49] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [51] eval(m::Module, e::Any) @ Core boot.jl:618 [52] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [53] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [54] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [55] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [56] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [57] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [58] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [59] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [60] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [61] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [62] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [63] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [64] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [65] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [66] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [67] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [68] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [69] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [70] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [71] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [72] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [73] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [74] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [75] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [76] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [77] top-level scope @ none:6 [78] eval(m::Module, e::Any) @ Core boot.jl:618 [79] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [80] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [81] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base generator.jl:49 [inlined] [35] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [36] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [37] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [38] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [39] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [40] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [41] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [42] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [44] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [45] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [46] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [47] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [48] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [49] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [50] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] issue10: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1977 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1977 =# @slic((; n = 10), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1978 =# y ~ std_normal(; n) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1979 =# x = issue10a(y) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [37] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [38] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [39] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [40] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [41] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [42] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [43] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [45] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [47] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [48] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [49] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [50] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [51] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [52] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [53] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [54] eval(m::Module, e::Any) @ Core boot.jl:618 [55] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [56] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [57] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [58] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [59] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [60] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [61] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [62] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [63] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [64] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [65] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [66] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [67] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [68] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [69] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [70] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [71] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [72] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [73] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [74] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [75] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [76] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [77] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [78] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [79] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [80] top-level scope @ none:6 [81] eval(m::Module, e::Any) @ Core boot.jl:618 [82] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [83] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [84] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [37] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [38] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [39] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [40] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [41] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [42] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [43] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [45] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [47] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [48] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [49] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [50] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [51] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [52] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [53] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] issue10: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1981 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1981 =# @slic((; n = 10), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1982 =# y ~ std_normal(; n) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1983 =# x = issue10b(y) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [37] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [38] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [39] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [40] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [41] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [42] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [43] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [45] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [47] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [48] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [49] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [50] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [51] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [52] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [53] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [54] eval(m::Module, e::Any) @ Core boot.jl:618 [55] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [56] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [57] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [58] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [59] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [60] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [61] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [62] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [63] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [64] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [65] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [66] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [67] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [68] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [69] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [70] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [71] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [72] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [73] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [74] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [75] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [76] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [77] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [78] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [79] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [80] top-level scope @ none:6 [81] eval(m::Module, e::Any) @ Core boot.jl:618 [82] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [83] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [84] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [37] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [38] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [39] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [40] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [41] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [42] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [43] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [44] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [45] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [46] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [47] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [48] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [49] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [50] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [51] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [52] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [53] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: UDF signature dimension use analysis: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1999 Test threw exception Expression: stanc_compiles(model) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [35] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [36] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [37] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [38] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [53] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [54] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [55] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [56] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [57] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [58] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [59] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [60] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [61] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [62] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [63] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [64] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [65] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [66] top-level scope @ none:6 [67] eval(m::Module, e::Any) @ Core boot.jl:618 [68] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [69] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [70] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [35] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [36] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [37] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [38] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: UDF signature dimension use analysis: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:1991 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [35] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2000 [36] eval(m::Module, e::Any) @ Core boot.jl:618 [37] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [38] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [39] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [40] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [41] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [42] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [43] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [44] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [45] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [46] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [47] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [48] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [49] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [50] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [51] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [53] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [54] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [55] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [56] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [57] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [58] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [59] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [60] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [61] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [62] top-level scope @ none:6 [63] eval(m::Module, e::Any) @ Core boot.jl:618 [64] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [65] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [66] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2000 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:generated_quantities}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal_rng), Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(sum), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:generated_quantities}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:generated_quantities}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [35] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2000 [36] eval(m::Module, e::Any) @ Core boot.jl:618 [37] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [38] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [39] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [40] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [41] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [42] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [43] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [44] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [45] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [46] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [47] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [48] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: @lhs base tracetype binds body-unused observation dimensions: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2031 Test threw exception Expression: stanc_compiles(vec_model) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base generator.jl:49 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [53] eval(m::Module, e::Any) @ Core boot.jl:618 [54] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [55] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [56] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [57] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [58] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [59] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [60] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [61] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [62] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [63] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [64] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [65] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [66] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [67] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [68] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [69] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [70] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [71] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [72] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [73] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [74] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [75] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [76] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [77] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [78] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [79] top-level scope @ none:6 [80] eval(m::Module, e::Any) @ Core boot.jl:618 [81] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [82] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [83] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base generator.jl:49 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: @lhs base tracetype binds body-unused observation dimensions: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2019 Got exception outside of a @test LoadError: StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base generator.jl:49 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [48] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2032 [49] eval(m::Module, e::Any) @ Core boot.jl:618 [50] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [51] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [52] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [53] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [54] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [55] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [56] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [57] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [58] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [59] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [60] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [61] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [62] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [63] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [64] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [65] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [66] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [67] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [68] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [69] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [70] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [71] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [72] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [73] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [74] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [75] top-level scope @ none:6 [76] eval(m::Module, e::Any) @ Core boot.jl:618 [77] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [78] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [79] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2032 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base generator.jl:49 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [48] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2032 [49] eval(m::Module, e::Any) @ Core boot.jl:618 [50] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [51] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [52] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [53] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [54] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [55] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [56] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [57] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [58] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [59] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [60] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [61] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: cholesky_factor scalar element access has a tracetype (D5): Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2062 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{cholesky_factor_corr, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [37] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2076 [38] eval(m::Module, e::Any) @ Core boot.jl:618 [39] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [40] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [41] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [42] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [43] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [44] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [45] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [46] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [47] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [48] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [50] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [51] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [52] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [53] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [54] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [55] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [56] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [57] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [58] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [59] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [60] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [61] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [62] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [63] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [64] top-level scope @ none:6 [65] eval(m::Module, e::Any) @ Core boot.jl:618 [66] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [67] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [68] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2076 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{cholesky_factor_corr, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{cholesky_factor_corr, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.lkj_corr_cholesky), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{cholesky_factor_corr, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [37] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2076 [38] eval(m::Module, e::Any) @ Core boot.jl:618 [39] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [40] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [41] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [42] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [43] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [44] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [45] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [46] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [47] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [48] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [50] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 ┌ Warning: `_unsetindex!(A, i)` is deprecated, use `Base.unsetindex!(A, i)` instead. │ caller = _delete!(h::OrderedCollections.OrderedDict{Any, Any}, index::Int64) at ordered_dict.jl:441 [inlined] └ @ OrderedCollections ~/.julia/packages/OrderedCollections/MglBA/src/ordered_dict.jl:441 ┌ Warning: `_unsetindex!(A, i)` is deprecated, use `Base.unsetindex!(A, i)` instead. │ caller = _delete!(h::OrderedCollections.OrderedDict{Any, Any}, index::Int64) at ordered_dict.jl:442 [inlined] └ @ OrderedCollections ~/.julia/packages/OrderedCollections/MglBA/src/ordered_dict.jl:442 issue12: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2096 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2096 =# @slic((; n = 10, y = 1.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2097 =# x ~ sm12a(; n) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2098 =# y ~ simple(x) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [53] eval(m::Module, e::Any) @ Core boot.jl:618 [54] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [55] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [56] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [57] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [58] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [59] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [60] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [61] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [62] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [63] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [64] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [65] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [66] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [67] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [68] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [69] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [70] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [71] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [72] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [73] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [74] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [75] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [76] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [77] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [78] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [79] top-level scope @ none:6 [80] eval(m::Module, e::Any) @ Core boot.jl:618 [81] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [82] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [83] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] issue12: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2100 Test threw exception Expression: stanc_compiles(#= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2100 =# @slic((; n = 10, y = 1.0), begin #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2101 =# x ~ sm12b(; n) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2102 =# y ~ simple(x) end)) StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [53] eval(m::Module, e::Any) @ Core boot.jl:618 [54] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [55] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [56] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [57] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [58] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [59] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [60] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [61] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [62] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [63] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [64] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [65] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [66] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [67] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [68] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [69] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [70] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [71] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [72] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [73] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [74] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [75] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [76] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [77] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [78] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [79] top-level scope @ none:6 [80] eval(m::Module, e::Any) @ Core boot.jl:618 [81] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [82] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [83] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [22] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [23] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [24] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [25] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [26] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [27] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [28] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [29] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [31] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [32] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [33] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [34] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [35] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [36] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [37] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [38] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [39] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [40] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [41] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [42] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [43] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [44] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [46] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [47] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [48] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [49] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [50] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [51] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] ┌ Warning: `_unsetindex!(A, i)` is deprecated, use `Base.unsetindex!(A, i)` instead. │ caller = _delete!(h::OrderedCollections.OrderedDict{Any, Any}, index::Int64) at ordered_dict.jl:441 [inlined] └ @ OrderedCollections ~/.julia/packages/OrderedCollections/MglBA/src/ordered_dict.jl:441 ┌ Warning: `_unsetindex!(A, i)` is deprecated, use `Base.unsetindex!(A, i)` instead. │ caller = _delete!(h::OrderedCollections.OrderedDict{Any, Any}, index::Int64) at ordered_dict.jl:442 [inlined] └ @ OrderedCollections ~/.julia/packages/OrderedCollections/MglBA/src/ordered_dict.jl:442 issue15: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2110 Test threw exception Expression: stan_code((Base.merge(sm15a, quote #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2111 =# xx = append_row(x, x) #= /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2112 =# return xx end))(; n = 10, y = 1.0)) == stan_code(sm15b(; n = 10, y = 1.0)) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:transformed_data}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [35] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [37] eval(m::Module, e::Any) @ Core boot.jl:618 [38] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [39] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [40] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [41] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [42] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [43] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [44] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [45] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [46] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [47] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [48] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [49] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [50] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [51] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [52] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [53] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [54] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [55] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [56] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [57] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [58] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [59] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [60] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [61] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [62] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [63] top-level scope @ none:6 [64] eval(m::Module, e::Any) @ Core boot.jl:618 [65] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [66] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [67] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:transformed_data}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [35] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] issue15: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2114 Test threw exception Expression: stanc_compiles(sm15a(; n = 10, y = 1.0)) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:transformed_data}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [35] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [36] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [37] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [38] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [53] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [54] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [55] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [56] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [57] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [58] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [59] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [60] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [61] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [62] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [63] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [64] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [65] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [66] top-level scope @ none:6 [67] eval(m::Module, e::Any) @ Core boot.jl:618 [68] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [69] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [70] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:transformed_data}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [35] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [36] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [37] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [38] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] issue15: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2115 Test threw exception Expression: stanc_compiles(sm15b(; n = 10, y = 1.0)) StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:transformed_data}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [35] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [36] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [37] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [38] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [53] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [54] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [55] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [56] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [57] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [58] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [59] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [60] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [61] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [62] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [63] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [64] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [65] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [66] top-level scope @ none:6 [67] eval(m::Module, e::Any) @ Core boot.jl:618 [68] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [69] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [70] _start() @ Base client.jl:695 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:transformed_data}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.rep_vector), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{int, 0}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [inlined] [35] stanc_compiles(model::StanBlocks.SlicModel; re::Bool) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:395 [36] stanc_compiles(model::StanBlocks.SlicModel) @ Main.var"##146".StanBlocksTestSetup ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:394 [37] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:407 [38] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:560 [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:786 [inlined] slic: Base.merge fixed-value bindings replace statements with data: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2155 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:227 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:transformed_data}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [35] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2162 [36] eval(m::Module, e::Any) @ Core boot.jl:618 [37] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [38] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [39] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [40] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [41] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [42] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [43] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [44] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [45] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [46] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [47] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [48] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [49] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [50] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [51] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [52] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [53] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [54] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [55] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [56] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [57] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [58] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [59] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [60] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [61] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [62] top-level scope @ none:6 [63] eval(m::Module, e::Any) @ Core boot.jl:618 [64] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [65] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [66] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2162 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:227 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{vector, 1}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{vector, 1}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:transformed_data}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(*), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}}}, StanBlocks.StanType{vector, 1}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [23] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base generator.jl:49 [inlined] [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:transformed_data}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:transformed_data}) @ Base strings/io.jl:35 [29] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [30] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [31] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [33] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [34] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [35] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2162 [36] eval(m::Module, e::Any) @ Core boot.jl:618 [37] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [38] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [39] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [40] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [41] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [42] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [43] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [44] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [45] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [46] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [47] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [48] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: Base.merge composes two whole sb models: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2208 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 ┌ [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) │ @ Base strings/io.jl:35 ├ [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) │ @ Base strings/io.jl:350 ├ [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) │ @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 ╰───── repeated 2 times [12] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [13] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [14] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:114 [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanType{real, 0}, ::Vararg{Any}) @ Base strings/io.jl:48 [18] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:parameters}, x::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:97 [inlined] [19] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}})(stmt::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [20] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, s::Int64) @ Base generator.jl:49 [inlined] [21] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, offs::Int64, st::Int64) @ Base array.jl:920 [22] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, st::Int64) @ Base array.jl:875 [inlined] [23] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [24] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}) @ Base array.jl:774 [25] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [26] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [27] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ Base strings/io.jl:35 [28] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [31] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [32] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [33] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [34] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2220 [35] eval(m::Module, e::Any) @ Core boot.jl:618 [36] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [37] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [38] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [39] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [40] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [41] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [42] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [43] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [44] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [45] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [46] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [47] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [48] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [49] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [53] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [54] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [55] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [56] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [57] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [58] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [59] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [60] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [61] top-level scope @ none:6 [62] eval(m::Module, e::Any) @ Core boot.jl:618 [63] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [64] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [65] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2220 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{Symbol, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.Join}, delim::String) @ Base strings/io.jl:350 [11] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [12] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [13] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [14] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:114 [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanType{real, 0}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanType{real, 0}, ::Vararg{Any}) @ Base strings/io.jl:48 [18] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:parameters}, x::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:97 [inlined] [19] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}})(stmt::StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [20] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, s::Int64) @ Base generator.jl:49 [inlined] [21] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, offs::Int64, st::Int64) @ Base array.jl:920 [22] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, st::Int64) @ Base array.jl:875 [inlined] [23] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [24] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:parameters}}}) @ Base array.jl:774 [25] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [26] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [27] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:parameters}) @ Base strings/io.jl:35 [28] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [31] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [32] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [33] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [34] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2220 [35] eval(m::Module, e::Any) @ Core boot.jl:618 [36] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [37] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [38] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [39] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [40] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [41] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [42] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [43] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [44] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [45] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [46] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [47] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: a SlicModel VALUE in call position embeds like a named sub-model: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2271 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [37] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2288 [38] eval(m::Module, e::Any) @ Core boot.jl:618 [39] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [40] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [41] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [42] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [43] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [44] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [45] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [46] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [47] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [48] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [50] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [51] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [52] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [53] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [54] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [55] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [56] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [57] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [58] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [59] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [60] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [61] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [62] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [63] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [64] top-level scope @ none:6 [65] eval(m::Module, e::Any) @ Core boot.jl:618 [66] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [67] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [68] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2288 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_code(x::StanBlocks.SlicModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:35 [37] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2288 [38] eval(m::Module, e::Any) @ Core boot.jl:618 [39] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [40] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [41] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [42] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [43] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [44] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [45] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [46] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [47] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [48] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [49] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [50] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: compile a trusted bundle of named submodels and a parent: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2320 Got exception outside of a @test LoadError: StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:227 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [23] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [24] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [25] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [28] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [29] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [30] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [31] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [32] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [33] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [34] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [35] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [37] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [38] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [39] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [41] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [42] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [43] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [44] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [45] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [46] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [47] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [48] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [49] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [50] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [51] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [52] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [53] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [54] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [55] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [56] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [57] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [58] stan_descriptor(m::StanBlocks.StanModel; name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/descriptor.jl:651 [59] (::StanBlocks.var"#1938#1939"{Symbol, StanBlocks.SlicModel})() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:365 [60] compile_slic_bundle(data::@NamedTuple{y::Vector{Float64}}, definitions::Vector{Expr}, body::Expr; udf_definitions::Vector{Pair{String, Expr}}, anonymous_submodels::Tuple{}, name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:363 [61] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2343 [62] eval(m::Module, e::Any) @ Core boot.jl:618 [63] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [64] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [65] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [66] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [67] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [68] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [69] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [70] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [71] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [72] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [73] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [74] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [75] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [76] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [77] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [78] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [79] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [80] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [81] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [82] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [83] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [84] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [85] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [86] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [87] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [88] top-level scope @ none:6 [89] eval(m::Module, e::Any) @ Core boot.jl:618 [90] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [91] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [92] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2343 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.Join, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:55 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:227 [inlined] [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [17] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:48 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:162 [inlined] [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [20] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [21] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [22] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:return}, Tuple{StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(+), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [23] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [24] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [25] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [28] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [29] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [30] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [31] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base generator.jl:49 [inlined] [32] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [33] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [34] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [35] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [37] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [38] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [39] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [40] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [41] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [42] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [43] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [44] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [45] collect_to!(dest::Vector{Union{Nothing, Bool}}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [46] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:928 [47] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [48] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [49] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [50] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [51] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [52] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [53] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [54] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [55] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [56] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [57] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [58] stan_descriptor(m::StanBlocks.StanModel; name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/descriptor.jl:651 [59] (::StanBlocks.var"#1938#1939"{Symbol, StanBlocks.SlicModel})() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:365 [60] compile_slic_bundle(data::@NamedTuple{y::Vector{Float64}}, definitions::Vector{Expr}, body::Expr; udf_definitions::Vector{Pair{String, Expr}}, anonymous_submodels::Tuple{}, name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:363 [61] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2343 [62] eval(m::Module, e::Any) @ Core boot.jl:618 [63] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [64] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [65] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [66] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [67] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [68] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [69] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [70] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [71] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [72] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [73] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [74] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: bundle UDFs resolve public transpile-time helpers: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2446 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_descriptor(m::StanBlocks.StanModel; name::Nothing) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/descriptor.jl:651 [37] (::StanBlocks.var"#1938#1939"{Nothing, StanBlocks.SlicModel})() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:365 [38] compile_slic_bundle(data::@NamedTuple{x::Vector{Float64}, y::Vector{Float64}}, definitions::Vector{Expr}, body::Expr; udf_definitions::Vector{Pair{String, Expr}}, anonymous_submodels::Tuple{}, name::Nothing) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:363 [39] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2469 [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [53] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [54] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [55] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [56] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [57] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [58] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [59] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [60] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [61] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [62] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [63] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [64] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [65] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [66] top-level scope @ none:6 [67] eval(m::Module, e::Any) @ Core boot.jl:618 [68] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [69] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [70] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2469 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{vector, 1}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_descriptor(m::StanBlocks.StanModel; name::Nothing) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/descriptor.jl:651 [37] (::StanBlocks.var"#1938#1939"{Nothing, StanBlocks.SlicModel})() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:365 [38] compile_slic_bundle(data::@NamedTuple{x::Vector{Float64}, y::Vector{Float64}}, definitions::Vector{Expr}, body::Expr; udf_definitions::Vector{Pair{String, Expr}}, anonymous_submodels::Tuple{}, name::Nothing) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:363 [39] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2469 [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: compile anonymous submodel dependencies in a trusted bundle: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2488 Got exception outside of a @test LoadError: StanBlocksError [transpile]: model Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_descriptor(m::StanBlocks.StanModel; name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/descriptor.jl:651 [37] (::StanBlocks.var"#1938#1939"{Symbol, StanBlocks.SlicModel})() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:365 [38] compile_slic_bundle(data::@NamedTuple{y::Float64}, definitions::Vector{Expr}, body::Expr; udf_definitions::Tuple{}, anonymous_submodels::Vector{Pair{String, Pair{Symbol, Expr}}}, name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:363 [39] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2510 [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [53] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [54] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [55] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [56] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [57] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [58] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [59] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [60] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [61] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [62] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [63] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [64] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [65] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [66] top-level scope @ none:6 [67] eval(m::Module, e::Any) @ Core boot.jl:618 [68] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [69] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [70] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2510 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Vector{Any}, delim::String) @ Base strings/io.jl:350 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [11] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [12] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:142 [13] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [14] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{anything, 0}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [inlined] [15] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [inlined] [16] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}) @ Base strings/io.jl:35 [17] join(io::StanBlocks.StanIO{IOBuffer}, iterator::Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}, delim::String) @ Base strings/io.jl:350 [18] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [19] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [20] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:234 [inlined] [21] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ Base strings/io.jl:35 [22] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [23] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:model}, x::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [24] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}})(stmt::StanBlocks.CanonicalExpr{Val{:~}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{StanBlocks.CanonicalExpr{typeof(StanBlocks.builtin.normal), Tuple{StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, StanBlocks.StanType{anything, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [25] iterate(::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base generator.jl:49 [inlined] [26] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:859 [27] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:model}}}) @ Base array.jl:774 [28] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [29] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [30] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:model}) @ Base strings/io.jl:35 [31] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [32] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [33] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [34] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [35] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [36] stan_descriptor(m::StanBlocks.StanModel; name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/descriptor.jl:651 [37] (::StanBlocks.var"#1938#1939"{Symbol, StanBlocks.SlicModel})() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:365 [38] compile_slic_bundle(data::@NamedTuple{y::Float64}, definitions::Vector{Expr}, body::Expr; udf_definitions::Tuple{}, anonymous_submodels::Vector{Pair{String, Pair{Symbol, Expr}}}, name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:363 [39] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2510 [40] eval(m::Module, e::Any) @ Core boot.jl:618 [41] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [42] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [43] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [44] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [45] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [46] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [47] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [48] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [49] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [50] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [51] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [52] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 slic: compile a local distribution triad in a trusted bundle: Error During Test at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2598 Got exception outside of a @test LoadError: StanBlocksError [transpile]: function Caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [22] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [23] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [24] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [25] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [26] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [27] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [28] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{Symbol("")}) @ Base strings/io.jl:35 [29] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [30] autoprint(::StanBlocks.StanIO{IOBuffer}, ::String, ::Vararg{Any}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:41 [31] show(io::StanBlocks.StanIO{IOBuffer}, f::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/functions.jl:406 [32] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanFunction3) @ Base strings/io.jl:35 [33] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanFunction3, ::String) @ Base strings/io.jl:48 [34] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{:functions}, x::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:102 [inlined] [35] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}})(stmt::StanBlocks.StanFunction3) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [36] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, s::Int64) @ Base generator.jl:49 [inlined] [37] collect_to!(dest::Vector{Bool}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, offs::Int64, st::Int64) @ Base array.jl:920 [38] collect_to_with_first!(dest::Vector{Bool}, v1::Bool, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, st::Int64) @ Base array.jl:875 [inlined] [39] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [40] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{:functions}}}) @ Base array.jl:774 [41] map(f::Function, A::Vector{Any}) @ Base abstractarray.jl:3491 [42] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [43] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanBlock{:functions}) @ Base strings/io.jl:35 [44] join(io::StanBlocks.StanIO{IOBuffer}, iterator::@NamedTuple{functions::StanBlocks.StanBlock{:functions}, data::StanBlocks.StanBlock{:data}, transformed_data::StanBlocks.StanBlock{:transformed_data}, parameters::StanBlocks.StanBlock{:parameters}, transformed_parameters::StanBlocks.StanBlock{:transformed_parameters}, model::StanBlocks.StanBlock{:model}, generated_quantities::StanBlocks.StanBlock{:generated_quantities}}, delim::String) @ Base strings/io.jl:350 [45] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:5 [46] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.Join) @ Base strings/io.jl:35 [47] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:59 [48] stan_code(x::StanBlocks.StanModel) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/instantiate.jl:25 [49] stan_descriptor(m::StanBlocks.StanModel; name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/descriptor.jl:651 [50] (::StanBlocks.var"#1938#1939"{Symbol, StanBlocks.SlicModel})() @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:365 [51] compile_slic_bundle(data::@NamedTuple{y::Vector{Float64}}, definitions::Vector{Expr}, body::Expr; udf_definitions::Vector{Pair{String, Expr}}, anonymous_submodels::Tuple{}, name::Symbol) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/bundle.jl:363 [52] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/items.jl:2643 [53] eval(m::Module, e::Any) @ Core boot.jl:618 [54] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base loading.jl:3291 [55] include_string(m::Module, txt::String, fname::String) @ Base loading.jl:3301 [56] (::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:258 [inlined] [57] withpath(f::TestItemRunner.var"#run_testitem##6#run_testitem##7"{Module, String, String}, path::String) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/vendored_code.jl:7 [58] (::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:257 [inlined] [59] cd(f::TestItemRunner.var"#run_testitem##4#run_testitem##5"{Module, String, String}, dir::String) @ Base.Filesystem file.jl:113 [60] run_testitem(mod::Module, filepath::String, use_default_usings::Bool, setups::Vector{Symbol}, package_name::String, original_code::String, line::Int64, column::Int64, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:256 [61] run_testitem_in_testset(ts::Test.DefaultTestSet, testitem::@NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:298 [62] (::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:737 [inlined] [63] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [64] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [65] with_testset(f::TestItemRunner.var"#run_node!##0#run_node!##1"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, @NamedTuple{filename::String, code::String, name::String, option_tags::Vector{Symbol}, option_default_imports::Bool, option_setup::Vector{Symbol}, skip::Bool, line::Int64, column::Int64}, Test.DefaultTestSet}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [66] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:736 [67] (::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:746 [68] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:703 [inlined] [69] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [70] with_testset(f::TestItemRunner.var"#run_node!##2#run_node!##3"{String, TestItemRunner.TestSetupModuleSet, Dict{Symbol, Any}, Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestItemTree}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:702 [71] run_node!(node::TestItemRunner.TestItemTree, package_name::String, test_setup_module_set::TestItemRunner.TestSetupModuleSet, testsetups::Dict{Symbol, Any}, verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:745 [72] (::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}})() @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:861 [73] macro expansion @ ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:713 [inlined] [74] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2421 [inlined] [75] with_root_testset(f::TestItemRunner.var"#29#30"{Bool, Bool, typeof(TestItemRunner.default_testset), TestItemRunner.TestSetupModuleSet, TestItemRunner.TestItemTree, Dict{Symbol, Any}}, ts::Test.DefaultTestSet) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:712 [76] run_tests(path::String; filter::typeof(selected), verbose::Bool, failfast::Bool, testset::typeof(TestItemRunner.default_testset)) @ TestItemRunner ~/.julia/packages/TestItemRunner/uGBn3/src/TestItemRunner.jl:860 [77] top-level scope @ ~/.julia/packages/StanBlocks/Q88uq/test/runtests.jl:111 [78] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:335 [79] top-level scope @ none:6 [80] eval(m::Module, e::Any) @ Core boot.jl:618 [81] __script_entry_eval(mod::Module, ex::Any) @ Base client.jl:106 [inlined] [82] exec_options(opts::Base.JLOptions) @ Base client.jl:350 [83] _start() @ Base client.jl:695 in expression starting at /home/pkgeval/.julia/packages/StanBlocks/Q88uq/test/items.jl:2643 caused by: MethodError: write(::StanBlocks.StanIO{IOBuffer}, ::SubArray{UInt8, 1, Memory{UInt8}, Tuple{UnitRange{Int64}}, true}) is ambiguous. Candidates: write(io::StanBlocks.WrappedIO, arg) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:9 write(s::IO, A::StridedArray; cancel) @ Base io.jl:931 Possible fix, define write(::StanBlocks.WrappedIO, ::StridedArray) Stacktrace: [1] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64, forceuntyped::Bool, fromprint::Bool) @ Base.Ryu ryu/Ryu.jl:134 [2] show(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base.Ryu ryu/Ryu.jl:129 [3] print(io::StanBlocks.StanIO{IOBuffer}, x::Float64) @ Base strings/io.jl:35 [4] _show_stan_expr(io::StanBlocks.StanIO{IOBuffer}, _t::StanBlocks.StanType{real, 0}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:63 [5] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:61 [6] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}) @ Base strings/io.jl:35 [7] print(::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanType{real, 0}, ::String, ::Vararg{Any}) @ Base strings/io.jl:48 [8] show(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:125 [inlined] [9] print(io::StanBlocks.StanIO{IOBuffer}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ Base strings/io.jl:35 [10] print(::StanBlocks.StanIO{IOBuffer}, ::String, ::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}, ::Vararg{Any}) @ Base strings/io.jl:48 [11] block_print(io::StanBlocks.StanIO{IOBuffer}, ::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:94 [inlined] [12] (::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:(=)}, Tuple{StanBlocks.StanExpr{Symbol, StanBlocks.StanType{real, 0}}, StanBlocks.StanExpr{Float64, StanBlocks.StanType{real, 0}}}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [13] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, s::Int64) @ Base generator.jl:49 [inlined] [14] collect_to!(dest::Vector{Nothing}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, offs::Int64, st::Int64) @ Base array.jl:920 [15] collect_to_with_first!(dest::Vector{Nothing}, v1::Nothing, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, st::Int64) @ Base array.jl:875 [16] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}, ::Base.EltypeUnknown, isz::Base.HasShape{1}) @ Base array.jl:869 [17] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}}) @ Base array.jl:774 [inlined] [18] map(f::StanBlocks.var"#block_print##0#block_print##1"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}}, A::Vector{Any}) @ Base abstractarray.jl:3491 [inlined] [19] block_print(io::StanBlocks.StanIO{IOBuffer}, b::StanBlocks.StanBlock{Symbol("")}, x::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:96 [inlined] [20] (::StanBlocks.var"#1806#1807"{StanBlocks.StanIO{IOBuffer}, StanBlocks.StanBlock{Symbol("")}})(stmt::StanBlocks.CanonicalExpr{Val{:block}, Vector{Any}}) @ StanBlocks ~/.julia/packages/StanBlocks/Q88uq/src/slic_stan/show.jl:84 [21] iterate(g::Base.Generator{Vector{Any}, StanBlocks.var"#1806#1807"{StanBlocks.Sta PkgEval terminated after 1267.59s: test log exceeded the size limit