Arduino IDE 2.0.0: No device found error

Hi,
I recently installed the new Arduino IDE 2.0 and after installing the required boards from the board manager, when I am trying to upload a simple Blink example sketch, I am getting the following error. Failed uploading: uploading error: exit status 1No device found on ttyACM0
Can someone help me figure out why is the IDE unable to upload the sketch. I am uploading a screenshot which shows that the board is detected.
Any help is appreciated, Thank you.

Please switch on verbose output during upload (and turn off verbose output during compilation) in file -> preferences.

Perform an upload and post the full error message (right click the output pane and select "copy all"); please use code tags when posting the error.

Here is the full error log.

Using board 'adafruit_feather_m0' from platform in folder: /home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10
Using core 'arduino' from platform in folder: /home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10
Detecting libraries used...
/home/raghav/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -Werror=return-type -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"Blink.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10607 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DADAFRUIT_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x800B -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Feather M0\"" -g -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DADAFRUIT_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x800B -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Feather M0\"" -g -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS/5.4.0/CMSIS/Core/Include/ -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS/5.4.0/CMSIS/DSP/Include/ -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS-Atmel/1.2.2/CMSIS/Device/ATMEL/ -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/variants/feather_m0 /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/sketch/Blink.ino.cpp -o /dev/null
Generating function prototypes...
/home/raghav/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -Werror=return-type -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"Blink.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10607 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DADAFRUIT_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x800B -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Feather M0\"" -g -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DADAFRUIT_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x800B -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Feather M0\"" -g -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS/5.4.0/CMSIS/Core/Include/ -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS/5.4.0/CMSIS/DSP/Include/ -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS-Atmel/1.2.2/CMSIS/Device/ATMEL/ -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/variants/feather_m0 /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/sketch/Blink.ino.cpp -o /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/preproc/ctags_target_for_gcc_minus_e.cpp
/home/raghav/.arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/raghav/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -Werror=return-type -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-D__SKETCH_NAME__=\"\"\"Blink.ino\"\"\"" -DF_CPU=48000000L -DARDUINO=10607 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DADAFRUIT_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x800B -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Feather M0\"" -g -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DADAFRUIT_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x800B -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Feather M0\"" -g -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS/5.4.0/CMSIS/Core/Include/ -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS/5.4.0/CMSIS/DSP/Include/ -I/home/raghav/.arduino15/packages/adafruit/tools/CMSIS-Atmel/1.2.2/CMSIS/Device/ATMEL/ -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino -I/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/variants/feather_m0 /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/sketch/Blink.ino.cpp -o /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/sketch/Blink.ino.cpp.o
Compiling libraries...
Compiling core...
Using previously compiled file: /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/core/variant.cpp.o
Using precompiled core: /tmp/arduino-core-cache/core_5ecef3ed34573df1fe4ce7f840785055.a
Linking everything together...
/home/raghav/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -L/tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF -Os -Wl,--gc-sections -save-temps -T/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/variants/feather_m0/linker_scripts/gcc/flash_with_bootloader.ld -Wl,-Map,/tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/Blink.ino.map --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/Blink.ino.elf /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/sketch/Blink.ino.cpp.o /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/core/variant.cpp.o -Wl,--start-group -L/home/raghav/.arduino15/packages/adafruit/tools/CMSIS/5.4.0/CMSIS/Lib/GCC/ -larm_cortexM0l_math -L/home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/variants/feather_m0 -lm /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/../arduino-core-cache/core_5ecef3ed34573df1fe4ce7f840785055.a -Wl,--end-group
/home/raghav/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-objcopy -O binary /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/Blink.ino.elf /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/Blink.ino.bin
/home/raghav/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-objcopy -O ihex -R .eeprom /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/Blink.ino.elf /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/Blink.ino.hex
open /home/raghav/.arduino15/packages/adafruit/hardware/samd/1.7.10/bootloaders/featherM0/bootloader-feather_m0-v2.0.0-adafruit.5.hex: no such file or directory

/home/raghav/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-size -A /tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/Blink.ino.elf
Performing 1200-bps touch reset on serial port /dev/ttyACM0
Waiting for upload port...
No upload port found, using address:"/dev/ttyACM0"  protocol:"serial" as fallback
Failed uploading: uploading error: exit status 1No device found on ttyACM0
"/home/raghav/.arduino15/packages/adafruit/tools/bossac/1.8.0-48-gb176eee/bossac" -i -d --port=ttyACM0 -U -i --offset=0x2000 -w -v "/tmp/arduino-sketch-D2C08FA694CDB49CF406AF1479ACA3EF/Blink.ino.bin" -R

I think that your board has a microUSB connector. If so, there is a chance that you're using a charge only cable instead of a data cable. Try another cable (e.g. one that came with a cell phone to download photos).

OOPS, in that case you would not have had a port in the first place. Please ignore.

What do you see in the system log when you connect the board?

I am using a cable that comes with cell phone, because read about the same before.
Also, I can upload any sketch using the same cable in Adruino IDE 1.8. But for some reason it is not working with version 2.0

I am not sure how to check system log but under "board info" i can see the BN, VID and PID.

If your board has a reset button, double-tap it when you see the above. If it does not have a reset button, use a wire.

Which version of IDE2.0? RC9.2?

I already tried double tapping reset, the LED starts blinking with a fade but still does not upload. THe version is IDE 2.0.0-rc8

Please switch to the #software:arduino-ide-2-0-beta section

I have moved the topic to the appropriate forum category.