unlink () and rmdir() errors when running adb wipe command
As Izzy points out, /system is usually mounted read-only, because it contains the operating system itself. The only reason you're getting these errors is because you specifically asked the command to wipe both /system and /data: that's what the all means. If you actually did that, you'd have to reboot into recovery to reinstall the OS. If that's what you really want, you should first remount /system as read-only by running the following command in a root shell on the device:

mount -ro remount,rw /system


If you just want to wipe user data, to get an effect like a factory-reset for a clean slate for testing, then the command you need is wipe data.