When i'm trying to flash the uf2 file to the pico, i get this error:
Le croquis utilise 89824 octets (4%) de l'espace de stockage de programmes. Le maximum est de 2097152 octets.
Les variables globales utilisent 42824 octets (15%) de mémoire dynamique, ce qui laisse 227512 octets pour les variables locales. Le maximum est de 270336 octets.
.....................
Failed uploading: uploading error: exit status 1.
Im using the right board plugin for th pico as you can see:

To reproduce
1)Connect the pico to the PC
2) Open this example file:
/**********************************************************************
- Filename : Blink
- Description : Make an led blinking.
- Auther : www.freenove.com
- Modification: 2021/10/13
**********************************************************************/
#define LED_BUILTIN 25
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
3)Verify the sketch
4)Upload the sketch to the pico and get the error
Expected behavior
The pico LED should blink after upload
Arduino IDE version
Version: 2.0.1-nightly-20221012Date: 2022-10-12T03:46:53.546Z Version CLI: git-snapshot [c8ff0425]Copyright © 2022 Arduino SA
Operating system
Linux
Operating system version
ubuntu 22.04
Additional context
Exported UF2 Binaries from IDE 2.0 stable and nightly just work OOTB by dragging them on the pico