version: latest | compiled: 2023-05-25 12:24:36 CEST
🔗 https://quobix.com/vacuum | https://github.com/daveshanley/vacuum
INFO Linting against 42 rules: https://quobix.com/vacuum/rulesets/recommended
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x104f548c8]
goroutine 369 [running]:
github.com/pb33f/libopenapi/datamodel/high/base.(*SchemaProxy).BuildSchema(0x105712000?)
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi@v0.8.2/datamodel/high/base/schema_proxy.go:111 +0x18
github.com/pb33f/libopenapi/datamodel/high/base.(*SchemaProxy).MarshalYAMLInline(0x14000758c98?)
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi@v0.8.2/datamodel/high/base/schema_proxy.go:170 +0x1c
github.com/pb33f/libopenapi/datamodel/high/base.(*DynamicValue[...]).MarshalYAML(0x1057d8a60)
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi@v0.8.2/datamodel/high/base/dynamic_value.go:66 +0x26c
github.com/pb33f/libopenapi/datamodel/high/base.(*DynamicValue[...]).MarshalYAMLInline(...)
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi@v0.8.2/datamodel/high/base/dynamic_value.go:100
github.com/pb33f/libopenapi/datamodel/high.(*NodeBuilder).AddYAMLNode(0x14000676180, 0x14000218500, 0x1400047e050)
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi@v0.8.2/datamodel/high/node_builder.go:523 +0xd58
github.com/pb33f/libopenapi/datamodel/high.(*NodeBuilder).Render(0x14000676180)
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi@v0.8.2/datamodel/high/node_builder.go:262 +0x35c
github.com/pb33f/libopenapi/datamodel/high/base.(*Schema).MarshalYAMLInline(0x14000759501?)
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi@v0.8.2/datamodel/high/base/schema.go:483 +0x40
github.com/pb33f/libopenapi/datamodel/high/base.(*Schema).RenderInline(0x8?)
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi@v0.8.2/datamodel/high/base/schema.go:470 +0x1c
github.com/pb33f/libopenapi-validator/schema_validation.validateSchema(0x140001c8000, {0x0, 0x0, 0x0}, {0x1056a3560, 0x140001ae210})
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi-validator@v0.0.7/schema_validation/validate_schema.go:62 +0x80
github.com/pb33f/libopenapi-validator/schema_validation.(*schemaValidator).ValidateSchemaObject(0x1400081e000?, 0x17a?, {0x1056a3560?, 0x140001ae210?})
/Users/dmitry/go/pkg/mod/github.com/pb33f/libopenapi-validator@v0.0.7/schema_validation/validate_schema.go:50 +0x3c
github.com/daveshanley/vacuum/parser.ValidateNodeAgainstSchema(0x140006977b8?, 0x14000056900?, 0x20?)
/Users/dmitry/go/pkg/mod/github.com/daveshanley/vacuum@v0.1.4/parser/json_schema.go:222 +0x254
github.com/daveshanley/vacuum/functions/core.validateNodeAgainstSchema(0x140001983a0?, 0x140001230e0, {0x140002f2480, 0x140007694a0, {0x1056b38a0, 0x14000802790}, {0x1056fd820, 0x14000197470}, 0x1400030af00, 0x14000122140, ...}, ...)
/Users/dmitry/go/pkg/mod/github.com/daveshanley/vacuum@v0.1.4/functions/core/schema.go:95 +0x58
github.com/daveshanley/vacuum/functions/core.Schema.RunRule({}, {0x140002220e0, 0x1, 0x12e222bc8?}, {0x140002f2480, 0x140007694a0, {0x1056b38a0, 0x14000802790}, {0x1056fd820, 0x14000197470}, ...})
/Users/dmitry/go/pkg/mod/github.com/daveshanley/vacuum@v0.1.4/functions/core/schema.go:67 +0x7b4
github.com/daveshanley/vacuum/motor.buildResults({0x140007694a0, 0x140001220a0, {0x1057d1b48, 0x14000132c30}, 0x140007a7a28, 0x140004d1370, 0x1400000e018, 0x1400030af00, 0x14000122140, 0x0, ...}, ...)
/Users/dmitry/go/pkg/mod/github.com/daveshanley/vacuum@v0.1.4/motor/rule_applicator.go:393 +0x5a0
github.com/daveshanley/vacuum/motor.runRule({0x140007694a0, 0x140001220a0, {0x1057d1b48, 0x14000132c30}, 0x140007a7a28, 0x140004d1370, 0x1400000e018, 0x1400030af00, 0x14000122140, 0x0, ...})
/Users/dmitry/go/pkg/mod/github.com/daveshanley/vacuum@v0.1.4/motor/rule_applicator.go:317 +0x34c
created by github.com/daveshanley/vacuum/motor.ApplyRulesToRuleSet
/Users/dmitry/go/pkg/mod/github.com/daveshanley/vacuum@v0.1.4/motor/rule_applicator.go:248 +0xc18
gmake: *** [Makefile:63: liblint] Error 2
@bitomaxsp bump^^
Try
v0.1.7I will re-run this again asap.