When you get Swap datastore is unset warning you need to follow steps below to solve this :
In the vSphere Client, select the host in the inventory. and Click the Configuration tab. and then Click the Virtual Machine Swap file Location link and click Edit(As you see No datastore specified for swap file):
Select datastore which you want to store swap file and click OK:
Finnally you will see that your warning gone: