pm: policy: latency: Add support for immediate action #98906
1 384 errors, 7 skipped, 2 612 pass in 28m 54s
7 files 849 suites 28m 54s ⏱️
4 003 tests 2 612 ✅ 7 💤 0 ❌ 1 384 🔥
4 004 runs 2 613 ✅ 7 💤 0 ❌ 1 384 🔥
Results for commit e7dd4c6.
Annotations
Check failure on line 0 in rddrone_fmuk66/mk66f18:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (rddrone_fmuk66/mk66f18:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: rddrone_fmuk66, qualifiers: mk66f18
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/nxp/rddrone_fmuk66/rddrone_fmuk66.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/nxp/rddrone_fmuk66/rddrone_fmuk66_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
Load components for MK66F18:
driver_common component is included.
driver_reset component is included.
device_CMSIS component is included.
CMSIS_Include_core_cm component is included.
device_system component is included.
driver_uart component is included.
driver_lpuart component is included.
driver_port component is included.
driver_sysmpu component is included.
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization
[1/139] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/139] Preparing syscall dependency handling
[3/139] Generating misc/generated/syscalls_subdirs.trigger
[4/139] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/139] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/139] Generating include/generated/zephyr/driver-validation.h
[7/139] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/139] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/139] Generating include/generated/zephyr/offsets.h
[10/139] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/139] Linking C static library app/libapp.a
[12/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/139] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/139] Building C object zephyr/CMakeFiles/zephyr.dir/soc/nxp/kinetis/flash_configuration.c.obj
[26/139] Building C object zephyr/CMakeFiles/zephyr.dir/soc/nxp/kinetis/k6x/soc.c.obj
[27/139] Building C object zephyr/CMakeFiles/zephyr.dir/soc/nxp/kinetis/k6x/nxp_mpu_regions.c.obj
[28/139] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[29/139] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[30/139] Linking C static library zephyr/libzephyr.a
[31/139] Generating linker_zephyr_pre0.cmd
[32/139] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[33/139] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[34/139] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[35/139] Linking C static library zephyr/arch/common/libisr_tables.a
[36/139] Linking C static library zephyr/arch/common/libarch__common.a
[37/139] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[38/139] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[39/139] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[40/139] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[41/139] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[42/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[43/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[44/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[45/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[46/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[47/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[48/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[49/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[50/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[51/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[52/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[53/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[54/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[55/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[56/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[57/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[58/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[59/139] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[60/139] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[61/139] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/nxp_mpu.c.obj
[62/139] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[63/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[64/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[65/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[66/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[67/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[68/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[69/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[70/139] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[71/139] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[72/139] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[73/139] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[74/139] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_mcux_mcg.c.obj
[75/139] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_mcux_sim.c.obj
[76/139] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[77/139] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[78/139] Linking C static library zephyr/drivers/console/libdrivers__console.a
[79/139] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_mcux.c.obj
[80/139] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[81/139] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[82/139] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nxp_port.c.obj
[83/139] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[84/139] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[85/139] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_fixed.c.obj
[86/139] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[87/139] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux.c.obj
[88/139] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCPU_MK66FN2M0VLQ18 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DNDEBUG -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/nxp/kinetis -I/__w/zephyr/zephyr/soc/nxp/kinetis/k6x/. -I/__w/zephyr/zephyr/soc/nxp/kinetis/common -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/devices/MK66F18 -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/devices/MK66F18/drivers -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/common -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/uart -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/lpuart -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/port -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/sysmpu -I/__w/zephyr/zephyr/modules/hal_nxp/. -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/rddrone_fmuk66_mk66f18/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_mcux_lpuart.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_mcux_lpuart.c:16:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32wb5mm_dk/stm32wb55xx:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32wb5mm_dk/stm32wb55xx:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32wb5mm_dk, qualifiers: stm32wb55xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32wb5mm_dk/stm32wb5mm_dk.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32wb5mm_dk/stm32wb5mm_dk_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization
[1/138] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/138] Preparing syscall dependency handling
[3/138] Generating misc/generated/syscalls_subdirs.trigger
[4/138] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/138] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/138] Generating include/generated/zephyr/driver-validation.h
[7/138] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/138] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/138] Generating include/generated/zephyr/offsets.h
[10/138] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/138] Linking C static library app/libapp.a
[12/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/138] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/138] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[26/138] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[27/138] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32wbx/soc.c.obj
[28/138] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[29/138] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[30/138] Linking C static library zephyr/libzephyr.a
[31/138] Generating linker_zephyr_pre0.cmd
[32/138] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[33/138] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[34/138] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[35/138] Linking C static library zephyr/arch/common/libisr_tables.a
[36/138] Linking C static library zephyr/arch/common/libarch__common.a
[37/138] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[38/138] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[39/138] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[40/138] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[41/138] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[42/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[43/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[44/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[45/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[46/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[47/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[48/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[49/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[50/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[51/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[52/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[53/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[54/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[55/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[56/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[57/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[58/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[59/138] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[60/138] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[61/138] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[62/138] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[63/138] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[64/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[65/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[66/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[67/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[68/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[69/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[70/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[71/138] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[72/138] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[73/138] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[74/138] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[75/138] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[76/138] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[77/138] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[78/138] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32l4_l5_wb_wl.c.obj
[79/138] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[80/138] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[81/138] Linking C static library zephyr/drivers/console/libdrivers__console.a
[82/138] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[83/138] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[84/138] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[85/138] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[86/138] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[87/138] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[88/138] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[89/138] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM4 -DHSE_VALUE=32000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32WB55xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32wbx/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32wbxx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32wbxx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32wb5mm_dk_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32g071b_disco/stm32g071xx:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32g071b_disco/stm32g071xx:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32g071b_disco, qualifiers: stm32g071xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32g071b_disco/stm32g071b_disco.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32g071b_disco/stm32g071b_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization
[1/134] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/134] Preparing syscall dependency handling
[3/134] Generating misc/generated/syscalls_subdirs.trigger
[4/134] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/134] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/134] Generating include/generated/zephyr/driver-validation.h
[7/134] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/134] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/134] Generating include/generated/zephyr/offsets.h
[10/134] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/134] Linking C static library app/libapp.a
[12/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/134] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/134] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[26/134] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[27/134] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32g0x/soc.c.obj
[28/134] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[29/134] Linking C static library zephyr/libzephyr.a
[30/134] Generating linker_zephyr_pre0.cmd
[31/134] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[32/134] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[33/134] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[34/134] Linking C static library zephyr/arch/common/libisr_tables.a
[35/134] Linking C static library zephyr/arch/common/libarch__common.a
[36/134] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[37/134] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[38/134] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[39/134] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[40/134] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[41/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[42/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[43/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[44/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[45/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[46/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[47/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[48/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[49/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[50/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[51/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[52/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[53/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[54/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[55/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[56/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[57/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[58/134] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[59/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[60/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[61/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[62/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[63/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[64/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[65/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[66/134] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[67/134] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[68/134] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[69/134] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[70/134] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[71/134] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[72/134] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[73/134] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32g0_u0.c.obj
[74/134] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[75/134] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[76/134] Linking C static library zephyr/drivers/console/libdrivers__console.a
[77/134] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[78/134] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[79/134] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[80/134] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[81/134] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[82/134] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[83/134] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[84/134] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32G071xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32g0x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32g0xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32g0xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32g071b_disco_stm32g071xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m0plus -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f411e_disco@B/stm32f411xe:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32f411e_disco@B/stm32f411xe:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f411e_disco, Revision: B, qualifiers: stm32f411xe
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f411e_disco/stm32f411e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/boards/st/stm32f411e_disco/stm32f411e_disco_stm32f411xe_B.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f411e_disco/stm32f411e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization
[1/140] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/140] Preparing syscall dependency handling
[3/140] Generating misc/generated/syscalls_subdirs.trigger
[4/140] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/140] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/140] Generating include/generated/zephyr/driver-validation.h
[7/140] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/140] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/140] Generating include/generated/zephyr/offsets.h
[10/140] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/140] Linking C static library app/libapp.a
[12/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[20/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[21/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[22/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[23/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[24/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[25/140] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[27/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[28/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f4x/soc.c.obj
[29/140] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[30/140] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[31/140] Linking C static library zephyr/libzephyr.a
[32/140] Generating linker_zephyr_pre0.cmd
[33/140] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[34/140] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[35/140] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[36/140] Linking C static library zephyr/arch/common/libisr_tables.a
[37/140] Linking C static library zephyr/arch/common/libarch__common.a
[38/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[39/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[40/140] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[41/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[42/140] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[43/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[44/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[45/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[46/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[47/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[48/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[49/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[50/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[51/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[52/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[53/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[54/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[55/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[56/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[57/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[58/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[59/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[60/140] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[61/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[62/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[63/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[64/140] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[65/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[66/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[67/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[68/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[69/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[70/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[71/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[72/140] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[73/140] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[74/140] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[75/140] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[76/140] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[77/140] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[78/140] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[79/140] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[80/140] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[81/140] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[82/140] Linking C static library zephyr/drivers/console/libdrivers__console.a
[83/140] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[84/140] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[85/140] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[86/140] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[87/140] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[88/140] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[89/140] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[90/140] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM4 -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F411xE -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f4x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f4xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f4xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f411e_disco@B_stm32f411xe/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f3_seco_d23/stm32f302xc:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32f3_seco_d23/stm32f302xc:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f3_seco_d23, qualifiers: stm32f302xc
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/seco/stm32f3_seco_d23/stm32f3_seco_d23.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/seco/stm32f3_seco_d23/stm32f3_seco_d23_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization
[1/142] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/142] Preparing syscall dependency handling
[3/142] Generating misc/generated/syscalls_subdirs.trigger
[4/142] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/142] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/142] Generating include/generated/zephyr/driver-validation.h
[7/142] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/142] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/142] Generating include/generated/zephyr/offsets.h
[10/142] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/142] Linking C static library app/libapp.a
[12/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[20/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[21/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[22/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[23/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[24/142] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[25/142] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/142] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[27/142] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[28/142] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f3x/soc.c.obj
[29/142] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[30/142] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[31/142] Linking C static library zephyr/libzephyr.a
[32/142] Generating linker_zephyr_pre0.cmd
[33/142] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[34/142] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[35/142] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[36/142] Linking C static library zephyr/arch/common/libisr_tables.a
[37/142] Linking C static library zephyr/arch/common/libarch__common.a
[38/142] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[39/142] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[40/142] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[41/142] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[42/142] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[43/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[44/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[45/142] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[46/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[47/142] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[48/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[49/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[50/142] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[51/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[52/142] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[53/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[54/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[55/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[56/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[57/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[58/142] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[59/142] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[60/142] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[61/142] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[62/142] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[63/142] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[64/142] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[65/142] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[66/142] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[67/142] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[68/142] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[69/142] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[70/142] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[71/142] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[72/142] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[73/142] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[74/142] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[75/142] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[76/142] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[77/142] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[78/142] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[79/142] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f0_f3.c.obj
[80/142] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[81/142] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[82/142] Linking C static library zephyr/drivers/console/libdrivers__console.a
[83/142] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[84/142] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[85/142] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[86/142] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[87/142] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[88/142] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[89/142] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_fixed.c.obj
[90/142] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[91/142] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[92/142] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[93/142] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM4 -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F302xC -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f3x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f3xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f3xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f3_seco_d23_stm32f302xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32g081b_eval/stm32g081xx:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32g081b_eval/stm32g081xx:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32g081b_eval, qualifiers: stm32g081xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32g081b_eval/stm32g081b_eval.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32g081b_eval/stm32g081b_eval_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization
[1/134] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/134] Preparing syscall dependency handling
[3/134] Generating misc/generated/syscalls_subdirs.trigger
[4/134] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/134] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/134] Generating include/generated/zephyr/driver-validation.h
[7/134] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/134] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/134] Generating include/generated/zephyr/offsets.h
[10/134] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/134] Linking C static library app/libapp.a
[12/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/134] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/134] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/134] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[26/134] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[27/134] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32g0x/soc.c.obj
[28/134] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[29/134] Linking C static library zephyr/libzephyr.a
[30/134] Generating linker_zephyr_pre0.cmd
[31/134] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[32/134] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[33/134] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[34/134] Linking C static library zephyr/arch/common/libisr_tables.a
[35/134] Linking C static library zephyr/arch/common/libarch__common.a
[36/134] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[37/134] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[38/134] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[39/134] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[40/134] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[41/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[42/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[43/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[44/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[45/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[46/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[47/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[48/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[49/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[50/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[51/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[52/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[53/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[54/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[55/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[56/134] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[57/134] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[58/134] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[59/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[60/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[61/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[62/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[63/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[64/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[65/134] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[66/134] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[67/134] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[68/134] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[69/134] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[70/134] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[71/134] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[72/134] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[73/134] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32g0_u0.c.obj
[74/134] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[75/134] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[76/134] Linking C static library zephyr/drivers/console/libdrivers__console.a
[77/134] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[78/134] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[79/134] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[80/134] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[81/134] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[82/134] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[83/134] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[84/134] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32G081xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32g0x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32g0xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32g0xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m0plus -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32g081b_eval/stm32g081xx:sample.usbc.source
github-actions / Unit Test Results
sample.usbc.source (stm32g081b_eval/stm32g081xx:sample.usbc.source) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb_c/source
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32g081b_eval, qualifiers: stm32g081xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32g081b_eval/stm32g081b_eval.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb_c/source/boards/stm32g081b_eval.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32g081b_eval/stm32g081b_eval_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb_c/source/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source
[1/162] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/162] Preparing syscall dependency handling
[3/162] Generating misc/generated/syscalls_subdirs.trigger
[4/162] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/162] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/162] Generating include/generated/zephyr/driver-validation.h
[7/162] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/162] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/162] Generating include/generated/zephyr/offsets.h
[10/162] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/162] Building C object CMakeFiles/app.dir/src/power_ctrl.c.obj
[12/162] Linking C static library app/libapp.a
[13/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[14/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[15/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[20/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[22/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[25/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[29/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32g0x/soc.c.obj
[30/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[31/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[34/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[35/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[37/162] Linking C static library zephyr/libzephyr.a
[38/162] Generating linker_zephyr_pre0.cmd
[39/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[40/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[41/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[42/162] Linking C static library zephyr/arch/common/libisr_tables.a
[43/162] Linking C static library zephyr/arch/common/libarch__common.a
[44/162] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[45/162] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[46/162] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[47/162] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[48/162] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[49/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[50/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[51/162] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[52/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[53/162] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[54/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[55/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[56/162] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[57/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[58/162] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[59/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[60/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[61/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[62/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[63/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[64/162] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[65/162] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[66/162] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[67/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[68/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[69/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[70/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[71/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[72/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[73/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[74/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[75/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[76/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[77/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[78/162] Building C object zephyr/lib/smf/CMakeFiles/lib__smf.dir/smf.c.obj
[79/162] Linking C static library zephyr/lib/smf/liblib__smf.a
[80/162] Building C object zephyr/subsys/usb/usb_c/CMakeFiles/subsys__usb__usb_c.dir/usbc_timer.c.obj
[81/162] Building C object zephyr/subsys/usb/usb_c/CMakeFiles/subsys__usb__usb_c.dir/usbc_stack.c.obj
[82/162] Building C object zephyr/subsys/usb/usb_c/CMakeFiles/subsys__usb__usb_c.dir/usbc_tc_common.c.obj
[83/162] Building C object zephyr/subsys/usb/usb_c/CMakeFiles/subsys__usb__usb_c.dir/usbc_pe_common.c.obj
[84/162] Building C object zephyr/subsys/usb/usb_c/CMakeFiles/subsys__usb__usb_c.dir/usbc_prl.c.obj
[85/162] Building C object zephyr/subsys/usb/usb_c/CMakeFiles/subsys__usb__usb_c.dir/usbc_tc_src_states.c.obj
[86/162] Building C object zephyr/subsys/usb/usb_c/CMakeFiles/subsys__usb__usb_c.dir/usbc_pe_src_states.c.obj
[87/162] Linking C static library zephyr/subsys/usb/usb_c/libsubsys__usb__usb_c.a
[88/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[89/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[90/162] Building C object zephyr/drivers/usb_c/tcpc/CMakeFiles/drivers__usb_c__tcpc.dir/ucpd_stm32.c.obj
[91/162] Linking C static library zephyr/drivers/usb_c/tcpc/libdrivers__usb_c__tcpc.a
[92/162] Building C object zephyr/drivers/usb_c/vbus/CMakeFiles/drivers__usb_c__vbus.dir/usbc_vbus_adc.c.obj
[93/162] Linking C static library zephyr/drivers/usb_c/vbus/libdrivers__usb_c__vbus.a
[94/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[95/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_stm32.c.obj
FAILED: zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32G081xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32g0x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32g0xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32g0xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32g081b_eval_stm32g081xx/samples/subsys/usb_c/source/sample.usbc.source/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m0plus -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb_c/source=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_stm32.c.obj -MF zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_stm32.c.obj.d -o zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_stm32.c.obj -c /__w/zephyr/zephyr/drivers/adc/adc_stm32.c
In file included from /__w/zephyr/zephyr/drivers/adc/adc_stm32.c:23:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32f723e_disco/stm32f723xx:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:5 (find_package)
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization
[1/140] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/140] Preparing syscall dependency handling
[3/140] Generating misc/generated/syscalls_subdirs.trigger
[4/140] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/140] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/140] Generating include/generated/zephyr/driver-validation.h
[7/140] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/140] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/140] Generating include/generated/zephyr/offsets.h
[10/140] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/140] Linking C static library app/libapp.a
[12/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[20/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[21/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[22/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[23/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[24/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[25/140] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[27/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[28/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[29/140] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[30/140] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[31/140] Linking C static library zephyr/libzephyr.a
[32/140] Generating linker_zephyr_pre0.cmd
[33/140] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[34/140] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[35/140] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[36/140] Linking C static library zephyr/arch/common/libisr_tables.a
[37/140] Linking C static library zephyr/arch/common/libarch__common.a
[38/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[39/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[40/140] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[41/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[42/140] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[43/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[44/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[45/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[46/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[47/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[48/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[49/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[50/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[51/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[52/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[53/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[54/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[55/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[56/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[57/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[58/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[59/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[60/140] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[61/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[62/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[63/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[64/140] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[65/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[66/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[67/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[68/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[69/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[70/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[71/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[72/140] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[73/140] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[74/140] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[75/140] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[76/140] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[77/140] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[78/140] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[79/140] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[80/140] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[81/140] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[82/140] Linking C static library zephyr/drivers/console/libdrivers__console.a
[83/140] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[84/140] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[85/140] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[86/140] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[87/140] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[88/140] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[89/140] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[90/140] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.usb.webusb-next
github-actions / Unit Test Results
sample.usb.webusb-next (stm32f723e_disco/stm32f723xx:sample.usb.webusb-next) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/webusb-next
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Parsing /__w/zephyr/zephyr/samples/subsys/usb/webusb-next/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/webusb-next/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next
[1/171] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/171] Preparing syscall dependency handling
[3/171] Generating misc/generated/syscalls_subdirs.trigger
[4/171] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/171] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/171] Generating include/generated/zephyr/driver-validation.h
[7/171] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/171] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/171] Generating include/generated/zephyr/offsets.h
[10/171] Building C object CMakeFiles/app.dir/__w/zephyr/zephyr/samples/subsys/usb/common/sample_usbd_init.c.obj
[11/171] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/171] Building C object CMakeFiles/app.dir/src/sfunc.c.obj
[13/171] Linking C static library app/libapp.a
[14/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[15/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[16/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[17/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[19/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[20/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[21/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[22/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[23/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[24/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[25/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[26/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[27/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[28/171] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[29/171] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[30/171] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[31/171] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[32/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[33/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[34/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[35/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[36/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[37/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[38/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[39/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[40/171] Linking C static library zephyr/libzephyr.a
[41/171] Generating linker_zephyr_pre0.cmd
[42/171] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[43/171] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[44/171] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[45/171] Linking C static library zephyr/arch/common/libisr_tables.a
[46/171] Linking C static library zephyr/arch/common/libarch__common.a
[47/171] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[48/171] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[49/171] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[50/171] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[51/171] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[52/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[53/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[54/171] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[55/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[56/171] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[57/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[58/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[59/171] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[60/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[61/171] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[62/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[63/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[64/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[65/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[66/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[67/171] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[68/171] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[69/171] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[70/171] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[71/171] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[72/171] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[73/171] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[74/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[75/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[76/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[77/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[78/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[79/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[80/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[81/171] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[82/171] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[83/171] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[84/171] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[85/171] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
[86/171] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
[87/171] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
[88/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_device.c.obj
[89/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_desc.c.obj
[90/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_ch9.c.obj
[91/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_core.c.obj
[92/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_init.c.obj
[93/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_config.c.obj
[94/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_class.c.obj
[95/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_interface.c.obj
[96/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_endpoint.c.obj
[97/171] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_msg.c.obj
[98/171] Linking C static library zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a
[99/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[100/171] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[101/171] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_common.c.obj
[102/171] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_stm32.c.obj
[103/171] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a
[104/171] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[105/171] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[106/171] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[107/171] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[108/171] Linking C static library zephyr/drivers/console/libdrivers__console.a
[109/171] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[110/171] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[111/171] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[112/171] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[113/171] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[114/171] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[115/171] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[116/171] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[117/171] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[118/171] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[119/171] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/webusb-next/sample.usb.webusb-next/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/webusb-next=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.usb_device_next.cdc-acm
github-actions / Unit Test Results
sample.usb_device_next.cdc-acm (stm32f723e_disco/stm32f723xx:sample.usb_device_next.cdc-acm) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/cdc_acm
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/cdc_acm/app.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/zephyr.dts:829.29-848.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Parsing /__w/zephyr/zephyr/samples/subsys/usb/cdc_acm/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/cdc_acm/usbd_next_prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm
[1/172] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/172] Preparing syscall dependency handling
[3/172] Generating misc/generated/syscalls_subdirs.trigger
[4/172] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/172] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/172] Generating include/generated/zephyr/driver-validation.h
[7/172] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/172] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/172] Generating include/generated/zephyr/offsets.h
[10/172] Building C object CMakeFiles/app.dir/__w/zephyr/zephyr/samples/subsys/usb/common/sample_usbd_init.c.obj
[11/172] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/172] Linking C static library app/libapp.a
[13/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[14/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[15/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[19/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[20/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[21/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[22/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[23/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[24/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[25/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[26/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[27/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/ring_buffer.c.obj
[28/172] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[29/172] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[30/172] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[31/172] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[32/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[33/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[34/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[35/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[36/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[37/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[38/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[39/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[40/172] Linking C static library zephyr/libzephyr.a
[41/172] Generating linker_zephyr_pre0.cmd
[42/172] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[43/172] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[44/172] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[45/172] Linking C static library zephyr/arch/common/libisr_tables.a
[46/172] Linking C static library zephyr/arch/common/libarch__common.a
[47/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[48/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[49/172] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[50/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[51/172] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[52/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[53/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[54/172] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[55/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[56/172] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[57/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[58/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[59/172] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[60/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[61/172] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[62/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[63/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[64/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[65/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[66/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[67/172] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[68/172] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[69/172] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[70/172] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[71/172] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[72/172] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[73/172] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[74/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[75/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[76/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[77/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[78/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[79/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[80/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[81/172] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[82/172] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[83/172] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[84/172] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[85/172] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
[86/172] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
[87/172] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
[88/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_device.c.obj
[89/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_desc.c.obj
[90/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_ch9.c.obj
[91/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_core.c.obj
[92/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_init.c.obj
[93/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_config.c.obj
[94/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_class.c.obj
[95/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_interface.c.obj
[96/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_endpoint.c.obj
[97/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_msg.c.obj
[98/172] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_cdc_acm.c.obj
[99/172] Linking C static library zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a
[100/172] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[101/172] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[102/172] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_common.c.obj
[103/172] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_stm32.c.obj
[104/172] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a
[105/172] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[106/172] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[107/172] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[108/172] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[109/172] Linking C static library zephyr/drivers/console/libdrivers__console.a
[110/172] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[111/172] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[112/172] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[113/172] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[114/172] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[115/172] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[116/172] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[117/172] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[118/172] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[119/172] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[120/172] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/cdc_acm/sample.usb_device_next.cdc-acm/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/cdc_acm=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.usb_device_next.hid-mouse
github-actions / Unit Test Results
sample.usb_device_next.hid-mouse (stm32f723e_disco/stm32f723xx:sample.usb_device_next.hid-mouse) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr module(s) (Zephyr base): zephyr_default:dts
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-mouse
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: usbd_next.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/dts.cmake
CMake Warning at cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
cmake/modules/zephyr_default.cmake:133 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
cmake/package_helper.cmake:101 (find_package)
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-mouse
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: usbd_next.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Parsing /__w/zephyr/zephyr/samples/subsys/usb/hid-mouse/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/hid-mouse/usbd_next_prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse
[1/178] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/178] Preparing syscall dependency handling
[3/178] Generating misc/generated/syscalls_subdirs.trigger
[4/178] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/178] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/178] Generating include/generated/zephyr/driver-validation.h
[7/178] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/178] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/178] Generating include/generated/zephyr/offsets.h
[10/178] Building C object CMakeFiles/app.dir/__w/zephyr/zephyr/samples/subsys/usb/common/sample_usbd_init.c.obj
[11/178] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/178] Linking C static library app/libapp.a
[13/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[14/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[15/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[19/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[20/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[21/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[22/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[23/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[24/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[25/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[26/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[27/178] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[29/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[30/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[31/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[32/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[33/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[35/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[36/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[37/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[38/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/178] Linking C static library zephyr/libzephyr.a
[40/178] Generating linker_zephyr_pre0.cmd
[41/178] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[42/178] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[43/178] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[44/178] Linking C static library zephyr/arch/common/libisr_tables.a
[45/178] Linking C static library zephyr/arch/common/libarch__common.a
[46/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[47/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[48/178] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[49/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[50/178] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[51/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[52/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[53/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[54/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[55/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[56/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[57/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[58/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[59/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[60/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[61/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[62/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[63/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[64/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[65/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[66/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[67/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[68/178] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[69/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[70/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[71/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[72/178] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[73/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[74/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[75/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[76/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[77/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[78/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[79/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[80/178] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[81/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[82/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/178] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[84/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
[85/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
[86/178] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
[87/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_device.c.obj
[88/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_desc.c.obj
[89/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_ch9.c.obj
[90/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_core.c.obj
[91/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_init.c.obj
[92/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_config.c.obj
[93/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_class.c.obj
[94/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_interface.c.obj
[95/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_endpoint.c.obj
[96/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_msg.c.obj
[97/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid.c.obj
[98/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid_api.c.obj
[99/178] Linking C static library zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a
[100/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input.c.obj
[101/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_hid.c.obj
[102/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_utils.c.obj
[103/178] Linking C static library zephyr/subsys/input/libsubsys__input.a
[104/178] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[105/178] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[106/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_common.c.obj
[107/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_stm32.c.obj
[108/178] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a
[109/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[110/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[111/178] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[112/178] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[113/178] Linking C static library zephyr/drivers/console/libdrivers__console.a
[114/178] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[115/178] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[116/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[117/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[118/178] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[119/178] Building C object zephyr/drivers/input/CMakeFiles/drivers__input.dir/input_gpio_keys.c.obj
[120/178] Linking C static library zephyr/drivers/input/libdrivers__input.a
[121/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[122/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[123/178] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[124/178] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[125/178] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[126/178] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-mouse/sample.usb_device_next.hid-mouse/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/hid-mouse=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.usb_device_next.mass_ram_none
github-actions / Unit Test Results
sample.usb_device_next.mass_ram_none (stm32f723e_disco/stm32f723xx:sample.usb_device_next.mass_ram_none) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/mass
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: ramdisk.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Parsing /__w/zephyr/zephyr/samples/subsys/usb/mass/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/mass/usbd_next_prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/twister/testsuite_extra.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none
[1/175] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/175] Preparing syscall dependency handling
[3/175] Generating misc/generated/syscalls_subdirs.trigger
[4/175] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/175] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/175] Generating include/generated/zephyr/driver-validation.h
[7/175] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/175] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/175] Generating include/generated/zephyr/offsets.h
[10/175] Building C object CMakeFiles/app.dir/__w/zephyr/zephyr/samples/subsys/usb/common/sample_usbd_init.c.obj
[11/175] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/175] Linking C static library app/libapp.a
[13/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[14/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[15/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[19/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[20/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[21/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[22/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[23/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[24/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[25/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[26/175] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[27/175] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/175] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[29/175] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[30/175] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[31/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[32/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[33/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[35/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[36/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[37/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[38/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/175] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/disk/disk_access.c.obj
[40/175] Linking C static library zephyr/libzephyr.a
[41/175] Generating linker_zephyr_pre0.cmd
[42/175] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[43/175] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[44/175] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[45/175] Linking C static library zephyr/arch/common/libisr_tables.a
[46/175] Linking C static library zephyr/arch/common/libarch__common.a
[47/175] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[48/175] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[49/175] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[50/175] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[51/175] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[52/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[53/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[54/175] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[55/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[56/175] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[57/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[58/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[59/175] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[60/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[61/175] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[62/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[63/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[64/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[65/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[66/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[67/175] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[68/175] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[69/175] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[70/175] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[71/175] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[72/175] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[73/175] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[74/175] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[75/175] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[76/175] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[77/175] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[78/175] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[79/175] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[80/175] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[81/175] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[82/175] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[83/175] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[84/175] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[85/175] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
[86/175] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
[87/175] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
[88/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_device.c.obj
[89/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_desc.c.obj
[90/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_ch9.c.obj
[91/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_core.c.obj
[92/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_init.c.obj
[93/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_config.c.obj
[94/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_class.c.obj
[95/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_interface.c.obj
[96/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_endpoint.c.obj
[97/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_msg.c.obj
[98/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_msc.c.obj
[99/175] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_msc_scsi.c.obj
[100/175] Linking C static library zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a
[101/175] Building C object zephyr/drivers/disk/CMakeFiles/drivers__disk.dir/ramdisk.c.obj
[102/175] Linking C static library zephyr/drivers/disk/libdrivers__disk.a
[103/175] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[104/175] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[105/175] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_common.c.obj
[106/175] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_stm32.c.obj
[107/175] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a
[108/175] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[109/175] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[110/175] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[111/175] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[112/175] Linking C static library zephyr/drivers/console/libdrivers__console.a
[113/175] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[114/175] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[115/175] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[116/175] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[117/175] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[118/175] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[119/175] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[120/175] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[121/175] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[122/175] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[123/175] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/mass/sample.usb_device_next.mass_ram_none/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/mass=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.usbd.hid-keyboard
github-actions / Unit Test Results
sample.usbd.hid-keyboard (stm32f723e_disco/stm32f723xx:sample.usbd.hid-keyboard) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr module(s) (Zephyr base): zephyr_default:dts
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/app.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/dts.cmake
CMake Warning at cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
cmake/modules/zephyr_default.cmake:133 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
cmake/package_helper.cmake:101 (find_package)
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/app.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Parsing /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard
[1/178] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/178] Preparing syscall dependency handling
[3/178] Generating misc/generated/syscalls_subdirs.trigger
[4/178] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/178] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/178] Generating include/generated/zephyr/driver-validation.h
[7/178] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/178] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/178] Generating include/generated/zephyr/offsets.h
[10/178] Building C object CMakeFiles/app.dir/__w/zephyr/zephyr/samples/subsys/usb/common/sample_usbd_init.c.obj
[11/178] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/178] Linking C static library app/libapp.a
[13/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[14/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[15/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[19/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[20/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[21/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[22/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[23/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[24/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[25/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[26/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[27/178] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[29/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[30/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[31/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[32/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[33/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[35/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[36/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[37/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[38/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/178] Linking C static library zephyr/libzephyr.a
[40/178] Generating linker_zephyr_pre0.cmd
[41/178] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[42/178] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[43/178] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[44/178] Linking C static library zephyr/arch/common/libisr_tables.a
[45/178] Linking C static library zephyr/arch/common/libarch__common.a
[46/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[47/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[48/178] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[49/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[50/178] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[51/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[52/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[53/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[54/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[55/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[56/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[57/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[58/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[59/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[60/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[61/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[62/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[63/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[64/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[65/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[66/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[67/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[68/178] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[69/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[70/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[71/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[72/178] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[73/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[74/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[75/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[76/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[77/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[78/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[79/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[80/178] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[81/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[82/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/178] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[84/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
[85/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
[86/178] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
[87/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_device.c.obj
[88/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_desc.c.obj
[89/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_ch9.c.obj
[90/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_core.c.obj
[91/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_init.c.obj
[92/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_config.c.obj
[93/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_class.c.obj
[94/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_interface.c.obj
[95/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_endpoint.c.obj
[96/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_msg.c.obj
[97/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid.c.obj
[98/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid_api.c.obj
[99/178] Linking C static library zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a
[100/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input.c.obj
[101/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_hid.c.obj
[102/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_utils.c.obj
[103/178] Linking C static library zephyr/subsys/input/libsubsys__input.a
[104/178] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[105/178] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[106/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_common.c.obj
[107/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_stm32.c.obj
[108/178] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a
[109/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[110/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[111/178] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[112/178] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[113/178] Linking C static library zephyr/drivers/console/libdrivers__console.a
[114/178] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[115/178] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[116/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[117/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[118/178] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[119/178] Building C object zephyr/drivers/input/CMakeFiles/drivers__input.dir/input_gpio_keys.c.obj
[120/178] Linking C static library zephyr/drivers/input/libdrivers__input.a
[121/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[122/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[123/178] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[124/178] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[125/178] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[126/178] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.usbd.hid-keyboard.large-out-report
github-actions / Unit Test Results
sample.usbd.hid-keyboard.large-out-report (stm32f723e_disco/stm32f723xx:sample.usbd.hid-keyboard.large-out-report) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr module(s) (Zephyr base): zephyr_default:dts
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/app.overlay
-- Found devicetree overlay: large_out_report.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/dts.cmake
CMake Warning at cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
cmake/modules/zephyr_default.cmake:133 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
cmake/package_helper.cmake:101 (find_package)
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/app.overlay
-- Found devicetree overlay: large_out_report.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Parsing /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report
[1/178] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/178] Preparing syscall dependency handling
[3/178] Generating misc/generated/syscalls_subdirs.trigger
[4/178] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/178] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/178] Generating include/generated/zephyr/driver-validation.h
[7/178] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/178] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/178] Generating include/generated/zephyr/offsets.h
[10/178] Building C object CMakeFiles/app.dir/__w/zephyr/zephyr/samples/subsys/usb/common/sample_usbd_init.c.obj
[11/178] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/178] Linking C static library app/libapp.a
[13/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[14/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[15/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[19/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[20/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[21/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[22/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[23/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[24/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[25/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[26/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[27/178] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[29/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[30/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[31/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[32/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[33/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[35/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[36/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[37/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[38/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/178] Linking C static library zephyr/libzephyr.a
[40/178] Generating linker_zephyr_pre0.cmd
[41/178] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[42/178] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[43/178] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[44/178] Linking C static library zephyr/arch/common/libisr_tables.a
[45/178] Linking C static library zephyr/arch/common/libarch__common.a
[46/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[47/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[48/178] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[49/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[50/178] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[51/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[52/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[53/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[54/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[55/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[56/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[57/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[58/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[59/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[60/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[61/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[62/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[63/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[64/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[65/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[66/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[67/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[68/178] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[69/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[70/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[71/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[72/178] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[73/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[74/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[75/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[76/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[77/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[78/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[79/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[80/178] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[81/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[82/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/178] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[84/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
[85/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
[86/178] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
[87/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_device.c.obj
[88/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_desc.c.obj
[89/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_ch9.c.obj
[90/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_core.c.obj
[91/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_init.c.obj
[92/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_config.c.obj
[93/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_class.c.obj
[94/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_interface.c.obj
[95/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_endpoint.c.obj
[96/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_msg.c.obj
[97/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid.c.obj
[98/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid_api.c.obj
[99/178] Linking C static library zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a
[100/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input.c.obj
[101/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_hid.c.obj
[102/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_utils.c.obj
[103/178] Linking C static library zephyr/subsys/input/libsubsys__input.a
[104/178] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[105/178] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[106/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_common.c.obj
[107/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_stm32.c.obj
[108/178] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a
[109/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[110/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[111/178] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[112/178] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[113/178] Linking C static library zephyr/drivers/console/libdrivers__console.a
[114/178] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[115/178] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[116/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[117/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[118/178] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[119/178] Building C object zephyr/drivers/input/CMakeFiles/drivers__input.dir/input_gpio_keys.c.obj
[120/178] Linking C static library zephyr/drivers/input/libdrivers__input.a
[121/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[122/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[123/178] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[124/178] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[125/178] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[126/178] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-out-report/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.usbd.hid-keyboard.large-report
github-actions / Unit Test Results
sample.usbd.hid-keyboard.large-report (stm32f723e_disco/stm32f723xx:sample.usbd.hid-keyboard.large-report) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr module(s) (Zephyr base): zephyr_default:dts
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/app.overlay
-- Found devicetree overlay: large_in_report.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/dts.cmake
CMake Warning at cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
cmake/modules/zephyr_default.cmake:133 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
cmake/package_helper.cmake:101 (find_package)
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/app.overlay
-- Found devicetree overlay: large_in_report.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Parsing /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report
[1/178] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/178] Preparing syscall dependency handling
[3/178] Generating misc/generated/syscalls_subdirs.trigger
[4/178] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/178] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/178] Generating include/generated/zephyr/driver-validation.h
[7/178] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/178] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/178] Generating include/generated/zephyr/offsets.h
[10/178] Building C object CMakeFiles/app.dir/__w/zephyr/zephyr/samples/subsys/usb/common/sample_usbd_init.c.obj
[11/178] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/178] Linking C static library app/libapp.a
[13/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[14/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[15/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[19/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[20/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[21/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[22/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[23/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[24/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[25/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[26/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[27/178] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[29/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[30/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[31/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[32/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[33/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[35/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[36/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[37/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[38/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/178] Linking C static library zephyr/libzephyr.a
[40/178] Generating linker_zephyr_pre0.cmd
[41/178] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[42/178] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[43/178] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[44/178] Linking C static library zephyr/arch/common/libisr_tables.a
[45/178] Linking C static library zephyr/arch/common/libarch__common.a
[46/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[47/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[48/178] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[49/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[50/178] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[51/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[52/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[53/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[54/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[55/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[56/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[57/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[58/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[59/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[60/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[61/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[62/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[63/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[64/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[65/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[66/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[67/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[68/178] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[69/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[70/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[71/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[72/178] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[73/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[74/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[75/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[76/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[77/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[78/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[79/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[80/178] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[81/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[82/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/178] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[84/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
[85/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
[86/178] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
[87/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_device.c.obj
[88/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_desc.c.obj
[89/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_ch9.c.obj
[90/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_core.c.obj
[91/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_init.c.obj
[92/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_config.c.obj
[93/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_class.c.obj
[94/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_interface.c.obj
[95/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_endpoint.c.obj
[96/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_msg.c.obj
[97/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid.c.obj
[98/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid_api.c.obj
[99/178] Linking C static library zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a
[100/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input.c.obj
[101/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_hid.c.obj
[102/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_utils.c.obj
[103/178] Linking C static library zephyr/subsys/input/libsubsys__input.a
[104/178] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[105/178] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[106/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_common.c.obj
[107/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_stm32.c.obj
[108/178] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a
[109/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[110/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[111/178] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[112/178] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[113/178] Linking C static library zephyr/drivers/console/libdrivers__console.a
[114/178] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[115/178] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[116/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[117/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[118/178] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[119/178] Building C object zephyr/drivers/input/CMakeFiles/drivers__input.dir/input_gpio_keys.c.obj
[120/178] Linking C static library zephyr/drivers/input/libdrivers__input.a
[121/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[122/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[123/178] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[124/178] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[125/178] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[126/178] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.large-report/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f723e_disco/stm32f723xx:sample.usbd.hid-keyboard.out-report
github-actions / Unit Test Results
sample.usbd.hid-keyboard.out-report (stm32f723e_disco/stm32f723xx:sample.usbd.hid-keyboard.out-report) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr module(s) (Zephyr base): zephyr_default:dts
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/app.overlay
-- Found devicetree overlay: out_report.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/dts.cmake
CMake Warning at cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
cmake/modules/zephyr_default.cmake:133 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
cmake/package_helper.cmake:101 (find_package)
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f723e_disco, qualifiers: stm32f723xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco.dts
-- Found devicetree overlay: /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/app.overlay
-- Found devicetree overlay: out_report.overlay
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/zephyr.dts:826.29-845.5:
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Parsing /__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f723e_disco/stm32f723e_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report
[1/178] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/178] Preparing syscall dependency handling
[3/178] Generating misc/generated/syscalls_subdirs.trigger
[4/178] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/178] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/178] Generating include/generated/zephyr/driver-validation.h
[7/178] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/178] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/178] Generating include/generated/zephyr/offsets.h
[10/178] Building C object CMakeFiles/app.dir/__w/zephyr/zephyr/samples/subsys/usb/common/sample_usbd_init.c.obj
[11/178] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/178] Linking C static library app/libapp.a
[13/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[14/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[15/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[19/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[20/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[21/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[22/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[23/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[24/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[25/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[26/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[27/178] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[29/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[30/178] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f7x/soc.c.obj
[31/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[32/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[33/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[35/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[36/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
[37/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[38/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/178] Linking C static library zephyr/libzephyr.a
[40/178] Generating linker_zephyr_pre0.cmd
[41/178] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[42/178] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[43/178] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[44/178] Linking C static library zephyr/arch/common/libisr_tables.a
[45/178] Linking C static library zephyr/arch/common/libarch__common.a
[46/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[47/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[48/178] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[49/178] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[50/178] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[51/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[52/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[53/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[54/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[55/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[56/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[57/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[58/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[59/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[60/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[61/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[62/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[63/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[64/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[65/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[66/178] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[67/178] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[68/178] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[69/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[70/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[71/178] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[72/178] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[73/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[74/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[75/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[76/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[77/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[78/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[79/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[80/178] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[81/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[82/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/178] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[84/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
[85/178] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
[86/178] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
[87/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_device.c.obj
[88/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_desc.c.obj
[89/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_ch9.c.obj
[90/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_core.c.obj
[91/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_init.c.obj
[92/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_config.c.obj
[93/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_class.c.obj
[94/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_interface.c.obj
[95/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_endpoint.c.obj
[96/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/usbd_msg.c.obj
[97/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid.c.obj
[98/178] Building C object zephyr/subsys/usb/device_next/CMakeFiles/subsys__usb__device_next.dir/class/usbd_hid_api.c.obj
[99/178] Linking C static library zephyr/subsys/usb/device_next/libsubsys__usb__device_next.a
[100/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input.c.obj
[101/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_hid.c.obj
[102/178] Building C object zephyr/subsys/input/CMakeFiles/subsys__input.dir/input_utils.c.obj
[103/178] Linking C static library zephyr/subsys/input/libsubsys__input.a
[104/178] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[105/178] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[106/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_common.c.obj
[107/178] Building C object zephyr/drivers/usb/udc/CMakeFiles/drivers__usb__udc.dir/udc_stm32.c.obj
[108/178] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a
[109/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[110/178] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[111/178] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[112/178] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[113/178] Linking C static library zephyr/drivers/console/libdrivers__console.a
[114/178] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[115/178] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[116/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[117/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_stm32.c.obj
[118/178] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[119/178] Building C object zephyr/drivers/input/CMakeFiles/drivers__input.dir/input_gpio_keys.c.obj
[120/178] Linking C static library zephyr/drivers/input/libdrivers__input.a
[121/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[122/178] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[123/178] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[124/178] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[125/178] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[126/178] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F723xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f723e_disco_stm32f723xx/samples/subsys/usb/hid-keyboard/sample.usbd.hid-keyboard.out-report/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/subsys/usb/hid-keyboard=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in riscv32_virtual/riscv_virtual_renode:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (riscv32_virtual/riscv_virtual_renode:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: riscv32_virtual, qualifiers: riscv_virtual_renode
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/renode/riscv32_virtual/riscv32_virtual.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/renode/riscv32_virtual/riscv32_virtual_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/riscv64-zephyr-elf/riscv64-zephyr-elf/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization
[1/107] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/107] Preparing syscall dependency handling
[3/107] Generating misc/generated/syscalls_subdirs.trigger
[4/107] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/107] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/107] Generating include/generated/zephyr/driver-validation.h
[7/107] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/107] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[9/107] Generating include/generated/zephyr/offsets.h
[10/107] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/107] Linking C static library app/libapp.a
[12/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/107] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/107] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/107] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/common/riscv-privileged/soc_irq.S.obj
[26/107] Building C object zephyr/CMakeFiles/zephyr.dir/soc/common/riscv-privileged/soc_common_irq.c.obj
[27/107] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/common/riscv-privileged/vector.S.obj
[28/107] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[29/107] Linking C static library zephyr/libzephyr.a
[30/107] Generating linker_zephyr_pre0.cmd
[31/107] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[32/107] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[33/107] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.c.obj
[34/107] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[35/107] Linking C static library zephyr/arch/common/libisr_tables.a
[36/107] Linking C static library zephyr/arch/common/libarch__common.a
[37/107] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[38/107] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[39/107] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[40/107] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[41/107] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[42/107] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[43/107] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[44/107] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[45/107] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[46/107] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[47/107] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/stacktrace.c.obj
[48/107] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[49/107] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[50/107] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[51/107] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[52/107] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[53/107] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[54/107] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[55/107] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[56/107] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[57/107] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[58/107] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[59/107] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[60/107] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[61/107] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[62/107] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[63/107] Linking C static library zephyr/drivers/console/libdrivers__console.a
[64/107] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/renode/riscv_virtual -I/__w/zephyr/zephyr/soc/common/riscv-privileged/. -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/riscv32_virtual_riscv_virtual_renode/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mabi=ilp32 -march=rv32imac_zicsr_zifencei --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/riscv64-zephyr-elf/riscv64-zephyr-elf -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_ns16550.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_ns16550.c:32:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32373c_eval/stm32f373xc:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32373c_eval/stm32f373xc:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32373c_eval, qualifiers: stm32f373xc
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32373c_eval/stm32373c_eval.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32373c_eval/stm32373c_eval_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization
[1/139] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/139] Preparing syscall dependency handling
[3/139] Generating misc/generated/syscalls_subdirs.trigger
[4/139] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/139] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/139] Generating include/generated/zephyr/driver-validation.h
[7/139] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/139] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/139] Generating include/generated/zephyr/offsets.h
[10/139] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/139] Linking C static library app/libapp.a
[12/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[20/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[21/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[22/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[23/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[24/139] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[25/139] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/139] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[27/139] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[28/139] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f3x/soc.c.obj
[29/139] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[30/139] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[31/139] Linking C static library zephyr/libzephyr.a
[32/139] Generating linker_zephyr_pre0.cmd
[33/139] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[34/139] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[35/139] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[36/139] Linking C static library zephyr/arch/common/libisr_tables.a
[37/139] Linking C static library zephyr/arch/common/libarch__common.a
[38/139] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[39/139] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[40/139] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[41/139] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[42/139] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[43/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[44/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[45/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[46/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[47/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[48/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[49/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[50/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[51/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[52/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[53/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[54/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[55/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[56/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[57/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[58/139] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[59/139] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[60/139] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[61/139] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[62/139] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[63/139] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[64/139] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[65/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[66/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[67/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[68/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[69/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[70/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[71/139] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[72/139] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[73/139] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[74/139] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[75/139] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[76/139] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[77/139] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[78/139] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[79/139] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f0_f3.c.obj
[80/139] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[81/139] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[82/139] Linking C static library zephyr/drivers/console/libdrivers__console.a
[83/139] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[84/139] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[85/139] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[86/139] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[87/139] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[88/139] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[89/139] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[90/139] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM4 -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F373xC -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f3x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f3xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f3xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32373c_eval_stm32f373xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32h750b_dk/stm32h750xx:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32h750b_dk/stm32h750xx:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32h750b_dk, qualifiers: stm32h750xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32h750b_dk/stm32h750b_dk.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts:1284.29-1317.5:
Warning (spi_bus_bridge): /soc/quadspi@52005000: node name for SPI buses
should be 'spi'
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
/__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts:1295.44-1310.6:
Warning (unique_unit_address_if_enabled):
/soc/quadspi@52005000/qspi-nor-flash-1@90000000: duplicate unit-address
(also used in node /soc/quadspi@52005000/qspi-nor-flash-2@90000000)
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:5 (find_package)
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32h750b_dk/stm32h750b_dk_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization
[1/140] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/140] Preparing syscall dependency handling
[3/140] Generating misc/generated/syscalls_subdirs.trigger
[4/140] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/140] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/140] Generating include/generated/zephyr/driver-validation.h
[7/140] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/140] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/140] Generating include/generated/zephyr/offsets.h
[10/140] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/140] Linking C static library app/libapp.a
[12/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[20/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[21/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[22/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[23/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[24/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[25/140] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[27/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[28/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32h7x/soc_m7.c.obj
[29/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32h7x/mpu_regions.c.obj
[30/140] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[31/140] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[32/140] Linking C static library zephyr/libzephyr.a
[33/140] Generating linker_zephyr_pre0.cmd
[34/140] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[35/140] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[36/140] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[37/140] Linking C static library zephyr/arch/common/libisr_tables.a
[38/140] Linking C static library zephyr/arch/common/libarch__common.a
[39/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[40/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[41/140] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[42/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[43/140] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[44/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[45/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[46/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[47/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[48/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[49/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[50/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[51/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[52/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[53/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[54/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[55/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[56/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[57/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[58/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[59/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[60/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[61/140] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[62/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[63/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[64/140] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[65/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[66/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[67/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[68/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[69/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[70/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[71/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[72/140] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[73/140] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[74/140] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[75/140] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[76/140] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[77/140] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[78/140] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_h7.c.obj
[79/140] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[80/140] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[81/140] Linking C static library zephyr/drivers/console/libdrivers__console.a
[82/140] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[83/140] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[84/140] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[85/140] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[86/140] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[87/140] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[88/140] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[89/140] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32H750xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32h7x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32h7xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32h750b_dk_stm32h750xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32wb5mmg/stm32wb55xx:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32wb5mmg/stm32wb55xx:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32wb5mmg, qualifiers: stm32wb55xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32wb5mmg/stm32wb5mmg.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32wb5mmg/stm32wb5mmg_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization
[1/138] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/138] Preparing syscall dependency handling
[3/138] Generating misc/generated/syscalls_subdirs.trigger
[4/138] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/138] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/138] Generating include/generated/zephyr/driver-validation.h
[7/138] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/138] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/138] Generating include/generated/zephyr/offsets.h
[10/138] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/138] Linking C static library app/libapp.a
[12/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/138] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/138] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/138] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[26/138] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[27/138] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32wbx/soc.c.obj
[28/138] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[29/138] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[30/138] Linking C static library zephyr/libzephyr.a
[31/138] Generating linker_zephyr_pre0.cmd
[32/138] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[33/138] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[34/138] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[35/138] Linking C static library zephyr/arch/common/libisr_tables.a
[36/138] Linking C static library zephyr/arch/common/libarch__common.a
[37/138] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[38/138] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[39/138] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[40/138] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[41/138] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[42/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[43/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[44/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[45/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[46/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[47/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[48/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[49/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[50/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[51/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[52/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[53/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[54/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[55/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[56/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[57/138] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[58/138] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[59/138] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[60/138] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[61/138] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[62/138] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[63/138] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[64/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[65/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[66/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[67/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[68/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[69/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[70/138] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[71/138] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[72/138] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[73/138] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[74/138] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[75/138] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[76/138] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[77/138] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[78/138] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32l4_l5_wb_wl.c.obj
[79/138] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[80/138] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[81/138] Linking C static library zephyr/drivers/console/libdrivers__console.a
[82/138] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[83/138] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[84/138] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[85/138] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[86/138] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[87/138] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[88/138] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[89/138] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM4 -DHSE_VALUE=32000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32WB55xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32wbx/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32wbxx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32wbxx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32wb5mmg_stm32wb55xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in qemu_x86_tiny/atom:arch.x86.pagetables
github-actions / Unit Test Results
arch.x86.pagetables (qemu_x86_tiny/atom:arch.x86.pagetables) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr module(s) (Zephyr base): zephyr_default:kconfig
-- Application: /__w/zephyr/zephyr/tests/arch/x86/pagetables
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_x86_tiny, qualifiers: atom
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/qemu/x86/qemu_x86_tiny.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/dts.cmake
warning: Deprecated symbol DISABLE_SSBD is enabled.
warning: Deprecated symbol ENABLE_EXTENDED_IBRS is enabled.
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/qemu/x86/qemu_x86_tiny_defconfig'
Merged configuration '/__w/zephyr/zephyr/tests/arch/x86/pagetables/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/twister/testsuite_extra.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/include/generated/zephyr/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/tests/arch/x86/pagetables
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_x86_tiny, qualifiers: atom
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/qemu/x86/qemu_x86_tiny.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/dts.cmake
warning: Deprecated symbol DISABLE_SSBD is enabled.
warning: Deprecated symbol ENABLE_EXTENDED_IBRS is enabled.
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/.config'
No change to configuration in '/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/.config'
No change to Kconfig header in '/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/x86_64-zephyr-elf/x86_64-zephyr-elf/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc
CMake Warning at /__w/zephyr/zephyr/subsys/random/CMakeLists.txt:12 (message):
Warning: CONFIG_TIMER_RANDOM_GENERATOR and CONFIG_TEST_CSPRNG_GENERATOR are
not truly random generators. This capability is not secure and it is
provided for testing purposes only. Use it carefully.
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables
[1/151] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/151] Preparing syscall dependency handling
[3/151] Generating misc/generated/syscalls_subdirs.trigger
[4/151] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/151] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/151] Generating include/generated/zephyr/driver-validation.h
[7/151] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/151] Building C object zephyr/CMakeFiles/offsets.dir/arch/x86/core/offsets/offsets.c.obj
[9/151] Generating include/generated/zephyr/offsets.h
[10/151] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/151] Linking C static library app/libapp.a
[12/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mutex.c.obj
[20/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/user_work.c.obj
[21/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[22/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[23/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[24/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[25/151] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[26/151] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/151] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[28/151] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[29/151] Linking C static library zephyr/libzephyr.a
[30/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[31/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.c.obj
[32/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.c.obj
[33/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[34/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/spec_ctrl.c.obj
[35/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.c.obj
[36/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/userspace.c.obj
[37/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/early_serial.c.obj
[38/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/tls.c.obj
[39/151] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/crt0.S.obj
[40/151] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/excstub.S.obj
[41/151] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/intstub.S.obj
[42/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/irq_manage.c.obj
[43/151] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/swap.S.obj
[44/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/thread.c.obj
[45/151] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/userspace.S.obj
[46/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/tls.c.obj
[47/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/fatal.c.obj
[48/151] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/soft_float_stubs.c.obj
[49/151] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[50/151] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[51/151] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[52/151] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[53/151] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[54/151] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[55/151] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[56/151] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[57/151] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[58/151] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[59/151] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[60/151] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[61/151] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/random_handlers.c.obj
[62/151] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/random_timer.c.obj
[63/151] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/random_test_csprng.c.obj
[64/151] Linking C static library zephyr/subsys/random/libsubsys__random.a
[65/151] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest.c.obj
[66/151] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest_error_hook.c.obj
[67/151] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest_rules.c.obj
[68/151] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest_defaults.c.obj
[69/151] Linking C static library zephyr/subsys/testsuite/ztest/libsubsys__testsuite__ztest.a
[70/151] Building C object zephyr/subsys/demand_paging/eviction/CMakeFiles/subsys__demand_paging__eviction.dir/nru.c.obj
[71/151] Linking C static library zephyr/subsys/demand_paging/eviction/libsubsys__demand_paging__eviction.a
[72/151] Building C object zephyr/subsys/demand_paging/backing_store/CMakeFiles/subsys__demand_paging__backing_store.dir/backing_store_qemu_x86_tiny.c.obj
[73/151] Linking C static library zephyr/subsys/demand_paging/backing_store/libsubsys__demand_paging__backing_store.a
[74/151] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_ioapic.c.obj
[75/151] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[76/151] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[77/151] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[78/151] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[79/151] Linking C static library zephyr/drivers/console/libdrivers__console.a
[80/151] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DTC_RUNID=a2eaf930cde5b6ac9477293d2d1e7878 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/include/generated -I/__w/zephyr/zephyr/soc/intel/atom -I/__w/zephyr/zephyr/soc/intel/atom/. -I/__w/zephyr/zephyr/subsys/testsuite/include -I/__w/zephyr/zephyr/subsys/testsuite/coverage -I/__w/zephyr/zephyr/subsys/testsuite/ztest/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -m32 -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/qemu_x86_tiny_atom/tests/arch/x86/pagetables/arch.x86.pagetables/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -m32 -msoft-float -Wa,--divide --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/x86_64-zephyr-elf/x86_64-zephyr-elf -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/tests/arch/x86/pagetables=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_ns16550.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_ns16550.c:32:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32l152c_disco/stm32l152xc:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32l152c_disco/stm32l152xc:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32l152c_disco, qualifiers: stm32l152xc
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32l1_disco/stm32l152c_disco.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32l1_disco/stm32l152c_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization
[1/133] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/133] Preparing syscall dependency handling
[3/133] Generating misc/generated/syscalls_subdirs.trigger
[4/133] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/133] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/133] Generating include/generated/zephyr/driver-validation.h
[7/133] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/133] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/133] Generating include/generated/zephyr/offsets.h
[10/133] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/133] Linking C static library app/libapp.a
[12/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/133] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/133] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/133] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[26/133] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[27/133] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32l1x/soc.c.obj
[28/133] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[29/133] Linking C static library zephyr/libzephyr.a
[30/133] Generating linker_zephyr_pre0.cmd
[31/133] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[32/133] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[33/133] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[34/133] Linking C static library zephyr/arch/common/libisr_tables.a
[35/133] Linking C static library zephyr/arch/common/libarch__common.a
[36/133] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[37/133] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[38/133] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[39/133] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[40/133] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[41/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[42/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[43/133] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[44/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[45/133] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[46/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[47/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[48/133] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[49/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[50/133] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[51/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[52/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[53/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[54/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[55/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[56/133] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[57/133] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[58/133] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[59/133] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[60/133] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[61/133] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[62/133] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[63/133] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[64/133] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[65/133] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[66/133] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[67/133] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[68/133] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[69/133] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[70/133] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[71/133] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[72/133] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[73/133] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32l0_l1.c.obj
[74/133] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[75/133] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[76/133] Linking C static library zephyr/drivers/console/libdrivers__console.a
[77/133] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[78/133] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[79/133] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[80/133] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[81/133] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[82/133] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[83/133] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[84/133] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32L152xC -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32l1x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32l1xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32l1xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32l152c_disco_stm32l152xc/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m3 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in vmu_rt1170/mimxrt1176/cm7:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (vmu_rt1170/mimxrt1176/cm7:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: vmu_rt1170, qualifiers: mimxrt1176/cm7
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/nxp/vmu_rt1170/vmu_rt1170_mimxrt1176_cm7.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/nxp/vmu_rt1170/vmu_rt1170_mimxrt1176_cm7_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
Load components for MIMXRT1176_cm7:
driver_common component is included.
driver_reset component is included.
device_CMSIS component is included.
CMSIS_Include_core_cm component is included.
device_system component is included.
driver_lpuart component is included.
driver_igpio component is included.
driver_cache_armv7_m7 component is included.
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization
[1/174] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/174] Preparing syscall dependency handling
[3/174] Generating misc/generated/syscalls_subdirs.trigger
[4/174] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/174] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/174] Generating include/generated/zephyr/driver-validation.h
[7/174] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/174] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/174] Generating include/generated/zephyr/offsets.h
[10/174] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/174] Linking C static library app/libapp.a
[12/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/ring_buffer.c.obj
[25/174] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/nxp/imxrt/imxrt11xx/soc.c.obj
[27/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/nxp/imxrt/mpu_regions.c.obj
[28/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[29/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[30/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/kernel_shell.c.obj
[31/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/cycles.c.obj
[32/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/sleep.c.obj
[33/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/uptime.c.obj
[34/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/version.c.obj
[35/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/thread/thread.c.obj
[36/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/thread/list.c.obj
[37/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/thread/mask.c.obj
[38/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/thread/pin.c.obj
[39/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service/thread/stacks.c.obj
[40/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[42/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[43/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[44/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[45/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[46/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[47/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[48/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[49/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[50/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[51/174] Linking C static library zephyr/libzephyr.a
[52/174] Generating linker_zephyr_pre0.cmd
[53/174] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[54/174] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[55/174] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[56/174] Linking C static library zephyr/arch/common/libisr_tables.a
[57/174] Linking C static library zephyr/arch/common/libarch__common.a
[58/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[59/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[60/174] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[61/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[62/174] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[63/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[64/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[65/174] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[66/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[67/174] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[68/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[69/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[70/174] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[71/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[72/174] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[73/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[74/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[75/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[76/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[77/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[78/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[79/174] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[80/174] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cache.c.obj
[81/174] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[82/174] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[83/174] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[84/174] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[85/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[86/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[87/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[88/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[89/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[90/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[91/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[92/174] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[93/174] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[94/174] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[95/174] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[96/174] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/fnmatch.c.obj
[97/174] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/getentropy.c.obj
[98/174] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/getopt/getopt.c.obj
[99/174] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/getopt/getopt_common.c.obj
[100/174] Linking C static library zephyr/lib/posix/options/liblib__posix__options.a
[101/174] Building C object zephyr/boards/nxp/vmu_rt1170/CMakeFiles/boards__nxp__vmu_rt1170.dir/flexspi_nor_config.c.obj
[102/174] Linking C static library zephyr/boards/nxp/vmu_rt1170/libboards__nxp__vmu_rt1170.a
[103/174] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_mcux_ccm_rev2.c.obj
[104/174] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[105/174] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[106/174] Linking C static library zephyr/drivers/console/libdrivers__console.a
[107/174] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_mcux_igpio.c.obj
[108/174] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[109/174] Building C object zephyr/drivers/memc/CMakeFiles/drivers__memc.dir/memc_nxp_flexram.c.obj
[110/174] Linking C static library zephyr/drivers/memc/libdrivers__memc.a
[111/174] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[112/174] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_imx.c.obj
[113/174] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[114/174] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[115/174] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_fixed.c.obj
[116/174] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[117/174] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBOARD_FLASH_SIZE="CONFIG_FLASH_SIZE*1024" -DCPU_MIMXRT1176DVMAA_cm7 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DNDEBUG -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DXIP_BOOT_HEADER_ENABLE=1 -DXIP_EXTERNAL_FLASH -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/nxp/imxrt -I/__w/zephyr/zephyr/lib/posix/options/getopt -I/__w/zephyr/zephyr/soc/nxp/imxrt/imxrt11xx/. -I/__w/zephyr/zephyr/soc/nxp/imxrt/. -I/__w/zephyr/zephyr/soc/nxp/imxrt/imxrt11xx -I/__w/zephyr/zephyr/subsys/shell/modules/kernel_service/thread/.. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/devices/MIMXRT1176 -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/devices/MIMXRT1176/drivers -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/devices/MIMXRT1176/xip -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/common -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/lpuart -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/igpio -I/__w/zephyr/modules/hal/nxp/mcux/mcux-sdk/drivers/cache/armv7-m7 -I/__w/zephyr/zephyr/modules/hal_nxp/. -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_mcux_lpuart.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_mcux_lpuart.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_mcux_lpuart.c:16:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in stm32f4_disco/stm32f407xx:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (stm32f4_disco/stm32f407xx:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: stm32f4_disco, qualifiers: stm32f407xx
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/st/stm32f4_disco/stm32f4_disco.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/st/stm32f4_disco/stm32f4_disco_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/local/bin/ccache
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization
[1/140] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/140] Preparing syscall dependency handling
[3/140] Generating misc/generated/syscalls_subdirs.trigger
[4/140] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/140] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/140] Generating include/generated/zephyr/driver-validation.h
[7/140] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/140] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/140] Generating include/generated/zephyr/offsets.h
[10/140] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/140] Linking C static library app/libapp.a
[12/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[20/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[21/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[22/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[23/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[24/140] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[25/140] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/stm32cube_hal.c.obj
[27/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/common/soc_config.c.obj
[28/140] Building C object zephyr/CMakeFiles/zephyr.dir/soc/st/stm32/stm32f4x/soc.c.obj
[29/140] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[30/140] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[31/140] Linking C static library zephyr/libzephyr.a
[32/140] Generating linker_zephyr_pre0.cmd
[33/140] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[34/140] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[35/140] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[36/140] Linking C static library zephyr/arch/common/libisr_tables.a
[37/140] Linking C static library zephyr/arch/common/libarch__common.a
[38/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[39/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[40/140] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[41/140] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[42/140] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[43/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
[44/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[45/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[46/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[47/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[48/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[49/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[50/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[51/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[52/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[53/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[54/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[55/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[56/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
[57/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[58/140] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
[59/140] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[60/140] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[61/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[62/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[63/140] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
[64/140] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[65/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[66/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[67/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[68/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[69/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[70/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[71/140] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[72/140] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[73/140] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[74/140] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[75/140] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[76/140] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_exti_stm32.c.obj
[77/140] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[78/140] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32_ll_common.c.obj
[79/140] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_stm32f2_f4_f7.c.obj
[80/140] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[81/140] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[82/140] Linking C static library zephyr/drivers/console/libdrivers__console.a
[83/140] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_stm32.c.obj
[84/140] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[85/140] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[86/140] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_stm32.c.obj
[87/140] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[88/140] Building C object zephyr/drivers/reset/CMakeFiles/drivers__reset.dir/reset_stm32.c.obj
[89/140] Linking C static library zephyr/drivers/reset/libdrivers__reset.a
[90/140] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM4 -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/st/stm32 -I/__w/zephyr/zephyr/soc/st/stm32/common/. -I/__w/zephyr/zephyr/drivers -I/__w/zephyr/zephyr/soc/st/stm32/stm32f4x/. -I/__w/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/__w/zephyr/zephyr/modules/cmsis/. -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f4xx/soc -I/__w/zephyr/modules/hal/stm32/stm32cube/stm32f4xx/drivers/include -I/__w/zephyr/modules/hal/stm32/stm32cube/common_ll/include -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/stm32f4_disco_stm32f407xx/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_stm32.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_stm32.c:24:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Check failure on line 0 in roc_rk3568_pc/rk3568:sample.kernel.synchronization
github-actions / Unit Test Results
sample.kernel.synchronization (roc_rk3568_pc/rk3568:sample.kernel.synchronization) with error
artifacts/Unit Test Results (Subset 7)/twister-out/twister.xml [took 0s]
Raw output
Build failure
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zephyr/zephyr/samples/synchronization
-- CMake version: 3.22.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: roc_rk3568_pc, qualifiers: rk3568
-- Found host-tools: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/opt/toolchains/zephyr-sdk-0.17.0)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zephyr/zephyr/boards/firefly/roc_rk3568_pc/roc_rk3568_pc.dts
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated pickled edt: /__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/edt.pickle
-- Generated zephyr.dts: /__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/dts.cmake
CMake Warning at /__w/zephyr/zephyr/cmake/modules/dts.cmake:426 (message):
dtc raised one or more warnings:
/__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.dts:25.11-30.5:
Warning (unit_address_format): /cpus/cpu@000: unit name should not have
leading 0s
Call Stack (most recent call first):
/__w/zephyr/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/__w/zephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:5 (find_package)
Parsing /__w/zephyr/zephyr/Kconfig
Loaded configuration '/__w/zephyr/zephyr/boards/firefly/roc_rk3568_pc/roc_rk3568_pc_defconfig'
Merged configuration '/__w/zephyr/zephyr/samples/synchronization/prj.conf'
Merged configuration '/__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.17.0/aarch64-zephyr-elf/aarch64-zephyr-elf/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.17.0/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc
-- Using ccache: /usr/local/bin/ccache
CMake Warning at /__w/zephyr/zephyr/CMakeLists.txt:957 (message):
No SOURCES given to Zephyr library: drivers__clock_control
Excluding target from build.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_NAME
TC_RUNID
-- Build files have been written to: /__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization
[1/113] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.0.99 (/__w/zephyr/zephyr), build: v4.0.0-771-g3f1d5c388fd7
[2/113] Preparing syscall dependency handling
[3/113] Generating misc/generated/syscalls_subdirs.trigger
[4/113] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/113] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h
[6/113] Generating include/generated/zephyr/driver-validation.h
[7/113] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
[8/113] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm64/core/offsets/offsets.c.obj
[9/113] Generating include/generated/zephyr/offsets.h
[10/113] Building C object CMakeFiles/app.dir/src/main.c.obj
[11/113] Linking C static library app/libapp.a
[12/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
[13/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[18/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[19/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
[20/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
[21/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
[22/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
[23/113] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
[24/113] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/113] Building C object zephyr/CMakeFiles/zephyr.dir/soc/rockchip/rk3568/mmu_regions.c.obj
[26/113] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[27/113] Linking C static library zephyr/libzephyr.a
[28/113] Generating linker_zephyr_pre0.cmd
[29/113] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[30/113] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[31/113] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[32/113] Linking C static library zephyr/arch/common/libisr_tables.a
[33/113] Linking C static library zephyr/arch/common/libarch__common.a
[34/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/cpu_idle.S.obj
[35/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/early_mem_funcs.S.obj
[36/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fatal.c.obj
[37/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/irq_init.c.obj
[38/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/irq_manage.c.obj
[39/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/prep_c.c.obj
[40/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reboot.c.obj
[41/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reset.S.obj
[42/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reset.c.obj
[43/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/switch.S.obj
[44/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/thread.c.obj
[45/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/vector_table.S.obj
[46/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fpu.c.obj
[47/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fpu.S.obj
[48/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/mmu.c.obj
[49/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/mmu.S.obj
[50/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/isr_wrapper.S.obj
[51/113] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/tls.c.obj
[52/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/smccc-call.S.obj
[53/113] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/header.S.obj
[54/113] Linking C static library zephyr/arch/arch/arm64/core/libarch__arm64__core.a
[55/113] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
[56/113] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
[57/113] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
[58/113] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
[59/113] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
[60/113] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
[61/113] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
[62/113] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[63/113] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[64/113] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[65/113] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[66/113] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gicv3.c.obj
[67/113] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[68/113] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[69/113] Linking C static library zephyr/drivers/console/libdrivers__console.a
[70/113] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
ccache /opt/toolchains/zephyr-sdk-0.17.0/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_DOUBLE_PRINTF_SCANF -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr -I/__w/zephyr/zephyr/include -I/__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated -I/__w/zephyr/zephyr/soc/rockchip -isystem /__w/zephyr/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/zephyr/zephyr/twister-out/roc_rk3568_pc_rk3568/samples/synchronization/sample.kernel.synchronization/zephyr/include/generated/zephyr/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-a55 -mabi=lp64 --sysroot=/opt/toolchains/zephyr-sdk-0.17.0/aarch64-zephyr-elf/aarch64-zephyr-elf -imacros /__w/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/zephyr/zephyr/samples/synchronization=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections -moverride=tune=no_ldp_stp_qregs -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj -MF zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj -c /__w/zephyr/zephyr/drivers/serial/uart_ns16550.c
In file included from /__w/zephyr/zephyr/drivers/serial/uart_ns16550.c:32:
/__w/zephyr/zephyr/include/zephyr/pm/policy.h:399:63: error: 'struct pm_policy_latency_immediate_ctrl' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
399 | static inline int pm_policy_latency_immediate_ctrl_add(struct pm_policy_latency_immediate_ctrl *mgr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.