Command: ninja flash
[1/10] Performing build step for 'bootloader'
[1/1] cd /home/c6h6/workspace_esp32/basic/build/bootloader/esp-idf/esptool_py && /home/c6h6/.espressif/python_env/idf5.5_py3.13_env/bin/python /home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /home/c6h6/workspace_esp32/basic/build/bootloader/bootloader.bin
Bootloader binary size 0x6680 bytes. 0x980 bytes (8%) free.
[2/10] No install step for 'bootloader'
[3/10] Completed 'bootloader'
[4/10] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/ethernet_example_main.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/ethernet_example_main.c.obj 
/home/c6h6/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.5.1-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -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/home/c6h6/workspace_esp32/basic/build/config -I/home/c6h6/workspace_esp32/basic/main -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/newlib/platform_include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/freertos/config/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/freertos/config/include/freertos -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/freertos/config/xtensa/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/freertos/esp_additions/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/include/soc -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/include/soc/esp32 -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/dma/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/ldo/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/debug_probe/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/mspi_timing_tuning/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/mspi_timing_tuning/tuning_scheme_impl/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/power_supply/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/port/esp32/. -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_hw_support/port/esp32/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/heap/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/heap/tlsf -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/log/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/soc/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/soc/esp32 -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/soc/esp32/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/soc/esp32/register -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/hal/platform_port/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/hal/esp32/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/hal/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_rom/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_rom/esp32/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_rom/esp32/include/esp32 -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_rom/esp32 -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_common/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_system/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_system/port/soc -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_system/port/include/private -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/xtensa/esp32/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/xtensa/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/xtensa/deprecated_include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/include/apps -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/include/apps/sntp -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/lwip/src/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/port/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/port/freertos/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/port/esp32xx/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/port/esp32xx/include/arch -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/lwip/port/esp32xx/include/sys -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_driver_uart/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/vfs/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_driver_gpio/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_netif/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_event/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_eth/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_driver_spi/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_pm/include -I/home/c6h6/workspace_esp32/basic/components/ethernet_init -I/home/c6h6/workspace_esp32/basic/managed_components/espressif__mqtt/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/tcp_transport/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp-tls -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp-tls/esp-tls-crypto -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/mbedtls/port/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/mbedtls/mbedtls/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/mbedtls/mbedtls/library -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/mbedtls/esp_crt_bundle/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/mbedtls/mbedtls/3rdparty/everest/include -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/mbedtls/mbedtls/3rdparty/p256-m -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1/components/esp_timer/include -mlongcalls -Wno-frame-address  -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-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fno-shrink-wrap -fmacro-prefix-map=/home/c6h6/workspace_esp32/basic=. -fmacro-prefix-map=/home/c6h6/run/Espressif-IDE-3.6.0-linux.gtk.x86_64/Espressif-IDE/idf/esp-idf-v5.5.1=/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/ethernet_example_main.c.obj -MF esp-idf/main/CMakeFiles/__idf_main.dir/ethernet_example_main.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/ethernet_example_main.c.obj -c /home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c
/home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c: In function 'hx2k_publish_telemetry':
/home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c:556:17: error: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=]
  556 |                 "{"
      |                 ^~~
......
  613 |                 HX2K_SCHEMA_STR, HX2K_DEVICE_ID_STR,f->uuid, ts, (unsigned long)f->seq,
      |                                                     ~~~~~~~
      |                                                      |
      |                                                      uint32_t {aka long unsigned int}
/home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c:558:39: note: format string is defined here
  558 |                 "\"device_id\":\"%s-%0X\","
      |                                     ~~^
      |                                       |
      |                                       unsigned int
      |                                     %0lX
/home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c:631:13: warning: unused variable 'msg_id' [-Wunused-variable]
  631 |         int msg_id = esp_mqtt_client_publish(client, topic,
      |             ^~~~~~
/home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c: At top level:
/home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c:232:13: warning: 'build_iso8601_utc' defined but not used [-Wunused-function]
  232 | static void build_iso8601_utc(char *buf, size_t buf_len) {
      |             ^~~~~~~~~~~~~~~~~
/home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c:92:13: warning: 'parse_long' defined but not used [-Wunused-function]
   92 | static long parse_long(const char *s, long def) {
      |             ^~~~~~~~~~
In file included from /home/c6h6/workspace_esp32/basic/main/ethernet_example_main.c:35:
/home/c6h6/workspace_esp32/basic/main/dummy_telemetry.h:31:20: warning: 'hxb2_dummy_frames' defined but not used [-Wunused-variable]
   31 | static const char *hxb2_dummy_frames[HXB2_DUMMY_FRAME_COUNT] = {
      |                    ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
