Is it an error or just new format of messeage from avrdude?

Hello, recently I was updated the IDE to 2.1.1 and when I trying to upload my sketch I i get this message:

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\aleks\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM7
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
         Hardware Version: 3
         Firmware Version: 4.4
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\aleks\AppData\Local\Temp\arduino\sketches\0991CBD8BB611D7497EC795C815BAE5B/sketch_jul22a.ino.hex"
avrdude: writing flash (2006 bytes):

Writing | ################################################## | 100% 0.33s

avrdude: 2006 bytes of flash written

avrdude done.  Thank you.

I know English not at all, so, this messeage was red colored, which means, that it is an error.

all seems well
red is an unfortunate choice

The message is a result of the verbose output during upload.

The message should not be completely in red. I however have seen it happen when there are compilation warnings.

If you post your code, we can compile it.

The red color of the upload output text might give the impression that it indicates an error, but it is not so in this case. The output you posted is what we would expect from a successful upload. As long as you see a "Done uploading." notification in Arduino IDE at the end of the upload operation, all is well and you can disregard the color of the upload output text:

image

In case you are curious about why there is this confusing coloration of the text, I'll add some explanation below. Feel free to skip it if you aren't interested in the boring details.

The AVRDUDE developers made the decision to print even output that is not related to an error condition to the "standard error" (AKA "stderr") stream instead of the more common practice of printing it on the "standard output" (AKA "stdout") stream.

Each boards platform may use any arbitrary external tool to perform an upload so Arduino IDE doesn't have any understanding of the contents of the output from the tool. The IDE only knows which of the streams the upload tool printed the output to. Because it is usually associated with errors or warnings, Arduino IDE colors all output received from the stderr stream red. Likewise, the output received from the stdout stream is colored white since that stream is usually used to print purely informational output.

Oh thanks for the explanation. It was rather unusual to see a successful download message as an error. Thank you again.

Here is my code:

int on=-1;
int tw=-1;
int th=-1;
int fo=-1;
void setup() {
    Serial.begin(9600);
    pinMode(1,INPUT);
    pinMode(2,INPUT);
    pinMode(3,INPUT);
    pinMode(4,INPUT);
}
void loop() {
readingAnalog();
turningOnLeds();
delay(1000);
    if(on=tw=th=fo=1) {
        Serial.println("Pressed");
        digitalWrite(9,HIGH);
    }
}
void readingAnalog() {
if(digitalRead(1)==HIGH){
int on=-on;
}
if(digitalRead(2)==HIGH){
int tw=-tw;
}
if(digitalRead(3)==HIGH){
int th=-th;
}
if(digitalRead(4)==HIGH){
int fo=-fo;
}
}
void turningOnLeds() {
if(on>0){
    digitalWrite(5,HIGH);
}else{digitalWrite(5,LOW);}
if(tw>0){
    digitalWrite(6,HIGH);
}else{digitalWrite(6,LOW);}
if(th>0){
    digitalWrite(7,HIGH);
}else{digitalWrite(7,LOW);}
if(fo>0){
    digitalWrite(8,HIGH);
}else{digitalWrite(8,LOW);}
}