// there are only two intrinsic tasks, so check them first
ifrawType=="clean"||rawType=="extend"{
legacyEngine="convey"
}
// figure out the engine
ifrawEngine!=""{
msg:="the engine attribute is deprecated and will be removed in a future version. Please update to the new type format as this format will be removed in a future version."
iferr:=logger.Warn(msg);err!=nil{
fmt.Printf("error reporting warning: %s\n",err)
}
ifrawEngine=="intrinsic"{
msg:="the intrinsic engine is deprecated, using convey instead"
msgFmt:="converted deprecated task format {engine: '%s', type: '%s'} to type %s. Please update to the new type format as this format will be removed in a future version."