let failed target backtrace =
  Resource.Cache.resource_failed target;
  raise (Failed backtrace)