Package evaluation of JSONSchemaGenerator on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T07:41:35.349 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 7.99s ################################################################################ # Installation # Installing JSONSchemaGenerator... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [b10a6b5e] + JSONSchemaGenerator v0.1.0 Updating `~/.julia/environments/v1.11/Manifest.toml` [b10a6b5e] + JSONSchemaGenerator v0.1.0 [bac558e1] + OrderedCollections v1.8.0 [856f2bd8] + StructTypes v1.11.0 [ade2ca70] + Dates v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 Installation completed after 0.88s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 11.61s ################################################################################ # Testing # Testing JSONSchemaGenerator Status `/tmp/jl_iMNFOi/Project.toml` [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.2 [7d188eb4] JSONSchema v1.4.1 [b10a6b5e] JSONSchemaGenerator v0.1.0 [bac558e1] OrderedCollections v1.8.0 [856f2bd8] StructTypes v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_iMNFOi/Manifest.toml` [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.2 [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.2 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates 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 [a63ad114] Mmap 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 [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 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Precompiling JSON3... 15559.5 ms ✓ JSON3 1 dependency successfully precompiled in 16 seconds. 10 already precompiled. Precompiling JSONSchema... 1712.9 ms ✓ JSONSchema 1 dependency successfully precompiled in 2 seconds. 23 already precompiled. Test Summary: | Pass Total Time Basic Types | 7 7 12.5s Test Summary: | Pass Total Time Enumerators | 2 2 0.7s Test Summary: | Pass Total Time Optional Fields | 5 5 0.5s Test Summary: | Pass Total Time Arrays | 4 4 1.2s Test Summary: | Pass Total Time Nested Structs | 4 4 1.1s Test Summary: | Pass Total Time StructTypes.DataType gathering | 6 6 0.8s 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) The function `_validate_entry` exists, but no method is defined for this combination of argument types. 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.11/Test/src/Test.jl:676 [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) The function `_validate_entry` exists, but no method is defined for this combination of argument types. 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.11/Test/src/Test.jl:676 [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 11.5s 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 53.82s ERROR: LoadError: Package JSONSchemaGenerator 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 85.52s: package tests unexpectedly errored