code: func GetFailureCollector(th *starlark.Thread) *FailureCollector {
  	fc, _ := th.Local(failSlotKey).(*FailureCollector)
  	return fc
  }
docs: // GetFailureCollector returns a failure collector installed in the thread.