What does this error mean:

name lookup of 'i' changed for new iso 'for' scoping

here is the complete code:

const int rgb[] = {9, 10, 11,};
const int time = 250;
const int switchPin = 2;

void setup()
{
  for (int i=0; i<3; i++);
 pinMode(rgb[i], OUTPUT);
  pinMode(switchPin, INPUT);
}

void loop()
{
  int newPin = 0;
  int oldPin = 0;
  int bounce1 = digitalRead(switchPin);
  delay(25);
  int bounce2 = digitalRead(switchPin);
  while ((bounce1 == bounce2) && (bounce1 == LOW))
  { oldPin = newPin;
  newPin++;
  
  if (newPin == 3) newPin = 0;
  
  digitalWrite(rgb[oldPin], LOW);
  delay(time);
  digitalWrite(rgb[newPin], LOW);
  delay(time);
  digitalWrite(rgb[oldPin], HIGH);
  
  if (newPin == 0)
  {
    for (int i=0; i<3; i++)
    digitalWrite(rgb[i], LOW);
    delay(time);
    for (int i=0; i<3; i++)
    digitalWrite(rgb[i], LOW);
  }
  bounce1 = digitalRead(switchPin);
  delay(25);
  bounce2 = digitslRead(switchPin);
  }
  for (int i=0; i<3; i++)
  digitalWrite(rgb[i], HIGH);
  delay(25);
}

also, what does sketch_jul19a.ino: In function 'void setup()': mean

and sketch_jul19a:7: error: using obsolete binding at 'i'

and sketch_jul19a.ino: In function 'void loop()':

Check these:

for (int i=0; i<3; i++);

bounce2 = digitslRead(switchPin);

  for (int i=0; i<3; i++);

Semicolon at the end of a for loop makes it pretty pointless. Perhaps you should try removing it and surrounding the code that you wish to loop with curly braces.

 for (int i=0; i<3; i++);
 pinMode(rgb[i], OUTPUT);
  pinMode(switchPin, INPUT);

The variable i is only defined for the scope of the loop. That is outside the for loop i is an undefined variable.
As the for loop ends at the ; then the following two lines are not in the for loop and therefore use an undefined variable.

The second loop misses it's curly braces too (it doesn't have the semicolon).

while things like these are allowed:

for (...) someLine;
if (...) someLine;

Do NOT EVER use them.

ALWAYS put {} around your code:

for (...) {
  someLine;
}

if (...) {
  someLine;
}

You will be far less likely to make mistakes, your code will be much more readable and easy to understand.

Always use curly braces and never use one line thing as the reason is provided here. And you will always find yourself add more code under if and for so you will have to add the curly braces anyway. Computer doesn't mind the extra lines.