pint.error --no-color lint rules
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=info msg="File parsed" path=rules/strict.yml rules=1
rules/strict.yml:4: missing expr key (yaml/parse)
  - record: foo

level=info msg="Problems found" Fatal=1
level=fatal msg="Fatal error" error="problems found"
-- rules/strict.yml --
groups:
- name: foo
  rules:
  - record: foo
