[0/1] Re-running CMake...
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file /root/AliceRC/AliceRC_ESP32/sdkconfig
-- Compiler supported targets: xtensa-esp-elf
-- App "AliceRC_ESP32" version: 1
-- Adding linker script /root/AliceRC/AliceRC_ESP32/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /root/AliceRC/AliceRC_ESP32/build/esp-idf/esp_system/ld/sections.ld.in
-- Adding linker script /root/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /root/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /root/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /root/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.wdt.ld
-- Adding linker script /root/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /root/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /root/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Components: app_trace app_update audio bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_coex esp_common esp_driver_ana_cmpr esp_driver_cam esp_driver_dac esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_i2s esp_driver_isp esp_driver_jpeg esp_driver_ledc esp_driver_mcpwm esp_driver_parlio esp_driver_pcnt esp_driver_ppa esp_driver_rmt esp_driver_sdio esp_driver_sdm esp_driver_sdmmc esp_driver_sdspi esp_driver_spi esp_driver_touch_sens esp_driver_tsens esp_driver_uart esp_driver_usb_serial_jtag esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_vfs_console esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nrf24l01 nvs_flash nvs_sec_provider oled openthread partition_table perfmon protobuf-c protocol protocomm pthread sbus sdmmc soc spi_flash spiffs tcp_transport touch_element ui ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /root/esp-idf/components/app_trace /root/esp-idf/components/app_update /root/AliceRC/AliceRC_ESP32/components/audio /root/esp-idf/components/bootloader /root/esp-idf/components/bootloader_support /root/esp-idf/components/bt /root/esp-idf/components/cmock /root/esp-idf/components/console /root/esp-idf/components/cxx /root/esp-idf/components/driver /root/esp-idf/components/efuse /root/esp-idf/components/esp-tls /root/esp-idf/components/esp_adc /root/esp-idf/components/esp_app_format /root/esp-idf/components/esp_bootloader_format /root/esp-idf/components/esp_coex /root/esp-idf/components/esp_common /root/esp-idf/components/esp_driver_ana_cmpr /root/esp-idf/components/esp_driver_cam /root/esp-idf/components/esp_driver_dac /root/esp-idf/components/esp_driver_gpio /root/esp-idf/components/esp_driver_gptimer /root/esp-idf/components/esp_driver_i2c /root/esp-idf/components/esp_driver_i2s /root/esp-idf/components/esp_driver_isp /root/esp-idf/components/esp_driver_jpeg /root/esp-idf/components/esp_driver_ledc /root/esp-idf/components/esp_driver_mcpwm /root/esp-idf/components/esp_driver_parlio /root/esp-idf/components/esp_driver_pcnt /root/esp-idf/components/esp_driver_ppa /root/esp-idf/components/esp_driver_rmt /root/esp-idf/components/esp_driver_sdio /root/esp-idf/components/esp_driver_sdm /root/esp-idf/components/esp_driver_sdmmc /root/esp-idf/components/esp_driver_sdspi /root/esp-idf/components/esp_driver_spi /root/esp-idf/components/esp_driver_touch_sens /root/esp-idf/components/esp_driver_tsens /root/esp-idf/components/esp_driver_uart /root/esp-idf/components/esp_driver_usb_serial_jtag /root/esp-idf/components/esp_eth /root/esp-idf/components/esp_event /root/esp-idf/components/esp_gdbstub /root/esp-idf/components/esp_hid /root/esp-idf/components/esp_http_client /root/esp-idf/components/esp_http_server /root/esp-idf/components/esp_https_ota /root/esp-idf/components/esp_https_server /root/esp-idf/components/esp_hw_support /root/esp-idf/components/esp_lcd /root/esp-idf/components/esp_local_ctrl /root/esp-idf/components/esp_mm /root/esp-idf/components/esp_netif /root/esp-idf/components/esp_netif_stack /root/esp-idf/components/esp_partition /root/esp-idf/components/esp_phy /root/esp-idf/components/esp_pm /root/esp-idf/components/esp_psram /root/esp-idf/components/esp_ringbuf /root/esp-idf/components/esp_rom /root/esp-idf/components/esp_system /root/esp-idf/components/esp_timer /root/esp-idf/components/esp_vfs_console /root/esp-idf/components/esp_wifi /root/esp-idf/components/espcoredump /root/esp-idf/components/esptool_py /root/esp-idf/components/fatfs /root/esp-idf/components/freertos /root/esp-idf/components/hal /root/esp-idf/components/heap /root/esp-idf/components/http_parser /root/esp-idf/components/idf_test /root/esp-idf/components/ieee802154 /root/esp-idf/components/json /root/esp-idf/components/log /root/esp-idf/components/lwip /root/AliceRC/AliceRC_ESP32/main /root/esp-idf/components/mbedtls /root/esp-idf/components/mqtt /root/esp-idf/components/newlib /root/AliceRC/AliceRC_ESP32/components/nrf24l01 /root/esp-idf/components/nvs_flash /root/esp-idf/components/nvs_sec_provider /root/AliceRC/AliceRC_ESP32/components/oled /root/esp-idf/components/openthread /root/esp-idf/components/partition_table /root/esp-idf/components/perfmon /root/esp-idf/components/protobuf-c /root/AliceRC/AliceRC_ESP32/components/protocol /root/esp-idf/components/protocomm /root/esp-idf/components/pthread /root/AliceRC/AliceRC_ESP32/components/sbus /root/esp-idf/components/sdmmc /root/esp-idf/components/soc /root/esp-idf/components/spi_flash /root/esp-idf/components/spiffs /root/esp-idf/components/tcp_transport /root/esp-idf/components/touch_element /root/AliceRC/AliceRC_ESP32/components/ui /root/esp-idf/components/ulp /root/esp-idf/components/unity /root/esp-idf/components/usb /root/esp-idf/components/vfs /root/esp-idf/components/wear_levelling /root/esp-idf/components/wifi_provisioning /root/esp-idf/components/wpa_supplicant /root/esp-idf/components/xtensa
-- Configuring done (4.3s)
-- Generating done (0.7s)
-- Build files have been written to: /root/AliceRC/AliceRC_ESP32/build
[1/23] Building C object esp-idf/protocol/CMakeFiles/__idf_protocol.dir/protocol.c.obj
[2/23] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
[3/23] Linking C static library esp-idf/protocol/libprotocol.a
[4/23] Performing build step for 'bootloader'
[1/1] cd /root/AliceRC/AliceRC_ESP32/build/bootloader/esp-idf/esptool_py && /root/.espressif/python_env/idf5.3_py3.12_env/bin/python /root/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /root/AliceRC/AliceRC_ESP32/build/bootloader/bootloader.bin
Bootloader binary size 0x5260 bytes. 0x2da0 bytes (36%) free.
[5/23] No install step for 'bootloader'
[6/23] Completed 'bootloader'
[7/23] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/adc.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/adc.c.obj 
/root/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.3.1\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/root/AliceRC/AliceRC_ESP32/build/config -I/root/AliceRC/AliceRC_ESP32/main -I/root/esp-idf/components/newlib/platform_include -I/root/esp-idf/components/freertos/config/include -I/root/esp-idf/components/freertos/config/include/freertos -I/root/esp-idf/components/freertos/config/xtensa/include -I/root/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/root/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/root/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/root/esp-idf/components/freertos/esp_additions/include -I/root/esp-idf/components/esp_hw_support/include -I/root/esp-idf/components/esp_hw_support/include/soc -I/root/esp-idf/components/esp_hw_support/include/soc/esp32s3 -I/root/esp-idf/components/esp_hw_support/dma/include -I/root/esp-idf/components/esp_hw_support/ldo/include -I/root/esp-idf/components/esp_hw_support/port/esp32s3/. -I/root/esp-idf/components/esp_hw_support/port/esp32s3/include -I/root/esp-idf/components/heap/include -I/root/esp-idf/components/log/include -I/root/esp-idf/components/soc/include -I/root/esp-idf/components/soc/esp32s3 -I/root/esp-idf/components/soc/esp32s3/include -I/root/esp-idf/components/hal/platform_port/include -I/root/esp-idf/components/hal/esp32s3/include -I/root/esp-idf/components/hal/include -I/root/esp-idf/components/esp_rom/include -I/root/esp-idf/components/esp_rom/include/esp32s3 -I/root/esp-idf/components/esp_rom/esp32s3 -I/root/esp-idf/components/esp_common/include -I/root/esp-idf/components/esp_system/include -I/root/esp-idf/components/esp_system/port/soc -I/root/esp-idf/components/esp_system/port/include/private -I/root/esp-idf/components/xtensa/esp32s3/include -I/root/esp-idf/components/xtensa/include -I/root/esp-idf/components/xtensa/deprecated_include -I/root/esp-idf/components/lwip/include -I/root/esp-idf/components/lwip/include/apps -I/root/esp-idf/components/lwip/include/apps/sntp -I/root/esp-idf/components/lwip/lwip/src/include -I/root/esp-idf/components/lwip/port/include -I/root/esp-idf/components/lwip/port/freertos/include -I/root/esp-idf/components/lwip/port/esp32xx/include -I/root/esp-idf/components/lwip/port/esp32xx/include/arch -I/root/esp-idf/components/lwip/port/esp32xx/include/sys -I/root/AliceRC/AliceRC_ESP32/components/nrf24l01 -I/root/esp-idf/components/driver/deprecated -I/root/esp-idf/components/driver/i2c/include -I/root/esp-idf/components/driver/touch_sensor/include -I/root/esp-idf/components/driver/twai/include -I/root/esp-idf/components/driver/touch_sensor/esp32s3/include -I/root/esp-idf/components/esp_pm/include -I/root/esp-idf/components/esp_ringbuf/include -I/root/esp-idf/components/esp_driver_gpio/include -I/root/esp-idf/components/esp_driver_pcnt/include -I/root/esp-idf/components/esp_driver_gptimer/include -I/root/esp-idf/components/esp_driver_spi/include -I/root/esp-idf/components/esp_driver_mcpwm/include -I/root/esp-idf/components/esp_driver_ana_cmpr/include -I/root/esp-idf/components/esp_driver_i2s/include -I/root/esp-idf/components/esp_driver_sdmmc/include -I/root/esp-idf/components/sdmmc/include -I/root/esp-idf/components/esp_driver_sdspi/include -I/root/esp-idf/components/esp_driver_sdio/include -I/root/esp-idf/components/esp_driver_dac/include -I/root/esp-idf/components/esp_driver_rmt/include -I/root/esp-idf/components/esp_driver_tsens/include -I/root/esp-idf/components/esp_driver_sdm/include -I/root/esp-idf/components/esp_driver_i2c/include -I/root/esp-idf/components/esp_driver_uart/include -I/root/esp-idf/components/vfs/include -I/root/esp-idf/components/esp_driver_ledc/include -I/root/esp-idf/components/esp_driver_parlio/include -I/root/esp-idf/components/esp_driver_usb_serial_jtag/include -I/root/AliceRC/AliceRC_ESP32/components/oled -I/root/AliceRC/AliceRC_ESP32/components/audio -I/root/AliceRC/AliceRC_ESP32/components/protocol -I/root/esp-idf/components/nvs_flash/include -I/root/esp-idf/components/spi_flash/include -I/root/esp-idf/components/esp_partition/include -mlongcalls  -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fno-shrink-wrap -fmacro-prefix-map=/root/AliceRC/AliceRC_ESP32=. -fmacro-prefix-map=/root/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/adc.c.obj -MF esp-idf/main/CMakeFiles/__idf_main.dir/adc.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/adc.c.obj -c /root/AliceRC/AliceRC_ESP32/main/adc.c
In file included from /root/AliceRC/AliceRC_ESP32/main/adc.c:9:
/root/esp-idf/components/driver/deprecated/driver/adc.h:19:2: warning: #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively" [-Wcpp]
   19 | #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively"
      |  ^~~~~~~
/root/AliceRC/AliceRC_ESP32/main/adc.c: In function 'adc_task':
/root/AliceRC/AliceRC_ESP32/main/adc.c:28:5: error: unknown type name 'adc_data_t'
   28 |     adc_data_t adc_data;
      |     ^~~~~~~~~~
/root/AliceRC/AliceRC_ESP32/main/adc.c:42:21: error: request for member 'channels' in something not a structure or union
   42 |             adc_data.channels[i] = (uint16_t)adc_raw;
      |                     ^
/root/AliceRC/AliceRC_ESP32/main/adc.c:49:17: error: request for member 'battery_mv' in something not a structure or union
   49 |         adc_data.battery_mv = (uint16_t)bat_mv;
      |                 ^
/root/AliceRC/AliceRC_ESP32/main/adc.c:52:13: error: 'adc_data_queue' undeclared (first use in this function)
   52 |         if (adc_data_queue) {
      |             ^~~~~~~~~~~~~~
/root/AliceRC/AliceRC_ESP32/main/adc.c:52:13: note: each undeclared identifier is reported only once for each function it appears in
[8/23] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_main.c.obj
In file included from /root/AliceRC/AliceRC_ESP32/main/app_main.c:13:
/root/esp-idf/components/driver/deprecated/driver/adc.h:19:2: warning: #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively" [-Wcpp]
   19 | #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively"
      |  ^~~~~~~
/root/AliceRC/AliceRC_ESP32/main/app_main.c: In function 'app_init_gpio':
/root/AliceRC/AliceRC_ESP32/main/app_main.c:39:15: warning: unused variable 'btn_gpios' [-Wunused-variable]
   39 |     const int btn_gpios[] = {BTN_UP_GPIO, BTN_DOWN_GPIO, BTN_SEL_GPIO, BTN_BACK_GPIO};
      |               ^~~~~~~~~
[9/23] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/battery.c.obj
/root/AliceRC/AliceRC_ESP32/main/battery.c:8:20: warning: 'TAG' defined but not used [-Wunused-variable]
    8 | static const char *TAG = "battery";
      |                    ^~~
ninja: build stopped: subcommand failed.
