pint.error --no-color config
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=INFO msg="Loading configuration file" path=.pint.hcl
level=ERROR msg="Fatal error" err="failed to load config file \".pint.hcl\": empty name regex"
-- .pint.hcl --
rule {
  match {
    kind = "recording"
  }
  aggregate "" {
    keep = [ "job" ]
  }
}
