Introduce board extensions and some major improvements #209
76 tests run, 35 passed, 0 skipped, 41 failed.
Annotations
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_riscv32e
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32e/qemu_riscv32e.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32e/qemu_riscv32e_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_riscv32e.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_riscv32e
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32e/qemu_riscv32e.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../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.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands
[1/162] Preparing syscall dependency handling
[2/162] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/162] Generating misc/generated/syscalls_subdirs.trigger
[4/162] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/162] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/162] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/162] Generating include/generated/driver-validation.h
[8/162] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/162] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[10/162] Generating include/generated/offsets.h
[11/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/162] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[16/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[20/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/162] Linking C static library app/libapp.a
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[29/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.obj
[30/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[31/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[34/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[35/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_common_irq.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[38/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[39/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/virt/soc.c.obj
[40/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[45/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[48/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[49/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[50/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[51/162] Generating linker_zephyr_pre0.cmd
[52/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[53/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[55/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[56/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[57/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[58/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[59/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[60/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[61/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.c.obj
[62/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[63/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[64/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[65/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[66/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[67/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[68/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[69/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[70/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[71/162] Linking C static library zephyr/arch/common/libisr_tables.a
[72/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[73/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[74/162] Linking C static library zephyr/libzephyr.a
[75/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[76/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[77/162] Linking C static library zephyr/arch/common/libarch__common.a
[78/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[79/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[80/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[81/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[82/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[83/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[84/162] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[85/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[86/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[87/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[88/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[89/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[90/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[91/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[92/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[93/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[94/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[95/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[96/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[97/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[98/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[99/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[100/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[101/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[102/162] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[103/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[104/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[105/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[106/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[107/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[108/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[109/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[110/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[111/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[112/162] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[113/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[114/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[115/162] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/riscv/riscv-privileged/virt -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/soc/riscv/riscv-privileged/common/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mabi=ilp32e -march=rv32emac_zicsr_zifencei --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/riscv64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[116/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[117/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[118/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[119/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[120/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[121/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[122/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[123/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[124/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in sayhello
github-actions / twister-report (samples)
sayhello.bridle.samples.helloshell.sayhello
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_riscv32e
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32e/qemu_riscv32e.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32e/qemu_riscv32e_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_riscv32e.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_riscv32e
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32e/qemu_riscv32e.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../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.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello
[1/162] Preparing syscall dependency handling
[2/162] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/162] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/162] Generating misc/generated/syscalls_subdirs.trigger
[5/162] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/162] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/162] Generating include/generated/driver-validation.h
[8/162] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/162] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[10/162] Generating include/generated/offsets.h
[11/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/162] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[16/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/162] Linking C static library app/libapp.a
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.obj
[31/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[35/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_common_irq.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[38/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/virt/soc.c.obj
[40/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[45/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[48/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[49/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[50/162] Generating linker_zephyr_pre0.cmd
[51/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[52/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[53/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[55/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[56/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[57/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[58/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[59/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[60/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[61/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.c.obj
[62/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[63/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[64/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[65/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[66/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[67/162] Linking C static library zephyr/arch/common/libisr_tables.a
[68/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[69/162] Linking C static library zephyr/libzephyr.a
[70/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[71/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[72/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[73/162] Linking C static library zephyr/arch/common/libarch__common.a
[74/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[75/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[76/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[77/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[78/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[79/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[80/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[81/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[82/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[84/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[85/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[86/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[87/162] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[88/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[89/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[90/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[91/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[92/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[93/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[94/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[95/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[96/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[97/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[98/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[99/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[100/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[101/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[102/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[103/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[104/162] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[105/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[106/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[107/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[108/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[109/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[110/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[111/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[112/162] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[113/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[114/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[115/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[116/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[117/162] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[118/162] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/riscv/riscv-privileged/virt -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/soc/riscv/riscv-privileged/common/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mabi=ilp32e -march=rv32emac_zicsr_zifencei --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/riscv64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[119/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[120/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[121/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[122/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[123/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[124/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[125/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[126/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[127/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
ninja: build stopped: subcommand failed.
github-actions / twister-report (samples)
debug.bridle.samples.helloshell.debug
Build failure
Raw output
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_riscv32e
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32e/qemu_riscv32e.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32e/qemu_riscv32e_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_riscv32e.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../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.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug
[1/162] Preparing syscall dependency handling
[2/162] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/162] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/162] Generating misc/generated/syscalls_subdirs.trigger
[5/162] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/162] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/162] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/162] Generating include/generated/driver-validation.h
[9/162] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[10/162] Generating include/generated/offsets.h
[11/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/162] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.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/posix/getopt/getopt_common.c.obj
[17/162] Linking C static library app/libapp.a
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[22/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[25/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.obj
[29/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[31/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[34/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[35/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_common_irq.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[38/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/virt/soc.c.obj
[39/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[40/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[45/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[48/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[49/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[50/162] Generating linker_zephyr_pre0.cmd
[51/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[52/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[53/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[55/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[56/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[57/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[58/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[59/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[60/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[61/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.c.obj
[62/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[63/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[64/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[65/162] Linking C static library zephyr/arch/common/libisr_tables.a
[66/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[67/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[68/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[69/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[70/162] Linking C static library zephyr/libzephyr.a
[71/162] Linking C static library zephyr/arch/common/libarch__common.a
[72/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[73/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[74/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[75/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[76/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[77/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[78/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[79/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[80/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[81/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[82/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[83/162] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[84/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[85/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[86/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[87/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[88/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[89/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[90/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[91/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[92/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[93/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[94/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[96/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[97/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[98/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[99/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[100/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[101/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[102/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[103/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[104/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[105/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[106/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[107/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[108/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[109/162] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[110/162] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[111/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[112/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[113/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[114/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[115/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[116/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[117/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[118/162] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[119/162] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/riscv/riscv-privileged/virt -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/soc/riscv/riscv-privileged/common/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_riscv32e/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mabi=ilp32e -march=rv32emac_zicsr_zifencei --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/riscv64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[120/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[121/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[122/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[123/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[124/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[125/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[126/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[127/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[128/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_nios2
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/nios2/qemu_nios2/qemu_nios2.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/nios2/qemu_nios2/qemu_nios2_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_nios2.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_nios2
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/nios2/qemu_nios2/qemu_nios2.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/bin/../lib/gcc/nios2-zephyr-elf/12.2.0/../../../../nios2-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.16.3/nios2-zephyr-elf/bin/nios2-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands
[1/156] Preparing syscall dependency handling
[2/156] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/156] Generating misc/generated/syscalls_subdirs.trigger
[4/156] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/156] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/156] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/156] Generating include/generated/driver-validation.h
[8/156] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/156] Building C object zephyr/CMakeFiles/offsets.dir/arch/nios2/core/offsets/offsets.c.obj
[10/156] Generating include/generated/offsets.h
[11/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[12/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[13/156] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[15/156] Linking C static library app/libapp.a
[16/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[18/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[19/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[20/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[22/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[23/156] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[24/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[25/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[27/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[30/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[31/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[32/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[33/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[35/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[36/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[37/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[38/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[39/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[40/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[41/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[42/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[43/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[44/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_sc.c.obj
[45/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[46/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[47/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[48/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[49/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[50/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[51/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/altera_hal/HAL/src/altera_common.c.obj
[52/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[53/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[54/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_ts.c.obj
[55/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_fd.c.obj
[56/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_vars.c.obj
[57/156] Generating linker_zephyr_pre0.cmd
[58/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_ioctl.c.obj
[59/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_init.c.obj
[60/156] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[61/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_read.c.obj
[62/156] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[63/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_write.c.obj
[64/156] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[65/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/swap.S.obj
[66/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/cpu_idle.c.obj
[67/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/reset.S.obj
[68/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/thread.c.obj
[69/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/crt0.S.obj
[70/156] Linking C static library zephyr/arch/common/libisr_tables.a
[71/156] Linking C static library zephyr/libzephyr.a
[72/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/exception.S.obj
[73/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/irq_manage.c.obj
[74/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/cache.c.obj
[75/156] Linking C static library zephyr/arch/common/libarch__common.a
[76/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/prep_c.c.obj
[77/156] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[78/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[79/156] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[80/156] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[81/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/fatal.c.obj
[82/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[83/156] Linking C static library zephyr/lib/posix/liblib__posix.a
[84/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[85/156] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[86/156] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[87/156] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[88/156] Linking C static library zephyr/drivers/console/libdrivers__console.a
[89/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[90/156] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[91/156] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[92/156] Linking C static library zephyr/arch/arch/nios2/core/libarch__nios2__core.a
[93/156] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[94/156] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[95/156] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[96/156] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[97/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[98/156] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/bin/nios2-zephyr-elf-gcc -DALTERA_AVALON_JTAG_UART_SMALL -DKERNEL -DPICOLIBC_INTEGER_PRINTF_SCANF -DZEPHYR_RTOS -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/nios2/nios2-qemu -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/soc/nios2/nios2-qemu/include -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -I/__w/bridle/bridle/workspace/modules/hal/altera/include -I/__w/bridle/bridle/workspace/modules/hal/altera/altera_hal/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/LWHAL/inc -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/nios2-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -mgpopt=global -mhw-mul -mhw-mulx -mhw-div --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:48: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:44: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:42: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[99/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[100/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[101/156] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[102/156] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[103/156] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[104/156] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_altera_jtag.c.obj
[105/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[106/156] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[107/156] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in sayhello
github-actions / twister-report (samples)
sayhello.bridle.samples.helloshell.sayhello
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_nios2
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/nios2/qemu_nios2/qemu_nios2.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/nios2/qemu_nios2/qemu_nios2_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_nios2.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_nios2
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/nios2/qemu_nios2/qemu_nios2.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/bin/../lib/gcc/nios2-zephyr-elf/12.2.0/../../../../nios2-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.16.3/nios2-zephyr-elf/bin/nios2-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello
[1/156] Preparing syscall dependency handling
[2/156] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/156] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/156] Generating misc/generated/syscalls_subdirs.trigger
[5/156] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/156] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/156] Generating include/generated/driver-validation.h
[8/156] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/156] Building C object zephyr/CMakeFiles/offsets.dir/arch/nios2/core/offsets/offsets.c.obj
[10/156] Generating include/generated/offsets.h
[11/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[14/156] Building C object CMakeFiles/app.dir/src/main.c.obj
[15/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[16/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[17/156] Linking C static library app/libapp.a
[18/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[19/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[21/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[22/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/156] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[24/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[25/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[26/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[27/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[29/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[30/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[31/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[32/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[33/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[35/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[36/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[37/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[38/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[39/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[41/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[42/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[43/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[44/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_sc.c.obj
[45/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[46/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[47/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[48/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[49/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[50/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/altera_hal/HAL/src/altera_common.c.obj
[51/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[52/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[53/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_fd.c.obj
[55/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_ts.c.obj
[56/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_vars.c.obj
[57/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_init.c.obj
[58/156] Generating linker_zephyr_pre0.cmd
[59/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_ioctl.c.obj
[60/156] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[61/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_read.c.obj
[62/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_write.c.obj
[63/156] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[64/156] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[65/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/swap.S.obj
[66/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/reset.S.obj
[67/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/cpu_idle.c.obj
[68/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/thread.c.obj
[69/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/irq_manage.c.obj
[70/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/exception.S.obj
[71/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/crt0.S.obj
[72/156] Linking C static library zephyr/arch/common/libisr_tables.a
[73/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/prep_c.c.obj
[74/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/cache.c.obj
[75/156] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[76/156] Linking C static library zephyr/libzephyr.a
[77/156] Linking C static library zephyr/arch/common/libarch__common.a
[78/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[79/156] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[80/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[81/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/fatal.c.obj
[82/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[83/156] Linking C static library zephyr/lib/posix/liblib__posix.a
[84/156] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[85/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[86/156] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[87/156] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[88/156] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[89/156] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[90/156] Linking C static library zephyr/arch/arch/nios2/core/libarch__nios2__core.a
[91/156] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[92/156] Linking C static library zephyr/drivers/console/libdrivers__console.a
[93/156] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[94/156] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/bin/nios2-zephyr-elf-gcc -DALTERA_AVALON_JTAG_UART_SMALL -DKERNEL -DPICOLIBC_INTEGER_PRINTF_SCANF -DZEPHYR_RTOS -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/nios2/nios2-qemu -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/soc/nios2/nios2-qemu/include -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -I/__w/bridle/bridle/workspace/modules/hal/altera/include -I/__w/bridle/bridle/workspace/modules/hal/altera/altera_hal/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/LWHAL/inc -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/nios2-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -mgpopt=global -mhw-mul -mhw-mulx -mhw-div --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:48: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:44: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:42: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[95/156] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[96/156] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[97/156] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[98/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[99/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[100/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[101/156] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[102/156] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[103/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
ninja: build stopped: subcommand failed.
github-actions / twister-report (samples)
debug.bridle.samples.helloshell.debug
Build failure
Raw output
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_nios2
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/nios2/qemu_nios2/qemu_nios2.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/nios2/qemu_nios2/qemu_nios2_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_nios2.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/bin/../lib/gcc/nios2-zephyr-elf/12.2.0/../../../../nios2-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.16.3/nios2-zephyr-elf/bin/nios2-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug
[1/156] Preparing syscall dependency handling
[2/156] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/156] Generating misc/generated/syscalls_subdirs.trigger
[4/156] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/156] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/156] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/156] Generating include/generated/driver-validation.h
[8/156] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/156] Building C object zephyr/CMakeFiles/offsets.dir/arch/nios2/core/offsets/offsets.c.obj
[10/156] Generating include/generated/offsets.h
[11/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[12/156] Building C object CMakeFiles/app.dir/src/main.c.obj
[13/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[14/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[16/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[17/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[19/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[20/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[22/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[23/156] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[24/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[25/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[26/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[27/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[28/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[29/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/156] Linking C static library app/libapp.a
[31/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[32/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[33/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[34/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[35/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[36/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[38/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[39/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[40/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[41/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[42/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[43/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[44/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[45/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[46/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[47/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_sc.c.obj
[48/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[49/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[50/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[51/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_fd.c.obj
[52/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_ts.c.obj
[53/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[55/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/altera_hal/HAL/src/altera_common.c.obj
[56/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_vars.c.obj
[57/156] Generating linker_zephyr_pre0.cmd
[58/156] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[59/156] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[60/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_init.c.obj
[61/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_read.c.obj
[62/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_write.c.obj
[63/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_ioctl.c.obj
[64/156] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[65/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/cpu_idle.c.obj
[66/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/swap.S.obj
[67/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/thread.c.obj
[68/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/reset.S.obj
[69/156] Linking C static library zephyr/arch/common/libisr_tables.a
[70/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/crt0.S.obj
[71/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/exception.S.obj
[72/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/cache.c.obj
[73/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/fatal.c.obj
[74/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/irq_manage.c.obj
[75/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/prep_c.c.obj
[76/156] Linking C static library zephyr/arch/common/libarch__common.a
[77/156] Linking C static library zephyr/libzephyr.a
[78/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[79/156] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[80/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[81/156] Linking C static library zephyr/arch/arch/nios2/core/libarch__nios2__core.a
[82/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/156] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[84/156] Linking C static library zephyr/lib/posix/liblib__posix.a
[85/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[86/156] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[87/156] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[88/156] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[89/156] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[90/156] Linking C static library zephyr/drivers/console/libdrivers__console.a
[91/156] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[92/156] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[93/156] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[94/156] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[95/156] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[96/156] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[97/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[98/156] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[99/156] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/bin/nios2-zephyr-elf-gcc -DALTERA_AVALON_JTAG_UART_SMALL -DKERNEL -DPICOLIBC_INTEGER_PRINTF_SCANF -DZEPHYR_RTOS -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/nios2/nios2-qemu -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/soc/nios2/nios2-qemu/include -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -I/__w/bridle/bridle/workspace/modules/hal/altera/include -I/__w/bridle/bridle/workspace/modules/hal/altera/altera_hal/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/inc -I/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/LWHAL/inc -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_nios2/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/nios2-zephyr-elf/nios2-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -mgpopt=global -mhw-mul -mhw-mulx -mhw-div --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:48: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:44: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:42: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[100/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[101/156] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[102/156] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[103/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[104/156] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_altera_jtag.c.obj
[105/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[106/156] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/altera_avalon_timer_hal.c.obj
[107/156] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[108/156] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_kvm_arm64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm64/qemu_kvm_arm64/qemu_kvm_arm64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/arm64/qemu_kvm_arm64/qemu_kvm_arm64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_kvm_arm64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_kvm_arm64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm64/qemu_kvm_arm64/qemu_kvm_arm64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.2.0/../../../../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.16.3/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands
[1/162] Preparing syscall dependency handling
[2/162] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/162] Generating misc/generated/syscalls_subdirs.trigger
[4/162] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/162] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/162] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/162] Generating include/generated/driver-validation.h
[8/162] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/162] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm64/core/offsets/offsets.c.obj
[10/162] Generating include/generated/offsets.h
[11/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/162] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[16/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[20/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[22/162] Linking C static library app/libapp.a
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[29/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm64/qemu_virt_arm64/mmu_regions.c.obj
[31/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[35/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[38/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[39/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[40/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[48/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[49/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[50/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[51/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[52/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[53/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/cpu_idle.S.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[55/162] Generating linker_zephyr_pre0.cmd
[56/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[57/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[58/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reset.S.obj
[59/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/switch.S.obj
[60/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[61/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/irq_init.c.obj
[62/162] Linking C static library zephyr/arch/common/libisr_tables.a
[63/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/vector_table.S.obj
[64/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/irq_manage.c.obj
[65/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fpu.S.obj
[66/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reset.c.obj
[67/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/prep_c.c.obj
[68/162] Linking C static library zephyr/libzephyr.a
[69/162] Linking C static library zephyr/arch/common/libarch__common.a
[70/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/thread.c.obj
[71/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fpu.c.obj
[72/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/mmu.S.obj
[73/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/isr_wrapper.S.obj
[74/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/smccc-call.S.obj
[75/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/header.S.obj
[76/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fatal.c.obj
[77/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/tls.c.obj
[78/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[79/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[80/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[81/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[82/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[83/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[84/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[85/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[86/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[87/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gicv3.c.obj
[88/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[89/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[90/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/mmu.c.obj
[91/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[92/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[93/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[94/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[95/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[96/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[97/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[98/162] Linking C static library zephyr/arch/arch/arm64/core/libarch__arm64__core.a
[99/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[100/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[101/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[102/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[103/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[104/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[105/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[106/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[107/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[108/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[109/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[110/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[111/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[112/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_pl011.c.obj
[113/162] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[114/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[115/162] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[116/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[117/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[118/162] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/arm64/qemu_virt_arm64 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mabi=lp64 --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/aarch64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -moverride=tune=no_ldp_stp_qregs --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[119/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/arm_arch_timer.c.obj
[120/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[121/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[122/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[123/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[124/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[125/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[126/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[127/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in sayhello
github-actions / twister-report (samples)
sayhello.bridle.samples.helloshell.sayhello
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_kvm_arm64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm64/qemu_kvm_arm64/qemu_kvm_arm64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/arm64/qemu_kvm_arm64/qemu_kvm_arm64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_kvm_arm64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_kvm_arm64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm64/qemu_kvm_arm64/qemu_kvm_arm64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.2.0/../../../../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.16.3/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello
[1/162] Preparing syscall dependency handling
[2/162] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/162] Generating misc/generated/syscalls_subdirs.trigger
[4/162] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/162] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/162] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/162] Generating include/generated/driver-validation.h
[8/162] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/162] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm64/core/offsets/offsets.c.obj
[10/162] Generating include/generated/offsets.h
[11/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/162] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[15/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.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/posix/getopt/getopt.c.obj
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/162] Linking C static library app/libapp.a
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm64/qemu_virt_arm64/mmu_regions.c.obj
[29/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[31/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[35/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[38/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[39/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[48/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[49/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[50/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[51/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[52/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[53/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/162] Linking C static library zephyr/arch/common/libisr_tables.a
[55/162] Generating linker_zephyr_pre0.cmd
[56/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/cpu_idle.S.obj
[57/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[58/162] Linking C static library zephyr/arch/common/libarch__common.a
[59/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[60/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[61/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/irq_init.c.obj
[62/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reset.S.obj
[63/162] Linking C static library zephyr/libzephyr.a
[64/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/switch.S.obj
[65/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fpu.S.obj
[66/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/irq_manage.c.obj
[67/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/vector_table.S.obj
[68/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/prep_c.c.obj
[69/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reset.c.obj
[70/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/mmu.S.obj
[71/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/isr_wrapper.S.obj
[72/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/thread.c.obj
[73/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fpu.c.obj
[74/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/smccc-call.S.obj
[75/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/header.S.obj
[76/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[77/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fatal.c.obj
[78/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[79/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/tls.c.obj
[80/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[81/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[82/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[84/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[85/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[86/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[87/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/mmu.c.obj
[88/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gicv3.c.obj
[89/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[90/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[91/162] Linking C static library zephyr/arch/arch/arm64/core/libarch__arm64__core.a
[92/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[93/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[94/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[96/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[97/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[98/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[99/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[100/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[101/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[102/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[103/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[104/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[105/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[106/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[107/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[108/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[109/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[110/162] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[111/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[112/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[113/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[114/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[115/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[116/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/arm_arch_timer.c.obj
[117/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_pl011.c.obj
[118/162] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[119/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[120/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[121/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[122/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[123/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[124/162] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[125/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[126/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[127/162] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/arm64/qemu_virt_arm64 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mabi=lp64 --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/aarch64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -moverride=tune=no_ldp_stp_qregs --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[128/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[129/162] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[130/162] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[131/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[132/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[133/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[134/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[135/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[136/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
ninja: build stopped: subcommand failed.
github-actions / twister-report (samples)
debug.bridle.samples.helloshell.debug
Build failure
Raw output
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_kvm_arm64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm64/qemu_kvm_arm64/qemu_kvm_arm64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/arm64/qemu_kvm_arm64/qemu_kvm_arm64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_kvm_arm64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.2.0/../../../../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.16.3/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug
[1/162] Preparing syscall dependency handling
[2/162] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/162] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/162] Generating misc/generated/syscalls_subdirs.trigger
[5/162] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/162] Generating include/generated/driver-validation.h
[7/162] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[8/162] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/162] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm64/core/offsets/offsets.c.obj
[10/162] Generating include/generated/offsets.h
[11/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[13/162] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[15/162] Linking C static library app/libapp.a
[16/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.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/posix/getopt/getopt_common.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[22/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[25/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[29/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm64/qemu_virt_arm64/mmu_regions.c.obj
[31/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[34/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[35/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[38/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[39/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[45/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[48/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[49/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[50/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[51/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[52/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[53/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[55/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/cpu_idle.S.obj
[56/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[57/162] Generating linker_zephyr_pre0.cmd
[58/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reset.S.obj
[59/162] Linking C static library zephyr/arch/common/libisr_tables.a
[60/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/irq_init.c.obj
[61/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[62/162] Linking C static library zephyr/arch/common/libarch__common.a
[63/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/switch.S.obj
[64/162] Linking C static library zephyr/libzephyr.a
[65/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/irq_manage.c.obj
[66/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fpu.S.obj
[67/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/vector_table.S.obj
[68/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/prep_c.c.obj
[69/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/thread.c.obj
[70/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/reset.c.obj
[71/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/mmu.S.obj
[72/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/isr_wrapper.S.obj
[73/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fpu.c.obj
[74/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/smccc-call.S.obj
[75/162] Building ASM object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/header.S.obj
[76/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[77/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/tls.c.obj
[78/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/fatal.c.obj
[79/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[80/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[81/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[82/162] Building C object zephyr/arch/arch/arm64/core/CMakeFiles/arch__arm64__core.dir/mmu.c.obj
[83/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[84/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[85/162] Linking C static library zephyr/arch/arch/arm64/core/libarch__arm64__core.a
[86/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[87/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[88/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[89/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[90/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gicv3.c.obj
[91/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[92/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[93/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[94/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[96/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[97/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[98/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[99/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[100/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[101/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[102/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[103/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[104/162] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/arm64/qemu_virt_arm64 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_kvm_arm64/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mabi=lp64 --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/aarch64-zephyr-elf/aarch64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -moverride=tune=no_ldp_stp_qregs --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[105/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[106/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[107/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[108/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[109/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[110/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[111/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_pl011.c.obj
[112/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[113/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta_be
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_be.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_be_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_malta_be.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta_be
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_be.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/../lib/gcc/mips-zephyr-elf/12.2.0/../../../../mips-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.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands
[1/152] Preparing syscall dependency handling
[2/152] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/152] Generating misc/generated/syscalls_subdirs.trigger
[4/152] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/152] Generating include/generated/driver-validation.h
[9/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/mips/core/offsets/offsets.c.obj
[10/152] Generating include/generated/offsets.h
[11/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[15/152] Linking C static library app/libapp.a
[16/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/152] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[29/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[40/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[42/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[43/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[44/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[45/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[46/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[47/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[48/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[49/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[50/152] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[51/152] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[52/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[53/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[54/152] Generating linker_zephyr_pre0.cmd
[55/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[56/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[57/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/reset.S.obj
[58/152] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[59/152] Linking C static library zephyr/arch/common/libisr_tables.a
[60/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/isr.S.obj
[61/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/cpu_idle.c.obj
[62/152] Linking C static library zephyr/arch/common/libarch__common.a
[63/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[64/152] Linking C static library zephyr/libzephyr.a
[65/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/fatal.c.obj
[66/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/irq_manage.c.obj
[67/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/prep_c.c.obj
[68/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/thread.c.obj
[69/152] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[70/152] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[71/152] Linking C static library zephyr/arch/arch/mips/core/libarch__mips__core.a
[72/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[73/152] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[74/152] Linking C static library zephyr/lib/posix/liblib__posix.a
[75/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[76/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[77/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[78/152] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[79/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[80/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[81/152] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[82/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[83/152] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[84/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[85/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[86/152] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[87/152] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[88/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[89/152] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[90/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[91/152] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[92/152] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/mips/qemu_malta -I/__w/bridle/bridle/workspace/zephyr/arch/mips/include -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -EB -msoft-float -G0 -mno-gpopt -fno-pic -pipe --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/mips-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -mips32 -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[93/152] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[94/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[95/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[96/152] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[97/152] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[98/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[99/152] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[100/152] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[101/152] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in sayhello
github-actions / twister-report (samples)
sayhello.bridle.samples.helloshell.sayhello
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta_be
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_be.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_be_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_malta_be.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta_be
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_be.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/../lib/gcc/mips-zephyr-elf/12.2.0/../../../../mips-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.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello
[1/152] Preparing syscall dependency handling
[2/152] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/152] Generating misc/generated/syscalls_subdirs.trigger
[4/152] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/152] Generating include/generated/driver-validation.h
[8/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/mips/core/offsets/offsets.c.obj
[10/152] Generating include/generated/offsets.h
[11/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/152] Linking C static library app/libapp.a
[16/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[19/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[22/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[25/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/152] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.obj
[29/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[40/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[41/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[42/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[43/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[44/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[46/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[47/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[48/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[49/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[50/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[51/152] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[52/152] Generating linker_zephyr_pre0.cmd
[53/152] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[54/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[55/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/isr.S.obj
[56/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[57/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[58/152] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[59/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/cpu_idle.c.obj
[60/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/reset.S.obj
[61/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[62/152] Linking C static library zephyr/arch/common/libisr_tables.a
[63/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/fatal.c.obj
[64/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/irq_manage.c.obj
[65/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/prep_c.c.obj
[66/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/thread.c.obj
[67/152] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[68/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[69/152] Linking C static library zephyr/arch/common/libarch__common.a
[70/152] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[71/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[72/152] Linking C static library zephyr/libzephyr.a
[73/152] Linking C static library zephyr/arch/arch/mips/core/libarch__mips__core.a
[74/152] Linking C static library zephyr/lib/posix/liblib__posix.a
[75/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[76/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[77/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[78/152] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[79/152] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[80/152] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[81/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[82/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[83/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[84/152] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[85/152] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[86/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[87/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[88/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[89/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[90/152] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[91/152] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/mips/qemu_malta -I/__w/bridle/bridle/workspace/zephyr/arch/mips/include -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -EB -msoft-float -G0 -mno-gpopt -fno-pic -pipe --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/mips-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -mips32 -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[92/152] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[93/152] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[94/152] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[95/152] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[96/152] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[97/152] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[98/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[99/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[100/152] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
ninja: build stopped: subcommand failed.
github-actions / twister-report (samples)
debug.bridle.samples.helloshell.debug
Build failure
Raw output
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta_be
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_be.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_be_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_malta_be.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/../lib/gcc/mips-zephyr-elf/12.2.0/../../../../mips-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.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug
[1/152] Preparing syscall dependency handling
[2/152] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/152] Generating misc/generated/syscalls_subdirs.trigger
[4/152] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/152] Generating include/generated/driver-validation.h
[8/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/mips/core/offsets/offsets.c.obj
[10/152] Generating include/generated/offsets.h
[11/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[16/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[17/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[19/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[25/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[29/152] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.obj
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[31/152] Linking C static library app/libapp.a
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[40/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[41/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[42/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[43/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[44/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[45/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[46/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[47/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[48/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[49/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[50/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[51/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[52/152] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[53/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[54/152] Generating linker_zephyr_pre0.cmd
[55/152] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[56/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[57/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/isr.S.obj
[58/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/reset.S.obj
[59/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/cpu_idle.c.obj
[60/152] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[61/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[62/152] Linking C static library zephyr/arch/common/libisr_tables.a
[63/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/fatal.c.obj
[64/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/irq_manage.c.obj
[65/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/prep_c.c.obj
[66/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/thread.c.obj
[67/152] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[68/152] Linking C static library zephyr/arch/common/libarch__common.a
[69/152] Linking C static library zephyr/libzephyr.a
[70/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[71/152] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[72/152] Linking C static library zephyr/arch/arch/mips/core/libarch__mips__core.a
[73/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[74/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[75/152] Linking C static library zephyr/lib/posix/liblib__posix.a
[76/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[77/152] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[78/152] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[79/152] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[80/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[81/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[82/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[83/152] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[84/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[85/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[86/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[87/152] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[88/152] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[89/152] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[90/152] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/mips/qemu_malta -I/__w/bridle/bridle/workspace/zephyr/arch/mips/include -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_malta_be/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -EB -msoft-float -G0 -mno-gpopt -fno-pic -pipe --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/mips-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -mips32 -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[91/152] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[92/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[93/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[94/152] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[95/152] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[96/152] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[97/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[98/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[99/152] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_cortex_r5
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_cortex_r5.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_cortex_r5
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../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.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands
[1/174] Preparing syscall dependency handling
[2/174] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/174] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/174] Generating misc/generated/syscalls_subdirs.trigger
[5/174] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/174] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/174] Generating include/generated/driver-validation.h
[8/174] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/174] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[10/174] Generating include/generated/offsets.h
[11/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[14/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[15/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[16/174] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/174] Linking C static library app/libapp.a
[21/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[23/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.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/lib/os/heap-validate.c.obj
[27/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[28/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[31/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynqmp/soc.c.obj
[32/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[33/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[35/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynqmp/arm_mpu_regions.c.obj
[36/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[37/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[38/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[39/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[40/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[41/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[42/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[43/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[44/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[45/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[46/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[47/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[48/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[49/174] Generating linker_zephyr_pre0.cmd
[50/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[51/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[52/174] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[53/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[54/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[55/174] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[56/174] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[57/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[58/174] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[59/174] Linking C static library zephyr/arch/common/libisr_tables.a
[60/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[61/174] Linking C static library zephyr/arch/common/libarch__common.a
[62/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[63/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[64/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc.S.obj
[65/174] Linking C static library zephyr/libzephyr.a
[66/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[67/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[68/174] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[69/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_init.c.obj
[70/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reset.S.obj
[71/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reboot.c.obj
[72/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[73/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/cpu_idle.S.obj
[74/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/vector_table.S.obj
[75/174] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[76/174] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[77/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/stacks.c.obj
[78/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/tcm.c.obj
[79/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/__aeabi_read_tp.S.obj
[80/174] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[81/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/isr_wrapper.S.obj
[82/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/fault.c.obj
[83/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_manage.c.obj
[84/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/prep_c.c.obj
[85/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap_helper.S.obj
[86/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/smp.c.obj
[87/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/thread.c.obj
[88/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc_exit.S.obj
[89/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap.c.obj
[90/174] Linking C static library zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a
[91/174] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[92/174] Linking C static library zephyr/lib/posix/liblib__posix.a
[93/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[94/174] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[95/174] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[96/174] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[97/174] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[98/174] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gic.c.obj
[99/174] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[100/174] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[101/174] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[102/174] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[103/174] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[104/174] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[105/174] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[106/174] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[107/174] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[108/174] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[109/174] Linking C static library zephyr/drivers/console/libdrivers__console.a
[110/174] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[111/174] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[112/174] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[113/174] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[114/174] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[115/174] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[116/174] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[117/174] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[118/174] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[119/174] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[120/174] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
[121/174] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[122/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[123/174] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[124/174] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[125/174] Linking C static library zephyr/drivers/led/libdrivers__led.a
[126/174] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[127/174] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[128/174] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[129/174] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_xlnx_ps.c.obj
[130/174] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[131/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[132/174] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/xlnx_psttc_timer.c.obj
[133/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[134/174] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[135/174] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[136/174] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[137/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[138/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[139/174] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[140/174] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[141/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[142/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[143/174] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[144/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[145/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[146/174] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[147/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[148/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[149/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[150/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[151/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[152/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[153/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[154/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[155/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[156/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[157/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[158/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[159/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[160/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[161/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[162/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[163/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[164/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
[165/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[166/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[167/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
[168/174] Linking C static library zephyr/kernel/libkernel.a
[169/174] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/zephyr_pre0.map
: && ccache /opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -fuse-ld=bfd -T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/libarch__arm__core.a zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a zephyr/lib/libc/picolibc/liblib__libc__picolibc.a zephyr/lib/libc/common/liblib__libc__common.a zephyr/lib/posix/liblib__posix.a zephyr/subsys/rtio/libsubsys__rtio.a zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a zephyr/drivers/adc/libdrivers__adc.a zephyr/drivers/console/libdrivers__console.a zephyr/drivers/counter/libdrivers__counter.a zephyr/drivers/dac/libdrivers__dac.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/hwinfo/libdrivers__hwinfo.a zephyr/drivers/i2c/libdrivers__i2c.a zephyr/drivers/led/libdrivers__led.a zephyr/drivers/pwm/libdrivers__pwm.a zephyr/drivers/regulator/libdrivers__regulator.a zephyr/drivers/sensor/libdrivers__sensor.a zephyr/drivers/serial/libdrivers__serial.a zephyr/drivers/timer/libdrivers__timer.a modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a -L"/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7+fp/hard" -L/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr -lgcc zephyr/arch/common/libisr_tables.a -Wl,--fatal-warnings -mcpu=cortex-r5 -mthumb -mabi=aapcs -mfpu=vfpv3-d16 -mfloat-abi=hard -mfp16-format=ieee -mtp=soft -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,-no-pie -DPICOLIBC_DOUBLE_PRINTF_SCANF --specs=picolibc.specs -lc -lgcc && cd /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.commands/zephyr && /usr/bin/cmake -E true
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj): in function `get_gpio_ctrl':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_21'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_22'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_23'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_24'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_25'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_26'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x0): undefined reference to `__device_dts_ord_21'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x18): undefined reference to `__device_dts_ord_22'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x30): undefined reference to `__device_dts_ord_23'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x48): undefined reference to `__device_dts_ord_24'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x60): undefined reference to `__device_dts_ord_25'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x78): undefined reference to `__device_dts_ord_26'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Check failure on line 1 in sayhello
github-actions / twister-report (samples)
sayhello.bridle.samples.helloshell.sayhello
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_cortex_r5
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_cortex_r5.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_cortex_r5
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../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.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello
[1/174] Preparing syscall dependency handling
[2/174] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/174] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/174] Generating misc/generated/syscalls_subdirs.trigger
[5/174] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/174] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/174] Generating include/generated/driver-validation.h
[8/174] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/174] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[10/174] Generating include/generated/offsets.h
[11/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/174] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.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] Linking C static library app/libapp.a
[18/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[19/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[22/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/174] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[26/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[29/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[30/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[31/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynqmp/soc.c.obj
[35/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[36/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynqmp/arm_mpu_regions.c.obj
[37/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[38/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[39/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[40/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[41/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[42/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[43/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[44/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[45/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[46/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[47/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[48/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[49/174] Generating linker_zephyr_pre0.cmd
[50/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[51/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[52/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[53/174] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[54/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[55/174] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[56/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[57/174] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[58/174] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[59/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[60/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[61/174] Linking C static library zephyr/arch/common/libisr_tables.a
[62/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[63/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc.S.obj
[64/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[65/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[66/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_init.c.obj
[67/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[68/174] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[69/174] Linking C static library zephyr/arch/common/libarch__common.a
[70/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reset.S.obj
[71/174] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[72/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/vector_table.S.obj
[73/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reboot.c.obj
[74/174] Linking C static library zephyr/libzephyr.a
[75/174] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[76/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/cpu_idle.S.obj
[77/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/fault.c.obj
[78/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/stacks.c.obj
[79/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/tcm.c.obj
[80/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/prep_c.c.obj
[81/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/isr_wrapper.S.obj
[82/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_manage.c.obj
[83/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/__aeabi_read_tp.S.obj
[84/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/thread.c.obj
[85/174] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[86/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc_exit.S.obj
[87/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap_helper.S.obj
[88/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/smp.c.obj
[89/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap.c.obj
[90/174] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[91/174] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[92/174] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[93/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[94/174] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gic.c.obj
[95/174] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[96/174] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[97/174] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[98/174] Linking C static library zephyr/lib/posix/liblib__posix.a
[99/174] Linking C static library zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a
[100/174] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[101/174] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[102/174] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[103/174] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[104/174] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[105/174] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[106/174] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[107/174] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[108/174] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[109/174] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[110/174] Linking C static library zephyr/drivers/console/libdrivers__console.a
[111/174] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[112/174] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[113/174] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[114/174] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[115/174] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[116/174] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[117/174] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[118/174] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[119/174] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[120/174] Linking C static library zephyr/drivers/led/libdrivers__led.a
[121/174] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[122/174] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[123/174] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
[124/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[125/174] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[126/174] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[127/174] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[128/174] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[129/174] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[130/174] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/xlnx_psttc_timer.c.obj
[131/174] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_xlnx_ps.c.obj
[132/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[133/174] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[134/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[135/174] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[136/174] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[137/174] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[138/174] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[139/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[140/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[141/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[142/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[143/174] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[144/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[145/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[146/174] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[147/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[148/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[149/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[150/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[151/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[152/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[153/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[154/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[155/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[156/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[157/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[158/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[159/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[160/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[161/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[162/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[163/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[164/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[165/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
[166/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[167/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
[168/174] Linking C static library zephyr/kernel/libkernel.a
[169/174] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/zephyr_pre0.map
: && ccache /opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -fuse-ld=bfd -T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/libarch__arm__core.a zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a zephyr/lib/libc/picolibc/liblib__libc__picolibc.a zephyr/lib/libc/common/liblib__libc__common.a zephyr/lib/posix/liblib__posix.a zephyr/subsys/rtio/libsubsys__rtio.a zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a zephyr/drivers/adc/libdrivers__adc.a zephyr/drivers/console/libdrivers__console.a zephyr/drivers/counter/libdrivers__counter.a zephyr/drivers/dac/libdrivers__dac.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/hwinfo/libdrivers__hwinfo.a zephyr/drivers/i2c/libdrivers__i2c.a zephyr/drivers/led/libdrivers__led.a zephyr/drivers/pwm/libdrivers__pwm.a zephyr/drivers/regulator/libdrivers__regulator.a zephyr/drivers/sensor/libdrivers__sensor.a zephyr/drivers/serial/libdrivers__serial.a zephyr/drivers/timer/libdrivers__timer.a modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a -L"/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7+fp/hard" -L/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr -lgcc zephyr/arch/common/libisr_tables.a -Wl,--fatal-warnings -mcpu=cortex-r5 -mthumb -mabi=aapcs -mfpu=vfpv3-d16 -mfloat-abi=hard -mfp16-format=ieee -mtp=soft -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,-no-pie -DPICOLIBC_DOUBLE_PRINTF_SCANF --specs=picolibc.specs -lc -lgcc && cd /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.sayhello/zephyr && /usr/bin/cmake -E true
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj): in function `get_gpio_ctrl':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_21'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_22'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_23'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_24'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_25'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_26'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x0): undefined reference to `__device_dts_ord_21'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x18): undefined reference to `__device_dts_ord_22'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x30): undefined reference to `__device_dts_ord_23'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x48): undefined reference to `__device_dts_ord_24'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x60): undefined reference to `__device_dts_ord_25'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x78): undefined reference to `__device_dts_ord_26'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
github-actions / twister-report (samples)
debug.bridle.samples.helloshell.debug
Build failure
Raw output
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_cortex_r5
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/arm/qemu_cortex_r5/qemu_cortex_r5_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_cortex_r5.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../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.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug
[1/174] Preparing syscall dependency handling
[2/174] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/174] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/174] Generating misc/generated/syscalls_subdirs.trigger
[5/174] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/174] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/174] Generating include/generated/driver-validation.h
[8/174] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/174] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[10/174] Generating include/generated/offsets.h
[11/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/174] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.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/cbprintf_packaged.c.obj
[17/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[18/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[19/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[21/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/174] Linking C static library app/libapp.a
[23/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[26/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[27/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[28/174] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[29/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[31/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[33/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[34/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynqmp/soc.c.obj
[35/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[36/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynqmp/arm_mpu_regions.c.obj
[37/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[38/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[39/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[40/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[41/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[42/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[43/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[44/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[45/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[46/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.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_history.c.obj
[49/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[50/174] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[51/174] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[52/174] Generating linker_zephyr_pre0.cmd
[53/174] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[54/174] Linking C static library zephyr/arch/common/libisr_tables.a
[55/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[56/174] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[57/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[58/174] Linking C static library zephyr/arch/common/libarch__common.a
[59/174] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[60/174] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[61/174] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[62/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc.S.obj
[63/174] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[64/174] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[65/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_init.c.obj
[66/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reset.S.obj
[67/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/fault.c.obj
[68/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reboot.c.obj
[69/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/vector_table.S.obj
[70/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/stacks.c.obj
[71/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/tcm.c.obj
[72/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_manage.c.obj
[73/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/prep_c.c.obj
[74/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/cpu_idle.S.obj
[75/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/thread.c.obj
[76/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/isr_wrapper.S.obj
[77/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/__aeabi_read_tp.S.obj
[78/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/smp.c.obj
[79/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap_helper.S.obj
[80/174] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc_exit.S.obj
[81/174] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap.c.obj
[82/174] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[83/174] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[84/174] Linking C static library zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a
[85/174] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[86/174] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[87/174] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[88/174] Linking C static library zephyr/lib/posix/liblib__posix.a
[89/174] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[90/174] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[91/174] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gic.c.obj
[92/174] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[93/174] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[94/174] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[95/174] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[96/174] Linking C static library zephyr/drivers/console/libdrivers__console.a
[97/174] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[98/174] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[99/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[100/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[101/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[102/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[103/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[104/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[105/174] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[106/174] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[107/174] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[108/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[109/174] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[110/174] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[111/174] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[112/174] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[113/174] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[114/174] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[115/174] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[116/174] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[117/174] Linking C static library zephyr/libzephyr.a
[118/174] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[119/174] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[120/174] Linking C static library zephyr/drivers/led/libdrivers__led.a
[121/174] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[122/174] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[123/174] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[124/174] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[125/174] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[126/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[127/174] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[128/174] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[129/174] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/xlnx_psttc_timer.c.obj
[130/174] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[131/174] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[132/174] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_xlnx_ps.c.obj
[133/174] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[134/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[135/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[136/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[137/174] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
[138/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[139/174] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[140/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[141/174] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[142/174] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[143/174] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[144/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[145/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[146/174] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[147/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[148/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[149/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[150/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[151/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[152/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[153/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[154/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[155/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[156/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[157/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[158/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[159/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[160/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[161/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[162/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[163/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[164/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[165/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
[166/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
[167/174] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[168/174] Linking C static library zephyr/kernel/libkernel.a
[169/174] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr/zephyr_pre0.map
: && ccache /opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -fuse-ld=bfd -T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/libarch__arm__core.a zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a zephyr/lib/libc/picolibc/liblib__libc__picolibc.a zephyr/lib/libc/common/liblib__libc__common.a zephyr/lib/posix/liblib__posix.a zephyr/subsys/rtio/libsubsys__rtio.a zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a zephyr/drivers/adc/libdrivers__adc.a zephyr/drivers/console/libdrivers__console.a zephyr/drivers/counter/libdrivers__counter.a zephyr/drivers/dac/libdrivers__dac.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/hwinfo/libdrivers__hwinfo.a zephyr/drivers/i2c/libdrivers__i2c.a zephyr/drivers/led/libdrivers__led.a zephyr/drivers/pwm/libdrivers__pwm.a zephyr/drivers/regulator/libdrivers__regulator.a zephyr/drivers/sensor/libdrivers__sensor.a zephyr/drivers/serial/libdrivers__serial.a zephyr/drivers/timer/libdrivers__timer.a modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a -L"/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7+fp/hard" -L/__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr -lgcc zephyr/arch/common/libisr_tables.a -Wl,--fatal-warnings -mcpu=cortex-r5 -mthumb -mabi=aapcs -mfpu=vfpv3-d16 -mfloat-abi=hard -mfp16-format=ieee -mtp=soft -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,-no-pie -DPICOLIBC_DOUBLE_PRINTF_SCANF --specs=picolibc.specs -lc -lgcc && cd /__w/bridle/bridle/workspace/twister-out/qemu_cortex_r5/bridle.samples.helloshell.debug/zephyr && /usr/bin/cmake -E true
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj): in function `get_gpio_ctrl':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_21'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_22'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_23'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_24'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_25'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:147: undefined reference to `__device_dts_ord_26'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x0): undefined reference to `__device_dts_ord_21'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x18): undefined reference to `__device_dts_ord_22'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x30): undefined reference to `__device_dts_ord_23'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x48): undefined reference to `__device_dts_ord_24'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x60): undefined reference to `__device_dts_ord_25'
/opt/toolchains/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/gpio/libdrivers__gpio.a(gpio_shell.c.obj):(.rodata.gpio_list+0x78): undefined reference to `__device_dts_ord_26'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_malta.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/../lib/gcc/mips-zephyr-elf/12.2.0/../../../../mips-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.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands
[1/152] Preparing syscall dependency handling
[2/152] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/152] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/152] Generating misc/generated/syscalls_subdirs.trigger
[5/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/152] Generating include/generated/driver-validation.h
[8/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/mips/core/offsets/offsets.c.obj
[10/152] Generating include/generated/offsets.h
[11/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[16/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[17/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[19/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/152] Linking C static library app/libapp.a
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[29/152] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.obj
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[41/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[42/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[43/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[44/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[45/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[46/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[47/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[48/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[49/152] Generating linker_zephyr_pre0.cmd
[50/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[51/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[52/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[53/152] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[54/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[55/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[56/152] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[57/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/reset.S.obj
[58/152] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[59/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/isr.S.obj
[60/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[61/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/cpu_idle.c.obj
[62/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/fatal.c.obj
[63/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/irq_manage.c.obj
[64/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/thread.c.obj
[65/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/prep_c.c.obj
[66/152] Linking C static library zephyr/arch/common/libisr_tables.a
[67/152] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[68/152] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[69/152] Linking C static library zephyr/libzephyr.a
[70/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[71/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[72/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[73/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[74/152] Linking C static library zephyr/arch/arch/mips/core/libarch__mips__core.a
[75/152] Linking C static library zephyr/arch/common/libarch__common.a
[76/152] Linking C static library zephyr/lib/posix/liblib__posix.a
[77/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[78/152] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[79/152] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[80/152] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[81/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[82/152] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[83/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[84/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[85/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[86/152] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[87/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[88/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[89/152] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[90/152] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/mips/qemu_malta -I/__w/bridle/bridle/workspace/zephyr/arch/mips/include -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -EL -msoft-float -G0 -mno-gpopt -fno-pic -pipe --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/mips-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -mips32 -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[91/152] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[92/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[93/152] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[94/152] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[95/152] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[96/152] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[97/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[98/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[99/152] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in sayhello
github-actions / twister-report (samples)
sayhello.bridle.samples.helloshell.sayhello
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_malta.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/../lib/gcc/mips-zephyr-elf/12.2.0/../../../../mips-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.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello
[1/152] Preparing syscall dependency handling
[2/152] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/152] Generating misc/generated/syscalls_subdirs.trigger
[4/152] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/152] Generating include/generated/driver-validation.h
[8/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/mips/core/offsets/offsets.c.obj
[10/152] Generating include/generated/offsets.h
[11/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[15/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/152] Linking C static library app/libapp.a
[17/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[19/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[22/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/152] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.obj
[25/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[29/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[40/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[41/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[42/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[43/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[45/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[46/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[47/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[48/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[49/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[50/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[51/152] Generating linker_zephyr_pre0.cmd
[52/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[53/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[54/152] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[55/152] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[56/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/isr.S.obj
[57/152] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[58/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[59/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/reset.S.obj
[60/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[61/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/cpu_idle.c.obj
[62/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/fatal.c.obj
[63/152] Linking C static library zephyr/arch/common/libisr_tables.a
[64/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/irq_manage.c.obj
[65/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/prep_c.c.obj
[66/152] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[67/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/thread.c.obj
[68/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[69/152] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[70/152] Linking C static library zephyr/arch/common/libarch__common.a
[71/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[72/152] Linking C static library zephyr/libzephyr.a
[73/152] Linking C static library zephyr/lib/posix/liblib__posix.a
[74/152] Linking C static library zephyr/arch/arch/mips/core/libarch__mips__core.a
[75/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[76/152] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[77/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[78/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[79/152] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[80/152] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[81/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[82/152] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[83/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[84/152] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[85/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[86/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[87/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[88/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[89/152] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[90/152] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/mips/qemu_malta -I/__w/bridle/bridle/workspace/zephyr/arch/mips/include -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -EL -msoft-float -G0 -mno-gpopt -fno-pic -pipe --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/mips-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -mips32 -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[91/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[92/152] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[93/152] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[94/152] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[95/152] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[96/152] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[97/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[98/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[99/152] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
ninja: build stopped: subcommand failed.
github-actions / twister-report (samples)
debug.bridle.samples.helloshell.debug
Build failure
Raw output
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_malta
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/mips/qemu_malta/qemu_malta_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_malta.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/../lib/gcc/mips-zephyr-elf/12.2.0/../../../../mips-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.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug
[1/152] Preparing syscall dependency handling
[2/152] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/152] Generating misc/generated/syscalls_subdirs.trigger
[4/152] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/152] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/152] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/152] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/152] Generating include/generated/driver-validation.h
[9/152] Building C object zephyr/CMakeFiles/offsets.dir/arch/mips/core/offsets/offsets.c.obj
[10/152] Generating include/generated/offsets.h
[11/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[14/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[16/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[19/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[21/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[23/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[25/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[29/152] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.obj
[30/152] Linking C static library app/libapp.a
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[41/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[42/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[43/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[44/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[45/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[46/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[47/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[48/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[49/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[50/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[51/152] Generating linker_zephyr_pre0.cmd
[52/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[53/152] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[54/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[55/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/isr.S.obj
[56/152] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[57/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[58/152] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[59/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/reset.S.obj
[60/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/cpu_idle.c.obj
[61/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[62/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/fatal.c.obj
[63/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/irq_manage.c.obj
[64/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/prep_c.c.obj
[65/152] Linking C static library zephyr/arch/common/libisr_tables.a
[66/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/thread.c.obj
[67/152] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[68/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[69/152] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[70/152] Linking C static library zephyr/arch/common/libarch__common.a
[71/152] Linking C static library zephyr/libzephyr.a
[72/152] Linking C static library zephyr/lib/posix/liblib__posix.a
[73/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[74/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[75/152] Linking C static library zephyr/arch/arch/mips/core/libarch__mips__core.a
[76/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[77/152] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[78/152] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[79/152] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[80/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[81/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[82/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[83/152] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[84/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[85/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[86/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[87/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[88/152] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[89/152] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/bin/mips-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/mips/qemu_malta -I/__w/bridle/bridle/workspace/zephyr/arch/mips/include -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_malta/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -EL -msoft-float -G0 -mno-gpopt -fno-pic -pipe --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/mips-zephyr-elf/mips-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/__w/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -mips32 -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[90/152] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[91/152] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[92/152] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[93/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[94/152] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[95/152] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[96/152] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[97/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[98/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_leon3
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/sparc/qemu_leon3/qemu_leon3.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/sparc/qemu_leon3/qemu_leon3_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_leon3.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_leon3
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/sparc/qemu_leon3/qemu_leon3.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/bin/../lib/gcc/sparc-zephyr-elf/12.2.0/../../../../sparc-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.16.3/sparc-zephyr-elf/bin/sparc-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands
[1/158] Preparing syscall dependency handling
[2/158] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/158] Generating misc/generated/syscalls_subdirs.trigger
[4/158] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/158] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/158] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/158] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/158] Generating include/generated/driver-validation.h
[9/158] Building C object zephyr/CMakeFiles/offsets.dir/arch/sparc/core/offsets/offsets.c.obj
[10/158] Generating include/generated/offsets.h
[11/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/158] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[19/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[20/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[23/158] Linking C static library app/libapp.a
[24/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[25/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/158] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[28/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[29/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[30/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[31/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/158] Building C object zephyr/CMakeFiles/zephyr.dir/soc/sparc/leon3/idle.c.obj
[33/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[35/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[36/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[39/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[41/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[42/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[43/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[46/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[47/158] Generating linker_zephyr_pre0.cmd
[48/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[49/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[50/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[51/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[52/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[53/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/158] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[55/158] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[56/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[57/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/reset_trap.S.obj
[58/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/switch.S.obj
[59/158] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/dynamic_isr.c.obj
[60/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/interrupt_trap.S.obj
[61/158] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[62/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/fault_trap.S.obj
[63/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/sw_trap_set_pil.S.obj
[64/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/window_trap.S.obj
[65/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/trap_table_mvt.S.obj
[66/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/prep_c.c.obj
[67/158] Linking C static library zephyr/arch/common/libisr_tables.a
[68/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/thread.c.obj
[69/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/fatal.c.obj
[70/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/irq_manage.c.obj
[71/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/tls.c.obj
[72/158] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[73/158] Linking C static library zephyr/libzephyr.a
[74/158] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[75/158] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[76/158] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[77/158] Linking C static library zephyr/arch/common/libarch__common.a
[78/158] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_irqmp.c.obj
[79/158] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[80/158] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[81/158] Linking C static library zephyr/lib/posix/liblib__posix.a
[82/158] Linking C static library zephyr/arch/arch/sparc/core/libarch__sparc__core.a
[83/158] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[84/158] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[85/158] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[86/158] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[87/158] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[88/158] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[89/158] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[90/158] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[91/158] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[92/158] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[93/158] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[94/158] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/158] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/bin/sparc-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/sparc/leon3 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -msoft-float -mcpu=leon3 --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/sparc-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[96/158] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[97/158] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[98/158] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[99/158] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[100/158] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[101/158] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[102/158] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[103/158] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[104/158] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in sayhello
github-actions / twister-report (samples)
sayhello.bridle.samples.helloshell.sayhello
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_leon3
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/sparc/qemu_leon3/qemu_leon3.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/sparc/qemu_leon3/qemu_leon3_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_leon3.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_leon3
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/sparc/qemu_leon3/qemu_leon3.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/bin/../lib/gcc/sparc-zephyr-elf/12.2.0/../../../../sparc-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.16.3/sparc-zephyr-elf/bin/sparc-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello
[1/158] Preparing syscall dependency handling
[2/158] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/158] Generating misc/generated/syscalls_subdirs.trigger
[4/158] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/158] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/158] Generating include/generated/driver-validation.h
[7/158] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[8/158] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/158] Building C object zephyr/CMakeFiles/offsets.dir/arch/sparc/core/offsets/offsets.c.obj
[10/158] Generating include/generated/offsets.h
[11/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/158] Building C object CMakeFiles/app.dir/src/main.c.obj
[13/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[14/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[15/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[16/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/158] Linking C static library app/libapp.a
[18/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[23/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[24/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[25/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[26/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[27/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[28/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[29/158] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[30/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[31/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[32/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[35/158] Building C object zephyr/CMakeFiles/zephyr.dir/soc/sparc/leon3/idle.c.obj
[36/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[38/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[39/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[40/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[41/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[42/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[43/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[46/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[47/158] Generating linker_zephyr_pre0.cmd
[48/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[49/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[50/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[51/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[52/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[53/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/158] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[55/158] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[56/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/reset_trap.S.obj
[57/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[58/158] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/dynamic_isr.c.obj
[59/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/switch.S.obj
[60/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/fault_trap.S.obj
[61/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/interrupt_trap.S.obj
[62/158] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[63/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/window_trap.S.obj
[64/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/sw_trap_set_pil.S.obj
[65/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/prep_c.c.obj
[66/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/trap_table_mvt.S.obj
[67/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/thread.c.obj
[68/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/irq_manage.c.obj
[69/158] Linking C static library zephyr/arch/common/libisr_tables.a
[70/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/fatal.c.obj
[71/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/tls.c.obj
[72/158] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[73/158] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[74/158] Linking C static library zephyr/libzephyr.a
[75/158] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[76/158] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[77/158] Linking C static library zephyr/arch/common/libarch__common.a
[78/158] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_irqmp.c.obj
[79/158] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[80/158] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[81/158] Linking C static library zephyr/lib/posix/liblib__posix.a
[82/158] Linking C static library zephyr/arch/arch/sparc/core/libarch__sparc__core.a
[83/158] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[84/158] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[85/158] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[86/158] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[87/158] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[88/158] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[89/158] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[90/158] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[91/158] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[92/158] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[93/158] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[94/158] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[95/158] Linking C static library zephyr/drivers/console/libdrivers__console.a
[96/158] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[97/158] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/bin/sparc-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/sparc/leon3 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -msoft-float -mcpu=leon3 --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/sparc-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[98/158] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[99/158] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[100/158] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[101/158] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[102/158] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[103/158] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[104/158] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[105/158] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[106/158] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
ninja: build stopped: subcommand failed.
github-actions / twister-report (samples)
debug.bridle.samples.helloshell.debug
Build failure
Raw output
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_leon3
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/sparc/qemu_leon3/qemu_leon3.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/sparc/qemu_leon3/qemu_leon3_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_leon3.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/bin/../lib/gcc/sparc-zephyr-elf/12.2.0/../../../../sparc-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.16.3/sparc-zephyr-elf/bin/sparc-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug
[1/158] Preparing syscall dependency handling
[2/158] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/158] Generating misc/generated/syscalls_subdirs.trigger
[4/158] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/158] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/158] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/158] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/158] Generating include/generated/driver-validation.h
[9/158] Building C object zephyr/CMakeFiles/offsets.dir/arch/sparc/core/offsets/offsets.c.obj
[10/158] Generating include/generated/offsets.h
[11/158] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[13/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[14/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[15/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[16/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[17/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[19/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/158] Linking C static library app/libapp.a
[21/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[23/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[25/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[26/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[27/158] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[31/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[32/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[33/158] Building C object zephyr/CMakeFiles/zephyr.dir/soc/sparc/leon3/idle.c.obj
[34/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[35/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[36/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[39/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[41/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[42/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[43/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[45/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[46/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[47/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[48/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[49/158] Generating linker_zephyr_pre0.cmd
[50/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[51/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[52/158] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[53/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[54/158] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[55/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/reset_trap.S.obj
[56/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[57/158] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[58/158] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[59/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/switch.S.obj
[60/158] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/dynamic_isr.c.obj
[61/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/interrupt_trap.S.obj
[62/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/fault_trap.S.obj
[63/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/window_trap.S.obj
[64/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/prep_c.c.obj
[65/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/sw_trap_set_pil.S.obj
[66/158] Building ASM object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/trap_table_mvt.S.obj
[67/158] Linking C static library zephyr/arch/common/libisr_tables.a
[68/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/thread.c.obj
[69/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/irq_manage.c.obj
[70/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/fatal.c.obj
[71/158] Linking C static library zephyr/libzephyr.a
[72/158] Building C object zephyr/arch/arch/sparc/core/CMakeFiles/arch__sparc__core.dir/tls.c.obj
[73/158] Linking C static library zephyr/arch/common/libarch__common.a
[74/158] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[75/158] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[76/158] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[77/158] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_irqmp.c.obj
[78/158] Linking C static library zephyr/lib/posix/liblib__posix.a
[79/158] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[80/158] Linking C static library zephyr/arch/arch/sparc/core/libarch__sparc__core.a
[81/158] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[82/158] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[83/158] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[84/158] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[85/158] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[86/158] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[87/158] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[88/158] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[89/158] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[90/158] Linking C static library zephyr/drivers/console/libdrivers__console.a
[91/158] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[92/158] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[93/158] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[94/158] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[95/158] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[96/158] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[97/158] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/bin/sparc-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/sparc/leon3 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_leon3/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -msoft-float -mcpu=leon3 --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/sparc-zephyr-elf/sparc-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[98/158] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[99/158] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[100/158] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[101/158] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[102/158] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[103/158] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[104/158] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[105/158] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[106/158] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_x86_64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_x86_64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_x86_64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/bin/../lib/gcc/x86_64-zephyr-elf/12.2.0/../../../../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.16.3/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc
CMake Warning at /__w/bridle/bridle/workspace/zephyr/subsys/random/CMakeLists.txt:12 (message):
Warning: CONFIG_TIMER_RANDOM_GENERATOR is not a truly random generator.
This capability is not secure and it is provided for testing purposes only.
Use it carefully.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands
[1/159] Preparing syscall dependency handling
[2/159] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/159] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/159] Generating misc/generated/syscalls_subdirs.trigger
[5/159] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/159] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/159] Generating include/generated/driver-validation.h
[8/159] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/159] Building C object zephyr/CMakeFiles/offsets.dir/arch/x86/core/offsets/offsets.c.obj
[10/159] Generating include/generated/offsets.h
[11/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/159] Building C object CMakeFiles/app.dir/src/main.c.obj
[13/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[14/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[15/159] Linking C static library app/libapp.a
[16/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[18/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[19/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[20/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[21/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[22/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/159] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[29/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[30/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[31/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[32/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[33/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[34/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[35/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[36/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[38/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[39/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[40/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[42/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[43/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[44/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[46/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[47/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[48/159] Generating linker_zephyr_pre0.cmd
[49/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[50/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[51/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[52/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[53/159] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[54/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[55/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[56/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[57/159] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/locore.S.obj
[58/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.c.obj
[59/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/spec_ctrl.c.obj
[60/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/early_serial.c.obj
[61/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/tls.c.obj
[62/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/cpu.c.obj
[63/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.c.obj
[64/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/thread.c.obj
[65/159] Linking C static library zephyr/libzephyr.a
[66/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/irq.c.obj
[67/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/fatal.c.obj
[68/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/tls.c.obj
[69/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.c.obj
[70/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[71/159] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[72/159] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[73/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[74/159] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_timer.c.obj
[75/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[76/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_ioapic.c.obj
[77/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[78/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[79/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[80/159] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[81/159] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[82/159] Linking C static library zephyr/lib/posix/liblib__posix.a
[83/159] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[84/159] Linking C static library zephyr/subsys/random/libsubsys__random.a
[85/159] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[86/159] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[87/159] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[88/159] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[89/159] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_cmos.c.obj
[90/159] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[91/159] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[92/159] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[93/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[94/159] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/159] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[96/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[97/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[98/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[99/159] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[100/159] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[101/159] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[102/159] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/x86/ia32 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -m64 -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -m64 -Wa,--divide --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/x86_64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4a --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:48: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:44: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:42: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[103/159] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[104/159] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[105/159] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[106/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[107/159] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[108/159] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[109/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[110/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[111/159] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in sayhello
github-actions / twister-report (samples)
sayhello.bridle.samples.helloshell.sayhello
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_x86_64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_x86_64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_x86_64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/bin/../lib/gcc/x86_64-zephyr-elf/12.2.0/../../../../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.16.3/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc
CMake Warning at /__w/bridle/bridle/workspace/zephyr/subsys/random/CMakeLists.txt:12 (message):
Warning: CONFIG_TIMER_RANDOM_GENERATOR is not a truly random generator.
This capability is not secure and it is provided for testing purposes only.
Use it carefully.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello
[1/159] Preparing syscall dependency handling
[2/159] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/159] Generating misc/generated/syscalls_subdirs.trigger
[4/159] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/159] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/159] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/159] Generating include/generated/driver-validation.h
[8/159] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/159] Building C object zephyr/CMakeFiles/offsets.dir/arch/x86/core/offsets/offsets.c.obj
[10/159] Generating include/generated/offsets.h
[11/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/159] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[15/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[16/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[18/159] Linking C static library app/libapp.a
[19/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[20/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[21/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/159] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[26/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[27/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[29/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[31/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[32/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[33/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[35/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[36/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[37/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[39/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[40/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[41/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[42/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[43/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[44/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/159] Generating linker_zephyr_pre0.cmd
[46/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[47/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[48/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[49/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[50/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[51/159] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[52/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[53/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[54/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[55/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[56/159] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/locore.S.obj
[57/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.c.obj
[58/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[59/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/spec_ctrl.c.obj
[60/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/early_serial.c.obj
[61/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/tls.c.obj
[62/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/cpu.c.obj
[63/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.c.obj
[64/159] Linking C static library zephyr/libzephyr.a
[65/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/thread.c.obj
[66/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/irq.c.obj
[67/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/fatal.c.obj
[68/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/tls.c.obj
[69/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[70/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.c.obj
[71/159] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[72/159] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[73/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[74/159] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_timer.c.obj
[75/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[76/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[77/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[78/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_ioapic.c.obj
[79/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[80/159] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[81/159] Linking C static library zephyr/lib/posix/liblib__posix.a
[82/159] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[83/159] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[84/159] Linking C static library zephyr/subsys/random/libsubsys__random.a
[85/159] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[86/159] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[87/159] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[88/159] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[89/159] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_cmos.c.obj
[90/159] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[91/159] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[92/159] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[93/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[94/159] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[96/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[97/159] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[98/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[99/159] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[100/159] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[101/159] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[102/159] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/x86/ia32 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -m64 -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -m64 -Wa,--divide --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/x86_64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4a --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:48: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:44: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:42: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[103/159] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[104/159] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[105/159] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[106/159] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[107/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[108/159] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[109/159] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[110/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[111/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
ninja: build stopped: subcommand failed.
github-actions / twister-report (samples)
debug.bridle.samples.helloshell.debug
Build failure
Raw output
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_x86_64
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_x86_64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/bin/../lib/gcc/x86_64-zephyr-elf/12.2.0/../../../../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.16.3/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc
CMake Warning at /__w/bridle/bridle/workspace/zephyr/subsys/random/CMakeLists.txt:12 (message):
Warning: CONFIG_TIMER_RANDOM_GENERATOR is not a truly random generator.
This capability is not secure and it is provided for testing purposes only.
Use it carefully.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug
[1/159] Preparing syscall dependency handling
[2/159] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/159] Generating misc/generated/syscalls_subdirs.trigger
[4/159] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/159] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/159] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/159] Generating include/generated/driver-validation.h
[8/159] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/159] Building C object zephyr/CMakeFiles/offsets.dir/arch/x86/core/offsets/offsets.c.obj
[10/159] Generating include/generated/offsets.h
[11/159] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[13/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[14/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[17/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[18/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[20/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[21/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[23/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[24/159] Linking C static library app/libapp.a
[25/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[27/159] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[30/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[31/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[33/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[34/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[35/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[36/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[38/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[39/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[42/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[43/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[45/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[46/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[47/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[48/159] Generating linker_zephyr_pre0.cmd
[49/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[50/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[51/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[52/159] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[53/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[54/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[55/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[56/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[57/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.c.obj
[58/159] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/locore.S.obj
[59/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/spec_ctrl.c.obj
[60/159] Linking C static library zephyr/libzephyr.a
[61/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/early_serial.c.obj
[62/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/tls.c.obj
[63/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/thread.c.obj
[64/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/cpu.c.obj
[65/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/tls.c.obj
[66/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/irq.c.obj
[67/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/fatal.c.obj
[68/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[69/159] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[70/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[71/159] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[72/159] Linking C static library zephyr/lib/posix/liblib__posix.a
[73/159] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[74/159] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[75/159] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_timer.c.obj
[76/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.c.obj
[77/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[78/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_ioapic.c.obj
[79/159] Linking C static library zephyr/subsys/random/libsubsys__random.a
[80/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[81/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[82/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[83/159] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[84/159] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[85/159] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[86/159] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[87/159] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_cmos.c.obj
[88/159] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[89/159] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[90/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.c.obj
[91/159] Linking C static library zephyr/drivers/console/libdrivers__console.a
[92/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[93/159] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[94/159] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[95/159] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[96/159] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[97/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[98/159] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[99/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[100/159] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[101/159] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[102/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[103/159] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[104/159] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[105/159] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[106/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[107/159] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[108/159] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[109/159] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[110/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[111/159] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[112/159] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[113/159] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/hpet.c.obj
[114/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[115/159] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[116/159] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[117/159] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[118/159] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/x86/ia32 -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -m64 -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_x86_64/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -m64 -Wa,--divide --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/x86_64-zephyr-elf/x86_64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4a --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:48: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:44: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:42: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ~~~~^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[119/159] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[120/159] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[121/159] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[122/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[123/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[124/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[125/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[126/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[127/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 1 in workspace/modules/hal/espressif/components/console/commands.c
github-actions / twister-report (samples)
commands.bridle.samples.helloshell.commands
Build failure
Raw output
Loading Zephyr module(s) (Zephyr base): extensions
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
Loading Zephyr module(s) (Zephyr base (cached)): zephyr_default:dts,kconfig
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Freestanding).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- ZEPHYR_TOOLCHAIN_VARIANT: zephyr
-- SDK_VERSION: 0.16.3
-- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.3
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_riscv32
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32/qemu_riscv32.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32/qemu_riscv32_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_riscv32.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/bridle/bridle/workspace/bridle/samples/helloshell
-- CMake version: 3.22.1
Loading Bridle default modules (Bridle repository).
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle)
-- Using Zephyr SDK 0.16.3 for building Bridle. (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /github/home/.cache/zephyr
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: qemu_riscv32
-- Found host-tools: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/toolchains/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/toolchains/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv32/qemu_riscv32.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../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.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TC_RUNID
-- Build files have been written to: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands
[1/162] Preparing syscall dependency handling
[2/162] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/162] Generating misc/generated/syscalls_subdirs.trigger
[4/162] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/162] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/162] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/162] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/162] Generating include/generated/driver-validation.h
[9/162] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[10/162] Generating include/generated/offsets.h
[11/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/162] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[16/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/162] Linking C static library app/libapp.a
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.obj
[30/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[31/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[35/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_common_irq.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[38/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/virt/soc.c.obj
[40/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[45/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[48/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[49/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[50/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[51/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[52/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[53/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[55/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[56/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[57/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[58/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.c.obj
[59/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[60/162] Generating linker_zephyr_pre0.cmd
[61/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[62/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[63/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[64/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[65/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[66/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[67/162] Linking C static library zephyr/libzephyr.a
[68/162] Linking C static library zephyr/arch/common/libisr_tables.a
[69/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[70/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[71/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[72/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[73/162] Linking C static library zephyr/arch/common/libarch__common.a
[74/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[75/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[76/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[77/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[78/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[79/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[80/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[81/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[82/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[83/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[84/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[85/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[86/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[87/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[88/162] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[89/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[90/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[91/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[92/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[93/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[94/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[95/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[96/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[97/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[98/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[99/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[100/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[101/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[102/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[103/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[104/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[105/162] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[106/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[107/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[108/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[109/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[110/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[111/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[112/162] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[113/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[114/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[115/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[116/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[117/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[118/162] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[119/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[120/162] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
ccache /opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_DOUBLE_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/__w/bridle/bridle/workspace/zephyr/include -I/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/riscv/riscv-privileged/virt -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/soc/riscv/riscv-privileged/common/. -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mabi=ilp32 -march=rv32imac_zicsr_zifencei --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/riscv64-zephyr-elf/riscv64-zephyr-elf -imacros /__w/bridle/bridle/workspace/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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/bridle/bridle/workspace/bridle/samples/helloshell=CMAKE_SOURCE_DIR -fmacro-prefix-map=/__w/bridle/bridle/workspace/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/__w/bridle/bridle/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj -c /__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:44:13: error: 'port_pin_get' defined but not used [-Werror=unused-function]
44 | static void port_pin_get(gpio_port_pins_t reserved_mask, const char **line_names,
| ^~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_conf':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:325:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
325 | ret = gpio_pin_configure(gpio.dev, gpio.pin, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:226:24: note: 'gpio' declared here
226 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_get':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:346:17: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
346 | value = gpio_pin_get(gpio.dev, gpio.pin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:336:24: note: 'gpio' declared here
336 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c: In function 'cmd_gpio_set':
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.dev' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:375:15: error: 'gpio.pin' may be used uninitialized [-Werror=maybe-uninitialized]
375 | ret = gpio_pin_set(gpio.dev, gpio.pin, value != 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/bridle/bridle/workspace/zephyr/drivers/gpio/gpio_shell.c:359:24: note: 'gpio' declared here
359 | struct sh_gpio gpio;
| ^~~~
cc1: all warnings being treated as errors
[121/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[122/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[123/162] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[124/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[125/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[126/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[127/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[128/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[129/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
ninja: build stopped: subcommand failed.