Files
jspg/puncs_6_fix.txt
2026-02-17 21:46:10 -05:00

107 lines
8.7 KiB
Plaintext

Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s
Running tests/tests.rs (target/debug/deps/tests-0f6b1e496850f0af)
running 1 test
DEBUG: check_strictness at /nested_or_super_job/name. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'name' at /nested_or_super_job/name. Keys: {}
DEBUG: validate_refs merging res from entity. Keys: {"name"}
DEBUG: check_strictness at /nested_or_super_job/job_id. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'job_id' at /nested_or_super_job/job_id. Keys: {"name"}
DEBUG: validate_refs merging res from job. Keys: {"name", "job_id"}
DEBUG: check_strictness at /nested_or_super_job/manager_id. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'manager_id' at /nested_or_super_job/manager_id. Keys: {"name", "job_id"}
DEBUG: check_strictness at /nested_or_super_job/type. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'type' at /nested_or_super_job/type. Keys: {"name", "job_id", "manager_id"}
DEBUG: validate_refs merging res from super_job. Keys: {"job_id", "name", "manager_id", "type"}
DEBUG: check_strictness at /nested_or_super_job. Extensible: false. Keys: {"name", "manager_id", "job_id", "type"}
DEBUG: validate_object inserted 'nested_or_super_job' at /nested_or_super_job. Keys: {"name", "manager_id", "job_id", "type"}
DEBUG: check_strictness at /root_job/name. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'name' at /root_job/name. Keys: {}
DEBUG: check_strictness at /root_job. Extensible: false. Keys: {"name"}
DEBUG: validate_refs merging res from entity. Keys: {"name"}
DEBUG: check_strictness at /root_job/job_id. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'job_id' at /root_job/job_id. Keys: {"name"}
DEBUG: check_strictness at /root_job/type. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'type' at /root_job/type. Keys: {"job_id", "name"}
DEBUG: check_strictness at /root_job. Extensible: false. Keys: {"job_id", "type", "name"}
DEBUG: validate_refs merging res from job. Keys: {"job_id", "type", "name"}
DEBUG: check_strictness at /root_job. Extensible: false. Keys: {"name", "job_id", "type"}
DEBUG: validate_object inserted 'root_job' at /root_job. Keys: {"name", "manager_id", "job_id", "type", "nested_or_super_job"}
DEBUG: check_strictness at . Extensible: false. Keys: {"name", "manager_id", "job_id", "type", "nested_or_super_job", "root_job"}
DEBUG: check_strictness at /nested_or_super_job/name. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'name' at /nested_or_super_job/name. Keys: {}
DEBUG: validate_refs merging res from entity. Keys: {"name"}
DEBUG: check_strictness at /nested_or_super_job/job_id. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'job_id' at /nested_or_super_job/job_id. Keys: {"name"}
DEBUG: validate_refs merging res from job. Keys: {"job_id", "name"}
DEBUG: check_strictness at /nested_or_super_job/manager_id. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'manager_id' at /nested_or_super_job/manager_id. Keys: {"job_id", "name"}
DEBUG: check_strictness at /nested_or_super_job/type. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'type' at /nested_or_super_job/type. Keys: {"job_id", "name", "manager_id"}
DEBUG: validate_refs merging res from super_job. Keys: {"job_id", "name", "type", "manager_id"}
DEBUG: check_strictness at /nested_or_super_job. Extensible: false. Keys: {"type", "job_id", "manager_id", "name"}
DEBUG: validate_object inserted 'nested_or_super_job' at /nested_or_super_job. Keys: {"job_id", "name", "manager_id", "type"}
DEBUG: check_strictness at /root_job/name. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'name' at /root_job/name. Keys: {}
DEBUG: check_strictness at /root_job. Extensible: false. Keys: {"name"}
DEBUG: validate_refs merging res from entity. Keys: {"name"}
DEBUG: check_strictness at /root_job/job_id. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'job_id' at /root_job/job_id. Keys: {"name"}
DEBUG: check_strictness at /root_job/type. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'type' at /root_job/type. Keys: {"name", "job_id"}
DEBUG: check_strictness at /root_job. Extensible: false. Keys: {"name", "type", "job_id"}
DEBUG: validate_refs merging res from job. Keys: {"name", "type", "job_id"}
DEBUG: check_strictness at /root_job. Extensible: false. Keys: {"type", "name", "job_id"}
DEBUG: validate_object inserted 'root_job' at /root_job. Keys: {"job_id", "name", "manager_id", "type", "nested_or_super_job"}
DEBUG: check_strictness at . Extensible: false. Keys: {"root_job", "job_id", "name", "manager_id", "type", "nested_or_super_job"}
DEBUG: validate_refs merging res from entity. Keys: {}
DEBUG: validate_refs merging res from job. Keys: {}
DEBUG: validate_refs merging res from super_job. Keys: {}
DEBUG: check_strictness at /nested_or_super_job/my_job/name. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'name' at /nested_or_super_job/my_job/name. Keys: {}
DEBUG: check_strictness at /nested_or_super_job/my_job. Extensible: false. Keys: {"name"}
DEBUG: validate_refs merging res from entity. Keys: {"name"}
DEBUG: check_strictness at /nested_or_super_job/my_job/type. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'type' at /nested_or_super_job/my_job/type. Keys: {"name"}
DEBUG: check_strictness at /nested_or_super_job/my_job. Extensible: false. Keys: {"name", "type"}
DEBUG: validate_refs merging res from job. Keys: {"name", "type"}
DEBUG: check_strictness at /nested_or_super_job/my_job. Extensible: false. Keys: {"name", "type"}
DEBUG: validate_object inserted 'my_job' at /nested_or_super_job/my_job. Keys: {"type", "name"}
DEBUG: check_strictness at /nested_or_super_job. Extensible: false. Keys: {}
DEBUG: check_strictness at /nested_or_super_job/name. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'name' at /nested_or_super_job/name. Keys: {}
DEBUG: validate_refs merging res from entity. Keys: {"name"}
DEBUG: check_strictness at /nested_or_super_job/job_id. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'job_id' at /nested_or_super_job/job_id. Keys: {"name"}
DEBUG: validate_refs merging res from job. Keys: {"job_id", "name"}
DEBUG: check_strictness at /nested_or_super_job/manager_id. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'manager_id' at /nested_or_super_job/manager_id. Keys: {"job_id", "name"}
DEBUG: check_strictness at /nested_or_super_job/type. Extensible: false. Keys: {}
DEBUG: validate_object inserted 'type' at /nested_or_super_job/type. Keys: {"job_id", "name", "manager_id"}
DEBUG: validate_refs merging res from super_job. Keys: {"job_id", "manager_id", "type", "name"}
DEBUG: check_strictness at /nested_or_super_job. Extensible: false. Keys: {}
DEBUG: VALIDATE ROOT: id=Some("polymorphic_org_punc.request") ref=Some("organization.family")
DEBUG: check_strictness at . Extensible: false. Keys: {}
DEBUG: VALIDATE ROOT: id=Some("polymorphic_org_punc.request") ref=Some("organization.family")
DEBUG: check_strictness at . Extensible: false. Keys: {}
DEBUG: VALIDATE ROOT: id=Some("polymorphic_org_punc.request") ref=Some("organization.family")
DEBUG: check_strictness at . Extensible: false. Keys: {}
DEBUG: VALIDATE ROOT: id=Some("strict_org_punc.request") ref=Some("organization")
DEBUG: check_strictness at . Extensible: false. Keys: {}
DEBUG: VALIDATE ROOT: id=Some("strict_org_punc.request") ref=Some("organization")
DEBUG: check_strictness at . Extensible: false. Keys: {}
thread 'test_puncs_6' (15118678) panicked at tests/tests.rs:150:44:
called `Result::unwrap()` on an `Err` value: "[complex punc type matching with oneOf and nested refs] Test 'valid person against organization punc (polymorphic)' failed. Expected: true, Got: true. Errors: [Error { punc: None, code: \"STRICT_PROPERTY_VIOLATION\", message: \"Unexpected property 'first_name'\", details: ErrorDetails { path: \"/first_name\" } }]\n[complex punc type matching with oneOf and nested refs] Test 'valid organization against organization punc (polymorphic)' failed. Expected: true, Got: true. Errors: [Error { punc: None, code: \"STRICT_PROPERTY_VIOLATION\", message: \"Unexpected property 'id'\", details: ErrorDetails { path: \"/id\" } }]\n[complex punc type matching with oneOf and nested refs] Test 'valid organization against strict punc' failed. Expected: true, Got: true. Errors: [Error { punc: None, code: \"STRICT_PROPERTY_VIOLATION\", message: \"Unexpected property 'id'\", details: ErrorDetails { path: \"/id\" } }]"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test test_puncs_6 ... FAILED
failures:
failures:
test_puncs_6
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 338 filtered out; finished in 0.01s
error: test failed, to rerun pass `--test tests`