Resolved swc build errors