The CAST in Google refers to Chromecast. Google has stopped support for Miracast from Android 6 Marshmallow. So Miracast work work in Android One and Pixel devices. You'll need Chromecast or a TV with Chromecast support. This issue has gained a lot of traction in Pixel forums as well. Hopefully Google will add the support Miracast again in the upcoming updates or Android P.