Package evaluation of JSONSchemaGenerator on Julia 1.10.8 (92f03a4775*) started at 2025-02-25T04:36:09.407 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 5.08s ################################################################################ # Installation # Installing JSONSchemaGenerator... Resolving package versions... Updating `~/.julia/environments/v1.10/Project.toml` [b10a6b5e] + JSONSchemaGenerator v0.1.0 Updating `~/.julia/environments/v1.10/Manifest.toml` [b10a6b5e] + JSONSchemaGenerator v0.1.0 [bac558e1] + OrderedCollections v1.8.0 [856f2bd8] + StructTypes v1.11.0 [ade2ca70] + Dates [de0858da] + Printf [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [cf7118a7] + UUIDs [4ec0a83e] + Unicode Installation completed after 3.82s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 12.15s ################################################################################ # Testing # Testing JSONSchemaGenerator Status `/tmp/jl_YidIIW/Project.toml` [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.1 [7d188eb4] JSONSchema v1.4.1 [b10a6b5e] JSONSchemaGenerator v0.1.0 [bac558e1] OrderedCollections v1.8.0 [856f2bd8] StructTypes v1.11.0 [8dfed614] Test Status `/tmp/jl_YidIIW/Manifest.toml` [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.1 [7d188eb4] JSONSchema v1.4.1 [b10a6b5e] JSONSchemaGenerator v0.1.0 [bac558e1] OrderedCollections v1.8.0 [69de0a69] Parsers v2.8.1 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [856f2bd8] StructTypes v1.11.0 [5c2747f8] URIs v1.5.1 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [b77e0a4c] InteractiveUtils [b27032c2] LibCURL v0.6.4 [8f399da3] Libdl [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions v1.2.0 [de0858da] Printf [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [fa267f1f] TOML v1.0.3 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [deac9b47] LibCURL_jll v8.4.0+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.2+1 [14a3606d] MozillaCACerts_jll v2023.1.10 [83775a58] Zlib_jll v1.2.13+1 [8e850ede] nghttp2_jll v1.52.0+1 Testing Running tests... Test Summary: | Pass Total Time Basic Types | 7 7 11.4s Test Summary: | Pass Total Time Enumerators | 2 2 0.6s Test Summary: | Pass Total Time Optional Fields | 5 5 0.3s Test Summary: | Pass Total Time Arrays | 4 4 0.8s Test Summary: | Pass Total Time Nested Structs | 4 4 0.9s Test Summary: | Pass Total Time StructTypes.DataType gathering | 6 6 0.6s Nested Structs using schema references: Error During Test at /home/pkgeval/.julia/packages/JSONSchemaGenerator/082rI/test/runtests.jl:89 Test threw exception Expression: JSONSchema.validate(my_schema, JSON.parse(json_string)) === nothing MethodError: no method matching _validate_entry(::Dict{String, Any}, ::String, ::String) Closest candidates are: _validate_entry(::Any, !Matched::Bool, ::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:97 _validate_entry(::Any, !Matched::AbstractDict, ::Any) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:87 Stacktrace: [1] _validate(x::Dict{String, Any}, schema::OrderedCollections.OrderedDict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:84 [2] _validate(x::Dict{String, Any}, schema::OrderedCollections.OrderedDict{String, Any}, ::Val{:properties}, val::OrderedCollections.OrderedDict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:377 [3] _validate_entry(x::Dict{String, Any}, schema::OrderedCollections.OrderedDict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:89 [4] _validate(x::Dict{String, Any}, schema::OrderedCollections.OrderedDict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:84 [5] _validate(x::Dict{String, Any}, schema::OrderedCollections.OrderedDict{String, Any}, ::Val{:properties}, val::OrderedCollections.OrderedDict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:377 [6] _validate_entry(x::Dict{String, Any}, schema::OrderedCollections.OrderedDict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:89 [7] _validate(x::Dict{String, Any}, schema::OrderedCollections.OrderedDict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:84 [8] validate(schema::Schema, x::Dict{String, Any}) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:69 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined] [10] test_json_schema_validation(json_schema::OrderedCollections.OrderedDict{String, Any}, obj::Main.TestTypes.DoubleNestedSchema) @ Main ~/.julia/packages/JSONSchemaGenerator/082rI/test/runtests.jl:89 Nested Structs using schema references: Error During Test at /home/pkgeval/.julia/packages/JSONSchemaGenerator/082rI/test/runtests.jl:89 Test threw exception Expression: JSONSchema.validate(my_schema, JSON.parse(json_string)) === nothing MethodError: no method matching _validate_entry(::Dict{String, Any}, ::String, ::String) Closest candidates are: _validate_entry(::Any, !Matched::Bool, ::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:97 _validate_entry(::Any, !Matched::AbstractDict, ::Any) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:87 Stacktrace: [1] _validate(x::Dict{String, Any}, schema::Dict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:84 [2] _validate(x::Dict{String, Any}, schema::Dict{String, Any}, ::Val{:properties}, val::Dict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:377 [3] _validate_entry(x::Dict{String, Any}, schema::Dict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:89 [4] _validate(x::Dict{String, Any}, schema::Dict{String, Any}, path::String) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:84 [5] validate(schema::Schema, x::Dict{String, Any}) @ JSONSchema ~/.julia/packages/JSONSchema/YhNAb/src/validation.jl:69 [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined] [7] test_json_schema_validation(json_schema::Dict{String, Any}, obj::Main.TestTypes.NestedSchema) @ Main ~/.julia/packages/JSONSchemaGenerator/082rI/test/runtests.jl:89 Test Summary: | Pass Error Total Time Nested Structs using schema references | 5 2 7 5.6s ERROR: LoadError: Some tests did not pass: 5 passed, 0 failed, 2 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/JSONSchemaGenerator/082rI/test/runtests.jl:192 Testing failed after 39.6s ERROR: LoadError: Package JSONSchemaGenerator errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 [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.10/Pkg/src/Operations.jl:2034 [3] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [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::Base.PipeEndpoint}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.10/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 69.38s: package tests unexpectedly errored