Compile error with source checkout

I am following the exact steps from https://github.com/ros2/ros2/wiki/Maintaining-a-Source-Checkout#development-branches including update and pull. After doing the rebuild part, I am getting the above error.

I deleted the complete folder and started again. Working fine now.