Serial port option is disabled in the menu

C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware -tools C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\tools-builder -tools C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -built-in-libraries C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\libraries -libraries C:\Users\acer\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10817 -build-path C:\Users\acer\AppData\Local\Temp\arduino_build_532785 -warnings=none -build-cache C:\Users\acer\AppData\Local\Temp\arduino_cache_697466 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -verbose C:\Users\acer\Desktop\ty project\KnockPattern_DoorLock\KnockPattern_DoorLock.ino
C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\arduino-builder -compile -logger=machine -hardware C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware -tools C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\tools-builder -tools C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -built-in-libraries C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\libraries -libraries C:\Users\acer\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10817 -build-path C:\Users\acer\AppData\Local\Temp\arduino_build_532785 -warnings=none -build-cache C:\Users\acer\AppData\Local\Temp\arduino_cache_697466 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr -verbose C:\Users\acer\Desktop\ty project\KnockPattern_DoorLock\KnockPattern_DoorLock.ino
Using board 'nano' from platform in folder: C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\arduino\avr
Detecting libraries used...
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10817 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\sketch\\KnockPattern_DoorLock.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10817 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\sketch\\KnockPattern_DoorLock.ino.cpp" -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10817 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\sketch\\KnockPattern_DoorLock.ino.cpp" -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\sketch\\KnockPattern_DoorLock.ino.cpp.o"
Compiling libraries...
Compiling core...
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\wiring_pulse.S.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\WInterrupts.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\wiring_analog.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\wiring_digital.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\hooks.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\wiring_shift.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\wiring_pulse.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\wiring.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\CDC.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\HardwareSerial1.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\HardwareSerial0.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\HardwareSerial2.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\HardwareSerial3.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\Print.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\PluggableUSB.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\Stream.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\WMath.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\Tone.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\WString.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\USBCore.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\new.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\abi.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_532785\core\main.cpp.o
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\wiring_pulse.S.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\WInterrupts.c.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\hooks.c.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\wiring.c.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\wiring_analog.c.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\wiring_digital.c.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\wiring_pulse.c.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\wiring_shift.c.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\CDC.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\HardwareSerial.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\HardwareSerial0.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\HardwareSerial1.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\HardwareSerial2.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\HardwareSerial3.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\IPAddress.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\PluggableUSB.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\Print.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\Stream.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\Tone.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\USBCore.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\WMath.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\WString.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\abi.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\main.cpp.o"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\core\\new.cpp.o"
Archiving built core (caching) in: C:\Users\acer\AppData\Local\Temp\arduino_cache_697466\core\core_arduino_avr_nano_cpu_atmega328old_b15f2ea0b62f2b557ec5f756c7654653.a
Linking everything together...
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785/KnockPattern_DoorLock.ino.elf" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785\\sketch\\KnockPattern_DoorLock.ino.cpp.o" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785/core\\core.a" "-LC:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785" -lm
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785/KnockPattern_DoorLock.ino.elf" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785/KnockPattern_DoorLock.ino.eep"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785/KnockPattern_DoorLock.ino.elf" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785/KnockPattern_DoorLock.ino.hex"
"C:\\Users\\acer\\Downloads\\arduino-nightly-windows\\arduino-nightly\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_532785/KnockPattern_DoorLock.ino.elf"
Sketch uses 3672 bytes (11%) of program storage space. Maximum is 30720 bytes.
Global variables use 362 bytes (17%) of dynamic memory, leaving 1686 bytes for local variables. Maximum is 2048 bytes.
C:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr/bin/avrdude -CC:\Users\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduinoisporg -Uflash:w:C:\Users\acer\AppData\Local\Temp\arduino_build_532785/KnockPattern_DoorLock.ino.hex:i 

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\acer\Downloads\arduino-nightly-windows\arduino-nightly\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : arduinoisporg
avrdude: Error: Could not find USBtiny device (0x2a03/0x49)

avrdude done.  Thank you.

the selected serial port 
 does not exist or your board is not connected

Does your OS (which one) recognise the board? If not, you might have to install the driver.

Are you choosing upload with programmer rather than clicking the upload arrow ?

i am using the programmer ArduinoISP.org
i am using windows driver and installed driver to recognize the board

after selecting the proper port and programmer for the arduino nano board its giving compiling errors 











C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware -hardware C:\Users\acer\AppData\Local\Arduino15\packages -tools C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\tools-builder -tools C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -tools C:\Users\acer\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\libraries -libraries C:\Users\acer\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10813 -build-path C:\Users\acer\AppData\Local\Temp\arduino_build_359996 -warnings=none -build-cache C:\Users\acer\AppData\Local\Temp\arduino_cache_390053 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -verbose C:\Users\acer\AppData\Local\Temp\untitled461724330.tmp\sketch_oct29a\sketch_oct29a.ino
C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\arduino-builder -compile -logger=machine -hardware C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware -hardware C:\Users\acer\AppData\Local\Arduino15\packages -tools C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\tools-builder -tools C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -tools C:\Users\acer\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\libraries -libraries C:\Users\acer\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10813 -build-path C:\Users\acer\AppData\Local\Temp\arduino_build_359996 -warnings=none -build-cache C:\Users\acer\AppData\Local\Temp\arduino_cache_390053 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -verbose C:\Users\acer\AppData\Local\Temp\untitled461724330.tmp\sketch_oct29a\sketch_oct29a.ino
Using board 'nano' from platform in folder: C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\arduino\avr
Detecting libraries used...
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\sketch\\sketch_oct29a.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\sketch\\sketch_oct29a.ino.cpp" -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\sketch\\sketch_oct29a.ino.cpp" -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\sketch\\sketch_oct29a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\wiring_pulse.S.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\WInterrupts.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\hooks.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\wiring_digital.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\wiring.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\wiring_pulse.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\wiring_shift.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\wiring_analog.c.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\CDC.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\HardwareSerial2.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\HardwareSerial1.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\HardwareSerial3.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\HardwareSerial0.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\PluggableUSB.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\Print.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\Stream.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\WMath.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\WString.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\USBCore.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\main.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\new.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\Tone.cpp.o
Using previously compiled file: C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\abi.cpp.o
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\wiring_pulse.S.o"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\WInterrupts.c.o"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\hooks.c.o"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\wiring.c.o"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\wiring_analog.c.o"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\wiring_digital.c.o"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\wiring_pulse.c.o"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\core.a" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_359996\\core\\wiring_shift.c.o"
c:\users\acer\downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr\bin\../lib/gcc/avr/7.3.0/../../../../avr/bin/ar.exe: unable to rename 'C:\Users\acer\AppData\Local\Temp\arduino_build_359996\core\core.a'; reason: Permission denied
exit status 1
Error compiling for board Arduino Nano.

Manually delete that file.

Restarting the IDE might also help as it will create a new temp directory when you compile.