that library is not for Arduino Uno WiFi. Use Arduino_Uno_WiFi_Dev_Ed_Library .
Getting started with the Arduino Uno WiFi