Ensure you have llvm-symbolizer in your PATH?

I was following this guide

https://apple.github.io/swift-matter-examples/tutorials/swiftmatterexamples/run-example-smart-light

I am gettign the error that the LLVM_SYMBOLIZER_PATH is not set.

First question is, does Swift Embedded needs it?

if yes how do I set it in my docker image?

if not how do we disable the need for it?

is a sptep missing from the guide?

I am gettign the error that the LLVM_SYMBOLIZER_PATH is not set.
First question is, does Swift Embedded needs it?

I don't think so. I think you might be seeing this in a dump from a compiler crash, perhaps? Can you post here the full build log / error message?

Executing "ninja all"...
[1/1] cd /code/smart-light/build/bootloader/esp-idf/esptool_py && /root/.espressif/python...sizes.py --offset 0xc000 bootloader 0x0 /code/smart-light/build/bootloader/bootloader.bin
Bootloader binary size 0x54d0 bytes. 0x6b30 bytes (56%) free.
[4/102] Performing build step for 'chip_gn'
ninja: no work to do.
[22/102] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/root/esp/...homeip/connectedhomeip/src/app/clusters/color-control-server/color-control-server.cpp.obj
/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/clusters/color-control-server/color-control-server.cpp: In member function 'bool ColorControlServer::moveToHueCommand(chip::app::CommandHandler*, const chip::app::ConcreteCommandPath&, uint16_t, HueDirection, uint16_t, uint8_t, uint8_t, bool)':
/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/clusters/color-control-server/color-control-server.cpp:1536:58: warning: 'direction' may be used uninitialized [-Wmaybe-uninitialized]
 1536 |     colorHueTransitionState->up             = (direction == HueDirection::kUp);
      |                                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/clusters/color-control-server/color-control-server.cpp:1439:18: note: 'direction' was declared here
 1439 |     HueDirection direction;
      |                  ^~~~~~~~~
[25/102] Building Swift Module '__idf_main' with 6 sources
FAILED: esp-idf/main/__idf_main.swiftmodule esp-idf/main/CMakeFiles/__idf_main.dir/Main.swift.obj esp-idf/main/CMakeFiles/__idf_main.dir/LED.swift.obj esp-idf/main/CMakeFiles/__idf_main.dir/__/Matter/Attribute.swift.obj esp-idf/main/CMakeFiles/__idf_main.dir/__/Matter/Clusters.swift.obj esp-idf/main/CMakeFiles/__idf_main.dir/__/Matter/Matter.swift.obj esp-idf/main/CMakeFiles/__idf_main.dir/__/Matter/Node.swift.obj 
/usr/bin/swiftc -j 8 -num-threads 8 -c -DESP_PLATFORM -DIDF_VER=\"v5.2.1\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -DUNITY_INCLUDE_CONFIG_H -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -parse-as-library -static -emit-module -emit-module-path esp-idf/main/__idf_main.swiftmodule -module-name __idf_main -module-link-name main -wmo -color-diagnostics -DCHIP_HAVE_CONFIG_H -target riscv32-none-none-eabi -Xfrontend -function-sections -enable-experimental-feature Embedded -wmo -parse-as-library -Osize -color-diagnostics -Xcc -DCHIP_HAVE_CONFIG_H -Xcc -std=c++17 -cxx-interoperability-mode=default -Xcc -fno-exceptions -Xcc -fno-rtti -Xcc -DESP_PLATFORM -Xcc -DIDF_VER=v5.3-dev-2815-gbe06a6f5ff-dirty -Xcc -DLV_CONF_INCLUDE_SIMPLE -Xcc -DMBEDTLS_CONFIG_FILE=mbedtls/esp_config.h -Xcc -DMD5_ENABLED=1 -Xcc -DSERIAL_FLASHER_BOOT_HOLD_TIME_MS=50 -Xcc -DSERIAL_FLASHER_RESET_HOLD_TIME_MS=100 -Xcc -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -Xcc -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -Xcc -DUNITY_INCLUDE_CONFIG_H -Xcc -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -Xcc -D_GLIBCXX_USE_POSIX_SEMAPHORE -Xcc -D_POSIX_READER_WRITER_LOCKS -pch-output-dir /tmp -Xfrontend -enable-single-module-llvm-emission -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/include-fixed -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/sys-include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include/c++/13.2.0 -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include/c++/13.2.0/riscv32-esp-elf/rv32imac_zicsr_zifencei/ilp32 -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include/c++/13.2.0/backward -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/include-fixed -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/sys-include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include -import-bridging-header /code/smart-light/main/BridgingHeader.h "-DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h>" -output-file-map esp-idf/main/CMakeFiles/__idf_main.dir//output-file-map.json -I /code/smart-light/build/config -I /code/smart-light/main -I /root/esp/esp-idf/components/newlib/platform_include -I /root/esp/esp-idf/components/freertos/config/include -I /root/esp/esp-idf/components/freertos/config/include/freertos -I /root/esp/esp-idf/components/freertos/config/riscv/include -I /root/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I /root/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I /root/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I /root/esp/esp-idf/components/freertos/esp_additions/include -I /root/esp/esp-idf/components/esp_hw_support/include -I /root/esp/esp-idf/components/esp_hw_support/include/soc -I /root/esp/esp-idf/components/esp_hw_support/include/soc/esp32c6 -I /root/esp/esp-idf/components/esp_hw_support/port/esp32c6/. -I /root/esp/esp-idf/components/esp_hw_support/port/esp32c6/private_include -I /root/esp/esp-idf/components/heap/include -I /root/esp/esp-idf/components/log/include -I /root/esp/esp-idf/components/soc/include -I /root/esp/esp-idf/components/soc/esp32c6 -I /root/esp/esp-idf/components/soc/esp32c6/include -I /root/esp/esp-idf/components/hal/platform_port/include -I /root/esp/esp-idf/components/hal/esp32c6/include -I /root/esp/esp-idf/components/hal/include -I /root/esp/esp-idf/components/esp_rom/include -I /root/esp/esp-idf/components/esp_rom/include/esp32c6 -I /root/esp/esp-idf/components/esp_rom/esp32c6 -I /root/esp/esp-idf/components/esp_common/include -I /root/esp/esp-idf/components/esp_system/include -I /root/esp/esp-idf/components/esp_system/port/soc -I /root/esp/esp-idf/components/esp_system/port/include/riscv -I /root/esp/esp-idf/components/esp_system/port/include/private -I /root/esp/esp-idf/components/riscv/include -I /root/esp/esp-idf/components/lwip/include -I /root/esp/esp-idf/components/lwip/include/apps -I /root/esp/esp-idf/components/lwip/include/apps/sntp -I /root/esp/esp-idf/components/lwip/lwip/src/include -I /root/esp/esp-idf/components/lwip/port/include -I /root/esp/esp-idf/components/lwip/port/freertos/include -I /root/esp/esp-idf/components/lwip/port/esp32xx/include -I /root/esp/esp-idf/components/lwip/port/esp32xx/include/arch -I /root/esp/esp-idf/components/lwip/port/esp32xx/include/sys -I /root/esp/esp-idf/components/esp_ringbuf/include -I /root/esp/esp-idf/components/efuse/include -I /root/esp/esp-idf/components/efuse/esp32c6/include -I /root/esp/esp-idf/components/esp_mm/include -I /root/esp/esp-idf/components/driver/include -I /root/esp/esp-idf/components/driver/deprecated -I /root/esp/esp-idf/components/driver/analog_comparator/include -I /root/esp/esp-idf/components/driver/dac/include -I /root/esp/esp-idf/components/driver/gpio/include -I /root/esp/esp-idf/components/driver/gptimer/include -I /root/esp/esp-idf/components/driver/i2c/include -I /root/esp/esp-idf/components/driver/i2s/include -I /root/esp/esp-idf/components/driver/ledc/include -I /root/esp/esp-idf/components/driver/mcpwm/include -I /root/esp/esp-idf/components/driver/parlio/include -I /root/esp/esp-idf/components/driver/pcnt/include -I /root/esp/esp-idf/components/driver/rmt/include -I /root/esp/esp-idf/components/driver/sdio_slave/include -I /root/esp/esp-idf/components/driver/sdmmc/include -I /root/esp/esp-idf/components/driver/sigma_delta/include -I /root/esp/esp-idf/components/driver/spi/include -I /root/esp/esp-idf/components/driver/temperature_sensor/include -I /root/esp/esp-idf/components/driver/touch_sensor/include -I /root/esp/esp-idf/components/driver/twai/include -I /root/esp/esp-idf/components/driver/uart/include -I /root/esp/esp-idf/components/driver/usb_serial_jtag/include -I /root/esp/esp-idf/components/esp_pm/include -I /root/esp/esp-idf/components/mbedtls/port/include -I /root/esp/esp-idf/components/mbedtls/mbedtls/include -I /root/esp/esp-idf/components/mbedtls/mbedtls/library -I /root/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -I /root/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I /root/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -I /root/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I /root/esp/esp-idf/components/esp_bootloader_format/include -I /root/esp/esp-idf/components/esp_app_format/include -I /root/esp/esp-idf/components/bootloader_support/include -I /root/esp/esp-idf/components/bootloader_support/bootloader_flash/include -I /root/esp/esp-idf/components/esp_partition/include -I /root/esp/esp-idf/components/app_update/include -I /root/esp/esp-idf/components/spi_flash/include -I /root/esp/esp-idf/components/pthread/include -I /root/esp/esp-idf/components/esp_timer/include -I /root/esp/esp-idf/components/app_trace/include -I /root/esp/esp-idf/components/esp_event/include -I /root/esp/esp-idf/components/nvs_flash/include -I /root/esp/esp-idf/components/esp_phy/include -I /root/esp/esp-idf/components/esp_phy/esp32c6/include -I /root/esp/esp-idf/components/vfs/include -I /root/esp/esp-idf/components/esp_netif/include -I /root/esp/esp-idf/components/wpa_supplicant/include -I /root/esp/esp-idf/components/wpa_supplicant/port/include -I /root/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include -I /root/esp/esp-idf/components/esp_coex/include -I /root/esp/esp-idf/components/esp_wifi/include -I /root/esp/esp-idf/components/esp_wifi/wifi_apps/include -I /root/esp/esp-idf/components/bt/include/esp32c6/include -I /root/esp/esp-idf/components/bt/common/osi/include -I /root/esp/esp-idf/components/bt/common/api/include/api -I /root/esp/esp-idf/components/bt/common/btc/profile/esp/blufi/include -I /root/esp/esp-idf/components/bt/common/btc/profile/esp/include -I /root/esp/esp-idf/components/bt/porting/include -I /root/esp/esp-idf/components/bt/porting/nimble/include -I /root/esp/esp-idf/components/bt/porting/npl/freertos/include -I /root/esp/esp-idf/components/bt/porting/transport/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ans/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/bas/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/dis/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gap/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hr/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/htp/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ias/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/lls/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/prox/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/cts/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/tps/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hid/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/sps/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/util/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/ram/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/config/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include -I /root/esp/esp-idf/components/bt/host/nimble/port/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/transport/include -I /root/esp/esp-idf/components/unity/include -I /root/esp/esp-idf/components/unity/unity/src -I /root/esp/esp-idf/components/cmock/CMock/src -I /root/esp/esp-idf/components/console -I /root/esp/esp-idf/components/http_parser -I /root/esp/esp-idf/components/esp-tls -I /root/esp/esp-idf/components/esp-tls/esp-tls-crypto -I /root/esp/esp-idf/components/esp_adc/include -I /root/esp/esp-idf/components/esp_adc/interface -I /root/esp/esp-idf/components/esp_adc/esp32c6/include -I /root/esp/esp-idf/components/esp_adc/deprecated/include -I /root/esp/esp-idf/components/esp_eth/include -I /root/esp/esp-idf/components/esp_gdbstub/include -I /root/esp/esp-idf/components/esp_hid/include -I /root/esp/esp-idf/components/tcp_transport/include -I /root/esp/esp-idf/components/esp_http_client/include -I /root/esp/esp-idf/components/esp_http_server/include -I /root/esp/esp-idf/components/esp_https_ota/include -I /root/esp/esp-idf/components/esp_psram/include -I /root/esp/esp-idf/components/esp_lcd/include -I /root/esp/esp-idf/components/esp_lcd/interface -I /root/esp/esp-idf/components/protobuf-c/protobuf-c -I /root/esp/esp-idf/components/protocomm/include/common -I /root/esp/esp-idf/components/protocomm/include/security -I /root/esp/esp-idf/components/protocomm/include/transports -I /root/esp/esp-idf/components/protocomm/include/crypto/srp6a -I /root/esp/esp-idf/components/esp_local_ctrl/include -I /root/esp/esp-idf/components/espcoredump/include -I /root/esp/esp-idf/components/espcoredump/include/port/riscv -I /root/esp/esp-idf/components/wear_levelling/include -I /root/esp/esp-idf/components/sdmmc/include -I /root/esp/esp-idf/components/fatfs/diskio -I /root/esp/esp-idf/components/fatfs/src -I /root/esp/esp-idf/components/fatfs/vfs -I /root/esp/esp-idf/components/idf_test/include -I /root/esp/esp-idf/components/idf_test/include/esp32c6 -I /root/esp/esp-idf/components/ieee802154/include -I /root/esp/esp-idf/components/json/cJSON -I /root/esp/esp-idf/components/mqtt/esp-mqtt/include -I /root/esp/esp-idf/components/nvs_sec_provider/include -I /root/esp/esp-idf/components/spiffs/include -I /root/esp/esp-idf/components/wifi_provisioning/include -I /code/smart-light/managed_components/espressif__esp_encrypted_img/include -I /code/smart-light/managed_components/espressif__rmaker_common/include -I /code/smart-light/managed_components/espressif__esp_diagnostics/include -I /code/smart-light/managed_components/espressif__cbor/port/include -I /code/smart-light/managed_components/espressif__esp_diag_data_store/src/rtc_store -I /code/smart-light/managed_components/espressif__esp_diag_data_store/include -I /code/smart-light/managed_components/espressif__esp_insights/include -I /code/smart-light/managed_components/espressif__mdns/include -I /code/smart-light/managed_components/espressif__esp_secure_cert_mgr/include -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32 -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/OpenThread -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/lib -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/zzz_generated/app-common -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/examples/platform/esp32 -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/nlassert/repo/include -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/nlio/repo/include -I /code/smart-light/build/esp-idf/chip/src/include -I /code/smart-light/build/esp-idf/chip/include -I /code/smart-light/build/esp-idf/chip/gen/include -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32 -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/../.. -I /root/esp/esp-matter/components/esp_matter_console -I /root/esp/esp-matter/components/esp_matter -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/nlfaultinjection/include -I /root/esp/esp-matter/components/esp_matter/zap_common -I /root/esp/esp-matter/components/esp_matter_bridge -I /root/esp/esp-matter/examples/common/app_bridge -I /code/smart-light/managed_components/espressif__led_strip/include -I /root/esp/esp-matter/device_hal/led_driver/include -I /code/smart-light/managed_components/espressif__button/include -I /root/esp/esp-matter/device_hal/device/include -I /root/esp/esp-matter/examples/common/app_reset -I /code/smart-light/managed_components/espressif__jsmn/include -I /code/smart-light/managed_components/espressif__json_parser/include -I /code/smart-light/managed_components/espressif__json_generator/include -I /root/esp/esp-matter/components/esp_matter_rainmaker -I /root/esp/esp-matter/components/esp_matter_thread_br /code/smart-light/main/Main.swift /code/smart-light/main/LED.swift /code/smart-light/Matter/Attribute.swift /code/smart-light/Matter/Clusters.swift /code/smart-light/Matter/Matter.swift /code/smart-light/Matter/Node.swift
warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'IDF_VER="v5.2.1"')
warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'MBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"')
warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'SOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE')
warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'SOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ')
warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'CHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h>')
/code/smart-light/main/BridgingHeader.h:27:10: note: in file included from /code/smart-light/main/BridgingHeader.h:27:
25 | #include <nvs_flash.h>
26 | #include <led_driver.h>
27 | #include <device.h>
   |          `- note: in file included from /code/smart-light/main/BridgingHeader.h:27:
28 | 
29 | // ESP Matter

/root/esp/esp-matter/device_hal/device/include/device.h:16:10: note: in file included from /root/esp/esp-matter/device_hal/device/include/device.h:16:
14 | #pragma once
15 | 
16 | #include <iot_button.h>
   |          `- note: in file included from /root/esp/esp-matter/device_hal/device/include/device.h:16:
17 | #include <led_driver.h>
18 | 

/code/smart-light/managed_components/espressif__button/include/iot_button.h:17:10: note: in file included from /code/smart-light/managed_components/espressif__button/include/iot_button.h:17:
 15 | #define _IOT_BUTTON_H_
 16 | 
 17 | #include "button_adc.h"
    |          `- note: in file included from /code/smart-light/managed_components/espressif__button/include/iot_button.h:17:
 18 | #include "button_gpio.h"
 19 | #include "esp_err.h"

/code/smart-light/managed_components/espressif__button/include/button_adc.h:18:10: note: in file included from /code/smart-light/managed_components/espressif__button/include/button_adc.h:18:
16 | 
17 | #include "esp_idf_version.h"
18 | #include "driver/gpio.h"
   |          `- note: in file included from /code/smart-light/managed_components/espressif__button/include/button_adc.h:18:
19 | #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
20 | #include "esp_adc/adc_oneshot.h"

/root/esp/esp-idf/components/driver/gpio/include/driver/gpio.h:17:10: note: in file included from /root/esp/esp-idf/components/driver/gpio/include/driver/gpio.h:17:
 15 | #include "hal/gpio_types.h"
 16 | #include "esp_rom_gpio.h"
 17 | #include "driver/gpio_etm.h"
    |          `- note: in file included from /root/esp/esp-idf/components/driver/gpio/include/driver/gpio.h:17:
 18 | 
 19 | #ifdef __cplusplus

/root/esp/esp-idf/components/driver/gpio/include/driver/gpio_etm.h:10:10: note: in file included from /root/esp/esp-idf/components/driver/gpio/include/driver/gpio_etm.h:10:
  8 | #include <stdint.h>
  9 | #include "esp_err.h"
 10 | #include "esp_etm.h"
    |          `- note: in file included from /root/esp/esp-idf/components/driver/gpio/include/driver/gpio_etm.h:10:
 11 | 
 12 | #ifdef __cplusplus

/root/esp/esp-idf/components/esp_hw_support/include/esp_etm.h:34:9: warning: empty struct has size 0 in C, size 1 in C++
 32 |  * @brief ETM channel configuration
 33 |  */
 34 | typedef struct {
    |         `- warning: empty struct has size 0 in C, size 1 in C++
 35 | 
 36 | } esp_etm_channel_config_t;

/code/smart-light/main/BridgingHeader.h:42:10: note: in file included from /code/smart-light/main/BridgingHeader.h:42:
40 | extern "C" size_t strnlen(const char *s, size_t maxlen);
41 | 
42 | #include <esp_matter.h>
   |          `- note: in file included from /code/smart-light/main/BridgingHeader.h:42:
43 | #include <esp_matter_cluster.h>
44 | #include <app-common/zap-generated/ids/Clusters.h>

/root/esp/esp-matter/components/esp_matter/esp_matter.h:22:10: note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter.h:22:
 20 | */
 21 | 
 22 | #include <esp_matter_attribute.h>
    |          `- note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter.h:22:
 23 | #include <esp_matter_attribute_utils.h>
 24 | #include <esp_matter_client.h>

/root/esp/esp-matter/components/esp_matter/esp_matter_attribute.h:17:10: note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter_attribute.h:17:
 15 | #pragma once
 16 | 
 17 | #include <esp_matter_core.h>
    |          `- note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter_attribute.h:17:
 18 | 
 19 | namespace esp_matter {

/root/esp/esp-matter/components/esp_matter/esp_matter_core.h:18:10: note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter_core.h:18:
 16 | 
 17 | #include <app/DeviceProxy.h>
 18 | #include <app/InteractionModelEngine.h>
    |          `- note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter_core.h:18:
 19 | #include <app/util/af-types.h>
 20 | #include <esp_err.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/InteractionModelEngine.h:32:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/InteractionModelEngine.h:32:
 30 | #include <app/MessageDef/AttributeReportIBs.h>
 31 | #include <app/MessageDef/ReportDataMessage.h>
 32 | #include <app/SubscriptionResumptionSessionEstablisher.h>
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/InteractionModelEngine.h:32:
 33 | #include <lib/core/CHIPCore.h>
 34 | #include <lib/support/CodeUtils.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/SubscriptionResumptionSessionEstablisher.h:21:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/SubscriptionResumptionSessionEstablisher.h:21:
19 | 
20 | #include <app/AttributePathParams.h>
21 | #include <app/CASESessionManager.h>
   |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/SubscriptionResumptionSessionEstablisher.h:21:
22 | #include <app/SubscriptionResumptionStorage.h>
23 | 

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/CASESessionManager.h:27:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/CASESessionManager.h:27:
 25 | #include <lib/core/CHIPCore.h>
 26 | #include <lib/support/Pool.h>
 27 | #include <platform/CHIPDeviceLayer.h>
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/CASESessionManager.h:27:
 28 | #include <transport/SessionDelegate.h>
 29 | #include <transport/SessionUpdateDelegate.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:27:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:27:
25 | #include <lib/core/CHIPCore.h>
26 | #include <platform/CHIPDeviceError.h>
27 | #include <platform/ConfigurationManager.h>
   |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:27:
28 | #include <platform/ConnectivityManager.h>
29 | #include <platform/GeneralUtils.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConfigurationManager.h:219:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConfigurationManager.h:219:
217 | #elif defined(CHIP_DEVICE_LAYER_TARGET)
218 | #define CONFIGURATIONMANAGERIMPL_HEADER <platform/CHIP_DEVICE_LAYER_TARGET/ConfigurationManagerImpl.h>
219 | #include CONFIGURATIONMANAGERIMPL_HEADER
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConfigurationManager.h:219:
220 | #endif // defined(CHIP_DEVICE_LAYER_TARGET)
221 | 

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConfigurationManagerImpl.h:28:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConfigurationManagerImpl.h:28:
 26 | #pragma once
 27 | 
 28 | #include <platform/ConnectivityManager.h>
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConfigurationManagerImpl.h:28:
 29 | #include <platform/internal/GenericConfigurationManagerImpl.h>
 30 | #if CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConnectivityManager.h:308:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConnectivityManager.h:308:
306 | #elif defined(CHIP_DEVICE_LAYER_TARGET)
307 | #define CONNECTIVITYMANAGERIMPL_HEADER <platform/CHIP_DEVICE_LAYER_TARGET/ConnectivityManagerImpl.h>
308 | #include CONNECTIVITYMANAGERIMPL_HEADER
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConnectivityManager.h:308:
309 | #endif // defined(CHIP_DEVICE_LAYER_TARGET)
310 | 

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConnectivityManagerImpl.h:45:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConnectivityManagerImpl.h:45:
 43 | 
 44 | #if CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
 45 | #include <platform/internal/GenericConnectivityManagerImpl_BLE.h>
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConnectivityManagerImpl.h:45:
 46 | #else
 47 | #include <platform/internal/GenericConnectivityManagerImpl_NoBLE.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/internal/GenericConnectivityManagerImpl_BLE.h:27:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/internal/GenericConnectivityManagerImpl_BLE.h:27:
 25 | #pragma once
 26 | 
 27 | #include <platform/internal/BLEManager.h>
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/internal/GenericConnectivityManagerImpl_BLE.h:27:
 28 | 
 29 | namespace chip {

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/internal/BLEManager.h:106:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/internal/BLEManager.h:106:
104 | #elif defined(CHIP_DEVICE_LAYER_TARGET)
105 | #define BLEMANAGERIMPL_HEADER <platform/CHIP_DEVICE_LAYER_TARGET/BLEManagerImpl.h>
106 | #include BLEMANAGERIMPL_HEADER
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/internal/BLEManager.h:106:
107 | #endif // defined(CHIP_DEVICE_LAYER_TARGET)
108 | 


/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/BLEManagerImpl.h:48:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/BLEManagerImpl.h:48:
 46 | #define min
 47 | #define max
 48 | #include "host/ble_hs.h"
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/BLEManagerImpl.h:48:
 49 | #undef min
 50 | #undef max

/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include/host/ble_hs.h:38:10: note: in file included from /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include/host/ble_hs.h:38:
 36 | #include "host/ble_hs_id.h"
 37 | #include "host/ble_hs_hci.h"
 38 | #include "host/ble_hs_log.h"
    |          `- note: in file included from /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include/host/ble_hs.h:38:
 39 | #include "host/ble_hs_mbuf.h"
 40 | #include "host/ble_hs_stop.h"

/root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include/host/ble_hs_log.h:23:10: note: in file included from /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include/host/ble_hs_log.h:23:
21 | #define H_BLE_HS_LOG_
22 | 
23 | #include "modlog/modlog.h"
   |          `- note: in file included from /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include/host/ble_hs_log.h:23:
24 | #include "log/log.h"
25 | 

/root/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include/modlog/modlog.h:26:10: note: in file included from /root/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include/modlog/modlog.h:26:
 24 | 
 25 | #include "log_common/log_common.h"
 26 | #include "log/log.h"
    |          `- note: in file included from /root/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include/modlog/modlog.h:26:
 27 | #include "log_common/log_common.h"
 28 | 

/root/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include/log/log.h:27:1: warning: empty struct has size 0 in C, size 1 in C++
25 | #endif
26 | 
27 | struct log {
   | `- warning: empty struct has size 0 in C, size 1 in C++
28 | };
29 | 

/code/smart-light/main/BridgingHeader.h:42:10: note: in file included from /code/smart-light/main/BridgingHeader.h:42:
40 | extern "C" size_t strnlen(const char *s, size_t maxlen);
41 | 
42 | #include <esp_matter.h>
   |          `- note: in file included from /code/smart-light/main/BridgingHeader.h:42:
43 | #include <esp_matter_cluster.h>
44 | #include <app-common/zap-generated/ids/Clusters.h>

/root/esp/esp-matter/components/esp_matter/esp_matter.h:22:10: note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter.h:22:
 20 | */
 21 | 
 22 | #include <esp_matter_attribute.h>
    |          `- note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter.h:22:
 23 | #include <esp_matter_attribute_utils.h>
 24 | #include <esp_matter_client.h>

/root/esp/esp-matter/components/esp_matter/esp_matter_attribute.h:17:10: note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter_attribute.h:17:
 15 | #pragma once
 16 | 
 17 | #include <esp_matter_core.h>
    |          `- note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter_attribute.h:17:
 18 | 
 19 | namespace esp_matter {

/root/esp/esp-matter/components/esp_matter/esp_matter_core.h:18:10: note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter_core.h:18:
 16 | 
 17 | #include <app/DeviceProxy.h>
 18 | #include <app/InteractionModelEngine.h>
    |          `- note: in file included from /root/esp/esp-matter/components/esp_matter/esp_matter_core.h:18:
 19 | #include <app/util/af-types.h>
 20 | #include <esp_err.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/InteractionModelEngine.h:32:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/InteractionModelEngine.h:32:
 30 | #include <app/MessageDef/AttributeReportIBs.h>
 31 | #include <app/MessageDef/ReportDataMessage.h>
 32 | #include <app/SubscriptionResumptionSessionEstablisher.h>
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/InteractionModelEngine.h:32:
 33 | #include <lib/core/CHIPCore.h>
 34 | #include <lib/support/CodeUtils.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/SubscriptionResumptionSessionEstablisher.h:21:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/SubscriptionResumptionSessionEstablisher.h:21:
19 | 
20 | #include <app/AttributePathParams.h>
21 | #include <app/CASESessionManager.h>
   |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/SubscriptionResumptionSessionEstablisher.h:21:
22 | #include <app/SubscriptionResumptionStorage.h>
23 | 

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/CASESessionManager.h:27:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/CASESessionManager.h:27:
 25 | #include <lib/core/CHIPCore.h>
 26 | #include <lib/support/Pool.h>
 27 | #include <platform/CHIPDeviceLayer.h>
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/CASESessionManager.h:27:
 28 | #include <transport/SessionDelegate.h>
 29 | #include <transport/SessionUpdateDelegate.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:27:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:27:
25 | #include <lib/core/CHIPCore.h>
26 | #include <platform/CHIPDeviceError.h>
27 | #include <platform/ConfigurationManager.h>
   |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:27:
28 | #include <platform/ConnectivityManager.h>
29 | #include <platform/GeneralUtils.h>

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConfigurationManager.h:219:10: note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConfigurationManager.h:219:
217 | #elif defined(CHIP_DEVICE_LAYER_TARGET)
218 | #define CONFIGURATIONMANAGERIMPL_HEADER <platform/CHIP_DEVICE_LAYER_TARGET/ConfigurationManagerImpl.h>
219 | #include CONFIGURATIONMANAGERIMPL_HEADER
    |          `- note: in file included from /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/ConfigurationManager.h:219:
220 | #endif // defined(CHIP_DEVICE_LAYER_TARGET)
221 | 

3 warnings generated.
/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConfigurationManagerImpl.h:56:16: warning: 'GetSoftwareVersionString' overrides a member function but is not marked 'override'
 54 |     CHIP_ERROR GetTotalOperationalHours(uint32_t & totalOperationalHours) override;
 55 |     CHIP_ERROR StoreTotalOperationalHours(uint32_t totalOperationalHours) override;
 56 |     CHIP_ERROR GetSoftwareVersionString(char * buf, size_t bufSize);
    |                `- warning: 'GetSoftwareVersionString' overrides a member function but is not marked 'override'
 57 |     CHIP_ERROR GetSoftwareVersion(uint32_t & softwareVer) override;
 58 |     CHIP_ERROR GetLocationCapability(uint8_t & location) override;

/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include/platform/internal/GenericConfigurationManagerImpl.h:66:16: note: overridden virtual function is here
 64 |     CHIP_ERROR Init() override;
 65 |     CHIP_ERROR StoreHardwareVersion(uint16_t hardwareVer) override;
 66 |     CHIP_ERROR GetSoftwareVersionString(char * buf, size_t bufSize) override;
    |                `- note: overridden virtual function is here
 67 |     CHIP_ERROR GetSoftwareVersion(uint32_t & softwareVer) override;
 68 |     CHIP_ERROR StoreSoftwareVersion(uint32_t softwareVer) override;
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/IRGen/GenDecl.cpp:1328: void swift::irgen::IRGenerator::emitLazyDefinitions(): Assertion `LazyTypeMetadata.empty()' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /code/smart-light/main/Main.swift /code/smart-light/main/LED.swift /code/smart-light/Matter/Attribute.swift /code/smart-light/Matter/Clusters.swift /code/smart-light/Matter/Matter.swift /code/smart-light/Matter/Node.swift -supplementary-output-file-map /tmp/TemporaryDirectory.npSAlN/supplementaryOutputs-1 -target riscv32-none-none-eabi -disable-objc-interop -cxx-interoperability-mode=default -I /code/smart-light/build/config -I /code/smart-light/main -I /root/esp/esp-idf/components/newlib/platform_include -I /root/esp/esp-idf/components/freertos/config/include -I /root/esp/esp-idf/components/freertos/config/include/freertos -I /root/esp/esp-idf/components/freertos/config/riscv/include -I /root/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I /root/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I /root/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I /root/esp/esp-idf/components/freertos/esp_additions/include -I /root/esp/esp-idf/components/esp_hw_support/include -I /root/esp/esp-idf/components/esp_hw_support/include/soc -I /root/esp/esp-idf/components/esp_hw_support/include/soc/esp32c6 -I /root/esp/esp-idf/components/esp_hw_support/port/esp32c6 -I /root/esp/esp-idf/components/esp_hw_support/port/esp32c6/private_include -I /root/esp/esp-idf/components/heap/include -I /root/esp/esp-idf/components/log/include -I /root/esp/esp-idf/components/soc/include -I /root/esp/esp-idf/components/soc/esp32c6 -I /root/esp/esp-idf/components/soc/esp32c6/include -I /root/esp/esp-idf/components/hal/platform_port/include -I /root/esp/esp-idf/components/hal/esp32c6/include -I /root/esp/esp-idf/components/hal/include -I /root/esp/esp-idf/components/esp_rom/include -I /root/esp/esp-idf/components/esp_rom/include/esp32c6 -I /root/esp/esp-idf/components/esp_rom/esp32c6 -I /root/esp/esp-idf/components/esp_common/include -I /root/esp/esp-idf/components/esp_system/include -I /root/esp/esp-idf/components/esp_system/port/soc -I /root/esp/esp-idf/components/esp_system/port/include/riscv -I /root/esp/esp-idf/components/esp_system/port/include/private -I /root/esp/esp-idf/components/riscv/include -I /root/esp/esp-idf/components/lwip/include -I /root/esp/esp-idf/components/lwip/include/apps -I /root/esp/esp-idf/components/lwip/include/apps/sntp -I /root/esp/esp-idf/components/lwip/lwip/src/include -I /root/esp/esp-idf/components/lwip/port/include -I /root/esp/esp-idf/components/lwip/port/freertos/include -I /root/esp/esp-idf/components/lwip/port/esp32xx/include -I /root/esp/esp-idf/components/lwip/port/esp32xx/include/arch -I /root/esp/esp-idf/components/lwip/port/esp32xx/include/sys -I /root/esp/esp-idf/components/esp_ringbuf/include -I /root/esp/esp-idf/components/efuse/include -I /root/esp/esp-idf/components/efuse/esp32c6/include -I /root/esp/esp-idf/components/esp_mm/include -I /root/esp/esp-idf/components/driver/include -I /root/esp/esp-idf/components/driver/deprecated -I /root/esp/esp-idf/components/driver/analog_comparator/include -I /root/esp/esp-idf/components/driver/dac/include -I /root/esp/esp-idf/components/driver/gpio/include -I /root/esp/esp-idf/components/driver/gptimer/include -I /root/esp/esp-idf/components/driver/i2c/include -I /root/esp/esp-idf/components/driver/i2s/include -I /root/esp/esp-idf/components/driver/ledc/include -I /root/esp/esp-idf/components/driver/mcpwm/include -I /root/esp/esp-idf/components/driver/parlio/include -I /root/esp/esp-idf/components/driver/pcnt/include -I /root/esp/esp-idf/components/driver/rmt/include -I /root/esp/esp-idf/components/driver/sdio_slave/include -I /root/esp/esp-idf/components/driver/sdmmc/include -I /root/esp/esp-idf/components/driver/sigma_delta/include -I /root/esp/esp-idf/components/driver/spi/include -I /root/esp/esp-idf/components/driver/temperature_sensor/include -I /root/esp/esp-idf/components/driver/touch_sensor/include -I /root/esp/esp-idf/components/driver/twai/include -I /root/esp/esp-idf/components/driver/uart/include -I /root/esp/esp-idf/components/driver/usb_serial_jtag/include -I /root/esp/esp-idf/components/esp_pm/include -I /root/esp/esp-idf/components/mbedtls/port/include -I /root/esp/esp-idf/components/mbedtls/mbedtls/include -I /root/esp/esp-idf/components/mbedtls/mbedtls/library -I /root/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -I /root/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I /root/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -I /root/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I /root/esp/esp-idf/components/esp_bootloader_format/include -I /root/esp/esp-idf/components/esp_app_format/include -I /root/esp/esp-idf/components/bootloader_support/include -I /root/esp/esp-idf/components/bootloader_support/bootloader_flash/include -I /root/esp/esp-idf/components/esp_partition/include -I /root/esp/esp-idf/components/app_update/include -I /root/esp/esp-idf/components/spi_flash/include -I /root/esp/esp-idf/components/pthread/include -I /root/esp/esp-idf/components/esp_timer/include -I /root/esp/esp-idf/components/app_trace/include -I /root/esp/esp-idf/components/esp_event/include -I /root/esp/esp-idf/components/nvs_flash/include -I /root/esp/esp-idf/components/esp_phy/include -I /root/esp/esp-idf/components/esp_phy/esp32c6/include -I /root/esp/esp-idf/components/vfs/include -I /root/esp/esp-idf/components/esp_netif/include -I /root/esp/esp-idf/components/wpa_supplicant/include -I /root/esp/esp-idf/components/wpa_supplicant/port/include -I /root/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include -I /root/esp/esp-idf/components/esp_coex/include -I /root/esp/esp-idf/components/esp_wifi/include -I /root/esp/esp-idf/components/esp_wifi/wifi_apps/include -I /root/esp/esp-idf/components/bt/include/esp32c6/include -I /root/esp/esp-idf/components/bt/common/osi/include -I /root/esp/esp-idf/components/bt/common/api/include/api -I /root/esp/esp-idf/components/bt/common/btc/profile/esp/blufi/include -I /root/esp/esp-idf/components/bt/common/btc/profile/esp/include -I /root/esp/esp-idf/components/bt/porting/include -I /root/esp/esp-idf/components/bt/porting/nimble/include -I /root/esp/esp-idf/components/bt/porting/npl/freertos/include -I /root/esp/esp-idf/components/bt/porting/transport/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ans/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/bas/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/dis/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gap/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hr/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/htp/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ias/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/lls/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/prox/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/cts/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/tps/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hid/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/sps/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/util/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/ram/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/config/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include -I /root/esp/esp-idf/components/bt/host/nimble/port/include -I /root/esp/esp-idf/components/bt/host/nimble/nimble/nimble/transport/include -I /root/esp/esp-idf/components/unity/include -I /root/esp/esp-idf/components/unity/unity/src -I /root/esp/esp-idf/components/cmock/CMock/src -I /root/esp/esp-idf/components/console -I /root/esp/esp-idf/components/http_parser -I /root/esp/esp-idf/components/esp-tls -I /root/esp/esp-idf/components/esp-tls/esp-tls-crypto -I /root/esp/esp-idf/components/esp_adc/include -I /root/esp/esp-idf/components/esp_adc/interface -I /root/esp/esp-idf/components/esp_adc/esp32c6/include -I /root/esp/esp-idf/components/esp_adc/deprecated/include -I /root/esp/esp-idf/components/esp_eth/include -I /root/esp/esp-idf/components/esp_gdbstub/include -I /root/esp/esp-idf/components/esp_hid/include -I /root/esp/esp-idf/components/tcp_transport/include -I /root/esp/esp-idf/components/esp_http_client/include -I /root/esp/esp-idf/components/esp_http_server/include -I /root/esp/esp-idf/components/esp_https_ota/include -I /root/esp/esp-idf/components/esp_psram/include -I /root/esp/esp-idf/components/esp_lcd/include -I /root/esp/esp-idf/components/esp_lcd/interface -I /root/esp/esp-idf/components/protobuf-c/protobuf-c -I /root/esp/esp-idf/components/protocomm/include/common -I /root/esp/esp-idf/components/protocomm/include/security -I /root/esp/esp-idf/components/protocomm/include/transports -I /root/esp/esp-idf/components/protocomm/include/crypto/srp6a -I /root/esp/esp-idf/components/esp_local_ctrl/include -I /root/esp/esp-idf/components/espcoredump/include -I /root/esp/esp-idf/components/espcoredump/include/port/riscv -I /root/esp/esp-idf/components/wear_levelling/include -I /root/esp/esp-idf/components/sdmmc/include -I /root/esp/esp-idf/components/fatfs/diskio -I /root/esp/esp-idf/components/fatfs/src -I /root/esp/esp-idf/components/fatfs/vfs -I /root/esp/esp-idf/components/idf_test/include -I /root/esp/esp-idf/components/idf_test/include/esp32c6 -I /root/esp/esp-idf/components/ieee802154/include -I /root/esp/esp-idf/components/json/cJSON -I /root/esp/esp-idf/components/mqtt/esp-mqtt/include -I /root/esp/esp-idf/components/nvs_sec_provider/include -I /root/esp/esp-idf/components/spiffs/include -I /root/esp/esp-idf/components/wifi_provisioning/include -I /code/smart-light/managed_components/espressif__esp_encrypted_img/include -I /code/smart-light/managed_components/espressif__rmaker_common/include -I /code/smart-light/managed_components/espressif__esp_diagnostics/include -I /code/smart-light/managed_components/espressif__cbor/port/include -I /code/smart-light/managed_components/espressif__esp_diag_data_store/src/rtc_store -I /code/smart-light/managed_components/espressif__esp_diag_data_store/include -I /code/smart-light/managed_components/espressif__esp_insights/include -I /code/smart-light/managed_components/espressif__mdns/include -I /code/smart-light/managed_components/espressif__esp_secure_cert_mgr/include -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32 -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/platform/OpenThread -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/include -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src/lib -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/src -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/zzz_generated/app-common -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/examples/platform/esp32 -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/nlassert/repo/include -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/nlio/repo/include -I /code/smart-light/build/esp-idf/chip/src/include -I /code/smart-light/build/esp-idf/chip/include -I /code/smart-light/build/esp-idf/chip/gen/include -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32 -I /root/esp/esp-matter/connectedhomeip/connectedhomeip -I /root/esp/esp-matter/components/esp_matter_console -I /root/esp/esp-matter/components/esp_matter -I /root/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/nlfaultinjection/include -I /root/esp/esp-matter/components/esp_matter/zap_common -I /root/esp/esp-matter/components/esp_matter_bridge -I /root/esp/esp-matter/examples/common/app_bridge -I /code/smart-light/managed_components/espressif__led_strip/include -I /root/esp/esp-matter/device_hal/led_driver/include -I /code/smart-light/managed_components/espressif__button/include -I /root/esp/esp-matter/device_hal/device/include -I /root/esp/esp-matter/examples/common/app_reset -I /code/smart-light/managed_components/espressif__jsmn/include -I /code/smart-light/managed_components/espressif__json_parser/include -I /code/smart-light/managed_components/espressif__json_generator/include -I /root/esp/esp-matter/components/esp_matter_rainmaker -I /root/esp/esp-matter/components/esp_matter_thread_br -color-diagnostics -module-link-name main -static -Osize -D ESP_PLATFORM -D IDF_VER=\"v5.2.1\" -D MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -D SOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D SOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D UNITY_INCLUDE_CONFIG_H -D _GLIBCXX_HAVE_POSIX_SEMAPHORE -D _GLIBCXX_USE_POSIX_SEMAPHORE -D _GNU_SOURCE -D _POSIX_READER_WRITER_LOCKS -D CHIP_HAVE_CONFIG_H -D CHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h> -function-sections -enable-single-module-llvm-emission -enable-experimental-feature Embedded -empty-abi-descriptor -resource-dir /usr/lib/swift -Xcc -DCHIP_HAVE_CONFIG_H -Xcc -std=c++17 -Xcc -fno-exceptions -Xcc -fno-rtti -Xcc -DESP_PLATFORM -Xcc -DIDF_VER=v5.3-dev-2815-gbe06a6f5ff-dirty -Xcc -DLV_CONF_INCLUDE_SIMPLE -Xcc -DMBEDTLS_CONFIG_FILE=mbedtls/esp_config.h -Xcc -DMD5_ENABLED=1 -Xcc -DSERIAL_FLASHER_BOOT_HOLD_TIME_MS=50 -Xcc -DSERIAL_FLASHER_RESET_HOLD_TIME_MS=100 -Xcc -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -Xcc -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -Xcc -DUNITY_INCLUDE_CONFIG_H -Xcc -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -Xcc -D_GLIBCXX_USE_POSIX_SEMAPHORE -Xcc -D_POSIX_READER_WRITER_LOCKS -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/include-fixed -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/sys-include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include/c++/13.2.0 -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include/c++/13.2.0/riscv32-esp-elf/rv32imac_zicsr_zifencei/ilp32 -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include/c++/13.2.0/backward -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/include-fixed -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/sys-include -Xcc -I/root/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/riscv32-esp-elf/include -import-objc-header /code/smart-light/main/BridgingHeader.h -pch-output-dir /tmp -module-name __idf_main -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -enable-default-cmo -parse-as-library -num-threads 8 -o esp-idf/main/CMakeFiles/__idf_main.dir/Main.swift.obj -o esp-idf/main/CMakeFiles/__idf_main.dir/LED.swift.obj -o esp-idf/main/CMakeFiles/__idf_main.dir/__/Matter/Attribute.swift.obj -o esp-idf/main/CMakeFiles/__idf_main.dir/__/Matter/Clusters.swift.obj -o esp-idf/main/CMakeFiles/__idf_main.dir/__/Matter/Matter.swift.obj -o esp-idf/main/CMakeFiles/__idf_main.dir/__/Matter/Node.swift.obj
1.	Swift version 6.1-dev (LLVM f4b733c38006ec1, Swift f4bea5f7c0a7aa5)
2.	Compiling with effective version 5.10
3.	While evaluating request IRGenRequest(IR Generation for module __idf_main)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend  0x0000aaaadfa15274
1  swift-frontend  0x0000aaaadfa13268
2  swift-frontend  0x0000aaaadfa15980
3  linux-vdso.so.1 0x0000ffff9e9ab7a0 __kernel_rt_sigreturn + 0
4  libc.so.6       0x0000ffff9cecf200
5  libc.so.6       0x0000ffff9ce8a67c raise + 28
6  libc.so.6       0x0000ffff9ce77130 abort + 228
7  libc.so.6       0x0000ffff9ce83fd0
8  libc.so.6       0x0000ffff9ce84040 __assert_perror_fail + 0
9  swift-frontend  0x0000aaaad9844b6c
10 swift-frontend  0x0000aaaad96f509c
11 swift-frontend  0x0000aaaad974ab18
12 swift-frontend  0x0000aaaad96fe870
13 swift-frontend  0x0000aaaad96f5d2c
14 swift-frontend  0x0000aaaad9308044
15 swift-frontend  0x0000aaaad93044d8
16 swift-frontend  0x0000aaaad93036b0
17 swift-frontend  0x0000aaaad9310ff0
18 swift-frontend  0x0000aaaad9305df8
19 swift-frontend  0x0000aaaad9304ff8
20 swift-frontend  0x0000aaaad91134b0
21 libc.so.6       0x0000ffff9ce773fc
22 libc.so.6       0x0000ffff9ce774cc __libc_start_main + 152
23 swift-frontend  0x0000aaaad91126b0
[34/102] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/root/esp/...tter/connectedhomeip/connectedhomeip/src/app/clusters/groups-server/groups-server.cpp.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /code/smart-light/build/log/idf_py_stderr_output_114 and /code/smart-light/build/log/idf_py_stdout_output_114

So, yes, that's a compiler crash (i.e. a bug in the compiler):

error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/IRGen/GenDecl.cpp:1328: void swift::irgen::IRGenerator::emitLazyDefinitions(): Assertion `LazyTypeMetadata.empty()' failed.

Would you be able to file a bug on Github for this, and mention the steps to trigger this problem? Is it anything else besides the steps from the tutorial? Can you mention the exact toolchain version you're using?