Package evaluation of PostgresCatalog on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T13:56:08.546 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.62s ################################################################################ # Installation # Installing PostgresCatalog... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [972fa324] + PostgresCatalog v0.1.1 Updating `~/.julia/environments/v1.11/Manifest.toml` [fa961155] + CEnum v0.5.0 [34da2185] + Compat v4.16.0 [a10d1c49] + DBInterface v2.6.1 [9a962f9c] + DataAPI v1.16.0 [e2d170a0] + DataValueInterfaces v1.0.0 ⌅ [abce61dc] + Decimals v0.4.1 [ffbed154] + DocStringExtensions v0.9.4 [e2ba6199] + ExprTools v0.1.10 [a303e19e] + Infinity v0.2.4 [842dd82b] + InlineStrings v1.4.3 [d8418881] + Intervals v1.10.0 [c8e1da08] + IterTools v1.10.0 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [6f188dcb] + LayerDicts v1.0.0 [194296ae] + LibPQ v1.18.0 [f28f55f0] + Memento v1.4.1 [78c3b35d] + Mocking v0.8.1 [6fe1bfb0] + OffsetArrays v1.16.0 [bac558e1] + OrderedCollections v1.8.0 [972fa324] + PostgresCatalog v0.1.1 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [3cdcf5f2] + RecipesBase v1.3.4 [ae029012] + Requires v1.3.1 [af517c2e] + SQLStrings v0.1.0 [6c6a2e73] + Scratch v1.2.1 [dc5dba14] + TZJData v1.5.0+2025b [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.0 [f269a46b] + TimeZones v1.21.3 [0f7cfa37] + UTCDateTimes v1.6.1 [a51ab1cf] + ICU_jll v76.2.0+0 [b39eb1a6] + Kerberos_krb5_jll v1.21.3+0 [08be9ffa] + LibPQ_jll v16.8.0+0 [458c3c95] + OpenSSL_jll v3.0.16+0 [3161d3a3] + Zstd_jll v1.5.7+1 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [b27032c2] + LibCURL v0.6.4 [8f399da3] + Libdl v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [ca575930] + NetworkOptions v1.2.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [deac9b47] + LibCURL_jll v8.6.0+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+0 [14a3606d] + MozillaCACerts_jll v2023.12.12 [83775a58] + Zlib_jll v1.2.13+1 [8e850ede] + nghttp2_jll v1.59.0+0 [3f19e933] + p7zip_jll v17.4.0+2 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 2.09s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 25.08s ################################################################################ # Testing # Testing PostgresCatalog Status `/tmp/jl_ZQiO54/Project.toml` [194296ae] LibPQ v1.18.0 [9563631e] NarrativeTest v0.7.5 [972fa324] PostgresCatalog v0.1.1 [bd369af6] Tables v1.12.0 Status `/tmp/jl_ZQiO54/Manifest.toml` [fa961155] CEnum v0.5.0 [34da2185] Compat v4.16.0 [a10d1c49] DBInterface v2.6.1 [9a962f9c] DataAPI v1.16.0 [e2d170a0] DataValueInterfaces v1.0.0 ⌅ [abce61dc] Decimals v0.4.1 [ffbed154] DocStringExtensions v0.9.4 [e2ba6199] ExprTools v0.1.10 [a303e19e] Infinity v0.2.4 [842dd82b] InlineStrings v1.4.3 [d8418881] Intervals v1.10.0 [c8e1da08] IterTools v1.10.0 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [6f188dcb] LayerDicts v1.0.0 [194296ae] LibPQ v1.18.0 [f28f55f0] Memento v1.4.1 [78c3b35d] Mocking v0.8.1 [9563631e] NarrativeTest v0.7.5 [6fe1bfb0] OffsetArrays v1.16.0 [bac558e1] OrderedCollections v1.8.0 [972fa324] PostgresCatalog v0.1.1 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [3cdcf5f2] RecipesBase v1.3.4 [ae029012] Requires v1.3.1 [af517c2e] SQLStrings v0.1.0 [6c6a2e73] Scratch v1.2.1 [dc5dba14] TZJData v1.5.0+2025b [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [f269a46b] TimeZones v1.21.3 [0f7cfa37] UTCDateTimes v1.6.1 [a51ab1cf] ICU_jll v76.2.0+0 [b39eb1a6] Kerberos_krb5_jll v1.21.3+0 [08be9ffa] LibPQ_jll v16.8.0+0 [458c3c95] OpenSSL_jll v3.0.16+0 [3161d3a3] Zstd_jll v1.5.7+1 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [b27032c2] LibCURL v0.6.4 [8f399da3] Libdl v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.2.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [deac9b47] LibCURL_jll v8.6.0+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [83775a58] Zlib_jll v1.2.13+1 [8e850ede] nghttp2_jll v1.59.0+0 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... [error | LibPQ]: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:24 using LibPQ conn = LibPQ.Connection("") execute(conn, "BEGIN") execute(conn, """ CREATE TYPE patient_sex_enum AS ENUM ('male', 'female', 'other', 'unknown'); CREATE TABLE patient ( id int4 NOT NULL, mrn text NOT NULL, sex patient_sex_enum NOT NULL DEFAULT 'unknown', mother_id int4, father_id int4, CONSTRAINT patient_uk UNIQUE (id), CONSTRAINT patient_pk PRIMARY KEY (mrn), CONSTRAINT patient_mother_fk FOREIGN KEY (mother_id) REFERENCES patient (id), CONSTRAINT patient_father_fk FOREIGN KEY (father_id) REFERENCES patient (id) ); """) Expected output: Actual output: ERROR: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket? Stacktrace: [1] error(logger::Memento.Logger, exc::LibPQ.Errors.PQConnectionError) @ Memento ~/.julia/packages/Memento/xnHxE/src/loggers.jl:463 [2] handle_new_connection(jl_conn::LibPQ.Connection; throw_error::Bool) @ LibPQ ~/.julia/packages/LibPQ/i4yBe/src/connections.jl:127 [3] handle_new_connection @ ~/.julia/packages/LibPQ/i4yBe/src/connections.jl:109 [inlined] [4] LibPQ.Connection(str::String; throw_error::Bool, connect_timeout::Int64, options::Dict{String, String}, kwargs::@Kwargs{}) @ LibPQ ~/.julia/packages/LibPQ/i4yBe/src/connections.jl:320 [5] LibPQ.Connection(str::String) @ LibPQ ~/.julia/packages/LibPQ/i4yBe/src/connections.jl:265 [6] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:26 [7] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:50 using PostgresCatalog cat = PostgresCatalog.introspect(conn) Expected output: DATABASE " … " Actual output: ERROR: UndefVarError: `conn` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:52 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:58 scm = cat["public"] Expected output: SCHEMA "public" Actual output: ERROR: MethodError: no method matching getindex(::typeof(cat), ::String) The function `getindex` exists, but no method is defined for this combination of argument types. Stacktrace: [1] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:58 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:61 tbl = scm["patient"] Expected output: TABLE "patient" Actual output: ERROR: UndefVarError: `scm` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:61 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:67 foreach(println, tbl) Expected output: COLUMN "patient"."id" "int4" NOT NULL COLUMN "patient"."mrn" "text" NOT NULL COLUMN "patient"."sex" "patient_sex_enum" NOT NULL COLUMN "patient"."mother_id" "int4" NULL COLUMN "patient"."father_id" "int4" NULL Actual output: ERROR: UndefVarError: `tbl` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:67 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:78 col = tbl["sex"] Expected output: COLUMN "patient"."sex" "patient_sex_enum" NOT NULL Actual output: ERROR: UndefVarError: `tbl` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:78 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:81 col.name Expected output: "sex" Actual output: ERROR: UndefVarError: `col` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:84 col.type Expected output: TYPE "patient_sex_enum" Actual output: ERROR: UndefVarError: `col` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:87 col.type.labels Expected output: ["male", "female", "other", "unknown"] Actual output: ERROR: UndefVarError: `col` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:90 col.not_null Expected output: true Actual output: ERROR: UndefVarError: `col` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:93 col.default Expected output: "'unknown'::patient_sex_enum" Actual output: ERROR: UndefVarError: `col` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:98 tbl.primary_key Expected output: CONSTRAINT "patient"."patient_pk" PRIMARY KEY ("mrn") Actual output: ERROR: UndefVarError: `tbl` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:101 tbl.primary_key.name Expected output: "patient_pk" Actual output: ERROR: UndefVarError: `tbl` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:104 foreach(println, tbl.primary_key.columns) Expected output: COLUMN "patient"."mrn" "text" NOT NULL Actual output: ERROR: UndefVarError: `tbl` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:104 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:107 foreach(println, tbl.unique_keys) Expected output: CONSTRAINT "patient"."patient_pk" PRIMARY KEY ("mrn") CONSTRAINT "patient"."patient_uk" UNIQUE ("id") Actual output: ERROR: UndefVarError: `tbl` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:107 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test failed at ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:113 foreach(println, tbl.foreign_keys) Expected output: CONSTRAINT "patient"."patient_father_fk" FOREIGN KEY ("father_id") REFERENCES "patient" ("id") CONSTRAINT "patient"."patient_mother_fk" FOREIGN KEY ("mother_id") REFERENCES "patient" ("id") Actual output: ERROR: UndefVarError: `tbl` not defined in `DocSrcIndexMd` Stacktrace: [1] top-level scope @ ~/.julia/packages/PostgresCatalog/DbeYq/doc/src/index.md:113 [2] eval @ ./boot.jl:430 [inlined] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tests failed: 16 TESTING UNSUCCESSFUL! Testing failed after 50.78s ERROR: LoadError: Package PostgresCatalog errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2124 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2007 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:481 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 100.37s: package tests unexpectedly errored