This basically indicates that the library that you're using is not for the board that you're using. PinStatus is used by some boards that are based on the 4809 processor (Nano Every and Uno WiFi rev2).
Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advice on) your project
See About the IDE 1.x category.