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_riscv64
-- 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_riscv64/qemu_riscv64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv64/qemu_riscv64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_riscv64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/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_riscv64
-- 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_riscv64/qemu_riscv64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/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_riscv64/bridle.samples.helloshell.commands
[1/160] Preparing syscall dependency handling
[2/160] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/160] Generating misc/generated/syscalls_subdirs.trigger
[4/160] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/160] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/160] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/160] Generating include/generated/driver-validation.h
[8/160] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/160] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[10/160] Generating include/generated/offsets.h
[11/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/160] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[16/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[21/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/160] Linking C static library app/libapp.a
[23/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/160] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[27/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[28/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[29/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/160] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.obj
[31/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[33/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/160] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[35/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.c.obj
[36/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_common_irq.c.obj
[37/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[38/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/virt/soc.c.obj
[40/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[41/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[42/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[43/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[44/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[45/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[46/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[47/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[48/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[49/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[50/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[51/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[52/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[53/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[54/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[55/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[56/160] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[57/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[58/160] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.c.obj
[59/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[60/160] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[61/160] Generating linker_zephyr_pre0.cmd
[62/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[63/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[64/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[65/160] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[66/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[67/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[68/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[69/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[70/160] Linking C static library zephyr/arch/common/libisr_tables.a
[71/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[72/160] Linking C static library zephyr/libzephyr.a
[73/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[74/160] Linking C static library zephyr/arch/common/libarch__common.a
[75/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[76/160] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[77/160] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[78/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[79/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[80/160] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[81/160] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[82/160] Linking C static library zephyr/lib/posix/liblib__posix.a
[83/160] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[84/160] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[85/160] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[86/160] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[87/160] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[88/160] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[89/160] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[90/160] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[91/160] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[92/160] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[93/160] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[94/160] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[95/160] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[96/160] Linking C static library zephyr/drivers/console/libdrivers__console.a
[97/160] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[98/160] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[99/160] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[100/160] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[101/160] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[102/160] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[103/160] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[104/160] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[105/160] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[106/160] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[107/160] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[108/160] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[109/160] 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_riscv64/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_riscv64/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcmodel=medany -mabi=lp64 -march=rv64imac_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
[110/160] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[111/160] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[112/160] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[113/160] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[114/160] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[115/160] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[116/160] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[117/160] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[118/160] 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_riscv64
-- 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_riscv64/qemu_riscv64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv64/qemu_riscv64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_riscv64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/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_riscv64
-- 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_riscv64/qemu_riscv64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/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_riscv64/bridle.samples.helloshell.sayhello
[1/160] Preparing syscall dependency handling
[2/160] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/160] Generating misc/generated/syscalls_subdirs.trigger
[4/160] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/160] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/160] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/160] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/160] Generating include/generated/driver-validation.h
[9/160] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[10/160] Generating include/generated/offsets.h
[11/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/160] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[17/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[19/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[20/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[21/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/160] Linking C static library app/libapp.a
[23/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[26/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/160] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[29/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/160] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.obj
[31/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/160] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[35/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.c.obj
[36/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_common_irq.c.obj
[37/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[38/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[39/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/virt/soc.c.obj
[40/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[41/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[42/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[43/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[44/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[45/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[46/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[47/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[48/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[49/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[50/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[51/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[52/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[53/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[54/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[55/160] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[56/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[57/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[58/160] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.c.obj
[59/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[60/160] Generating linker_zephyr_pre0.cmd
[61/160] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[62/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[63/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[64/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[65/160] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[66/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[67/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[68/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[69/160] Linking C static library zephyr/arch/common/libisr_tables.a
[70/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[71/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[72/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[73/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[74/160] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[75/160] Linking C static library zephyr/libzephyr.a
[76/160] Linking C static library zephyr/arch/common/libarch__common.a
[77/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[78/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[79/160] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[80/160] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[81/160] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[82/160] Linking C static library zephyr/lib/posix/liblib__posix.a
[83/160] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[84/160] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[85/160] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[86/160] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[87/160] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[88/160] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[89/160] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[90/160] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[91/160] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[92/160] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[93/160] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[94/160] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[95/160] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[96/160] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[97/160] Linking C static library zephyr/drivers/console/libdrivers__console.a
[98/160] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[99/160] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[100/160] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[101/160] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[102/160] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[103/160] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[104/160] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[105/160] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[106/160] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[107/160] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[108/160] 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_riscv64/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_riscv64/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcmodel=medany -mabi=lp64 -march=rv64imac_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
[109/160] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[110/160] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[111/160] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[112/160] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[113/160] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[114/160] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[115/160] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[116/160] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[117/160] 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_riscv64
-- 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_riscv64/qemu_riscv64.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.debug/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/riscv/qemu_riscv64/qemu_riscv64_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_riscv64.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv64/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_riscv64/bridle.samples.helloshell.debug
[1/160] Preparing syscall dependency handling
[2/160] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/160] Generating misc/generated/syscalls_subdirs.trigger
[4/160] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/160] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/160] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/160] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/160] Generating include/generated/driver-validation.h
[9/160] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
[10/160] Generating include/generated/offsets.h
[11/160] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[13/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[14/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[16/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[17/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[18/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[19/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[21/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[22/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[23/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[24/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[25/160] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[26/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[27/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[29/160] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.obj
[30/160] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[31/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[33/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_common_irq.c.obj
[34/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.c.obj
[35/160] Linking C static library app/libapp.a
[36/160] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/virt/soc.c.obj
[37/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[38/160] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[39/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[40/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[41/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[42/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[43/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[44/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[45/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[46/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[47/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[48/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[49/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[50/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[51/160] Generating linker_zephyr_pre0.cmd
[52/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[53/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[54/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[55/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[56/160] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[57/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[58/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[59/160] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[60/160] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[61/160] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.c.obj
[62/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[63/160] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[64/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[65/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[66/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[67/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[68/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[69/160] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[70/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[71/160] Linking C static library zephyr/arch/common/libisr_tables.a
[72/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[73/160] Linking C static library zephyr/libzephyr.a
[74/160] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[75/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[76/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[77/160] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[78/160] Linking C static library zephyr/arch/common/libarch__common.a
[79/160] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[80/160] Linking C static library zephyr/lib/posix/liblib__posix.a
[81/160] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[82/160] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[83/160] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[84/160] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[85/160] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[86/160] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[87/160] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[88/160] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[89/160] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[90/160] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[91/160] Linking C static library zephyr/drivers/console/libdrivers__console.a
[92/160] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[93/160] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[94/160] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[95/160] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[96/160] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[97/160] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[98/160] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[99/160] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[100/160] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[101/160] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[102/160] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[103/160] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[104/160] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[105/160] 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_riscv64/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_riscv64/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcmodel=medany -mabi=lp64 -march=rv64imac_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
[106/160] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[107/160] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[108/160] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[109/160] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[110/160] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[111/160] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[112/160] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[113/160] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[114/160] 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_x86
-- 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.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86/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_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_x86.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86/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
-- 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.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_x86/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/bridle.samples.helloshell.commands
[1/171] Preparing syscall dependency handling
[2/171] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/171] Generating misc/generated/syscalls_subdirs.trigger
[4/171] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/171] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/171] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/171] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/171] Generating include/generated/driver-validation.h
[9/171] Building C object zephyr/CMakeFiles/offsets.dir/arch/x86/core/offsets/offsets.c.obj
[10/171] Generating include/generated/offsets.h
[11/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/171] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[17/171] Linking C static library app/libapp.a
[18/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[20/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[22/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[23/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/171] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[26/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[27/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[28/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[31/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[33/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[35/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[36/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[37/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[39/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[42/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[43/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[45/171] Generating linker_zephyr_pre0.cmd
[46/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[47/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[48/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[49/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[50/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[51/171] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[52/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[53/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[55/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[56/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.c.obj
[57/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[58/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/spec_ctrl.c.obj
[59/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/memmap.c.obj
[60/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/multiboot.c.obj
[61/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/early_serial.c.obj
[62/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/crt0.S.obj
[63/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/excstub.S.obj
[64/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/intstub.S.obj
[65/171] Linking C static library zephyr/libzephyr.a
[66/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/swap.S.obj
[67/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/tls.c.obj
[68/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.c.obj
[69/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/irq_manage.c.obj
[70/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.c.obj
[71/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/thread.c.obj
[72/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/tls.c.obj
[73/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/soft_float_stubs.c.obj
[74/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/fatal.c.obj
[75/171] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[76/171] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[77/171] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[78/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[79/171] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_timer.c.obj
[80/171] Linking C static library zephyr/lib/posix/liblib__posix.a
[81/171] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[82/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_ioapic.c.obj
[83/171] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[84/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[85/171] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[86/171] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[87/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[88/171] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[89/171] Linking C static library zephyr/subsys/random/libsubsys__random.a
[90/171] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[91/171] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[92/171] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[93/171] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[94/171] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[95/171] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_cmos.c.obj
[96/171] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[97/171] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[98/171] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[99/171] Linking C static library zephyr/drivers/console/libdrivers__console.a
[100/171] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[101/171] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[102/171] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[103/171] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[104/171] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[105/171] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[106/171] 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/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 -m32 -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.commands/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -m32 -msoft-float -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 -mpreferred-stack-boundary=2 -mno-mmx -mno-sse --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
[107/171] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[108/171] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[109/171] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[110/171] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[111/171] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[112/171] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[113/171] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[114/171] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[115/171] 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_x86
-- 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.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86/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_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_x86.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86/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
-- 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.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_x86/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/bridle.samples.helloshell.sayhello
[1/171] Preparing syscall dependency handling
[2/171] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/171] Generating misc/generated/syscalls_subdirs.trigger
[4/171] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/171] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/171] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/171] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/171] Generating include/generated/driver-validation.h
[9/171] Building C object zephyr/CMakeFiles/offsets.dir/arch/x86/core/offsets/offsets.c.obj
[10/171] Generating include/generated/offsets.h
[11/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/171] Building C object CMakeFiles/app.dir/src/main.c.obj
[13/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[14/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/171] Linking C static library app/libapp.a
[16/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[19/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[20/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[23/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/171] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[26/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[27/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[29/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[30/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[31/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[32/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[33/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[34/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[35/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[36/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[38/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[39/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[40/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[42/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[43/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[44/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[45/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[46/171] Generating linker_zephyr_pre0.cmd
[47/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[48/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[49/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[50/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[51/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[52/171] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[53/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[54/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[55/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[56/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.c.obj
[57/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[58/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/spec_ctrl.c.obj
[59/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/memmap.c.obj
[60/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/multiboot.c.obj
[61/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/early_serial.c.obj
[62/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/crt0.S.obj
[63/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/tls.c.obj
[64/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/excstub.S.obj
[65/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/intstub.S.obj
[66/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/swap.S.obj
[67/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.c.obj
[68/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.c.obj
[69/171] Linking C static library zephyr/libzephyr.a
[70/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/irq_manage.c.obj
[71/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/tls.c.obj
[72/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/thread.c.obj
[73/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/soft_float_stubs.c.obj
[74/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/fatal.c.obj
[75/171] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[76/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[77/171] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[78/171] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[79/171] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_timer.c.obj
[80/171] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[81/171] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[82/171] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[83/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_ioapic.c.obj
[84/171] Linking C static library zephyr/lib/posix/liblib__posix.a
[85/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[86/171] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[87/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[88/171] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[89/171] Linking C static library zephyr/subsys/random/libsubsys__random.a
[90/171] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[91/171] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[92/171] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[93/171] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[94/171] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_cmos.c.obj
[95/171] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[96/171] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[97/171] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[98/171] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[99/171] Linking C static library zephyr/drivers/console/libdrivers__console.a
[100/171] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[101/171] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[102/171] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[103/171] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[104/171] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[105/171] 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/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 -m32 -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -m32 -msoft-float -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 -mpreferred-stack-boundary=2 -mno-mmx -mno-sse --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
[106/171] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[107/171] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[108/171] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[109/171] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[110/171] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[111/171] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[112/171] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[113/171] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[114/171] 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_x86
-- 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.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_x86/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_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_x86.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_x86/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/bridle.samples.helloshell.debug
[1/171] Preparing syscall dependency handling
[2/171] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/171] Generating misc/generated/syscalls_subdirs.trigger
[4/171] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/171] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/171] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/171] Generating include/generated/driver-validation.h
[8/171] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/171] Building C object zephyr/CMakeFiles/offsets.dir/arch/x86/core/offsets/offsets.c.obj
[10/171] Generating include/generated/offsets.h
[11/171] Building C object CMakeFiles/app.dir/src/main.c.obj
[12/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[13/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[14/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[15/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[16/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[17/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[18/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[19/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[20/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[21/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[22/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[23/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[24/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[25/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[26/171] Linking C static library app/libapp.a
[27/171] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[29/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[30/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[31/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[32/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/171] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[35/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[36/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[38/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[39/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[40/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[41/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[42/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[43/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[44/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/171] Generating linker_zephyr_pre0.cmd
[46/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[47/171] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[48/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[49/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[50/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[51/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[52/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[53/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[55/171] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[56/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.c.obj
[57/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/spec_ctrl.c.obj
[58/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[59/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/memmap.c.obj
[60/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/multiboot.c.obj
[61/171] Linking C static library zephyr/libzephyr.a
[62/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/early_serial.c.obj
[63/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/excstub.S.obj
[64/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/crt0.S.obj
[65/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/swap.S.obj
[66/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/tls.c.obj
[67/171] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/intstub.S.obj
[68/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/irq_manage.c.obj
[69/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.c.obj
[70/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/tls.c.obj
[71/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/thread.c.obj
[72/171] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[73/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/soft_float_stubs.c.obj
[74/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/ia32/fatal.c.obj
[75/171] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[76/171] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[77/171] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[78/171] Linking C static library zephyr/lib/posix/liblib__posix.a
[79/171] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.c.obj
[80/171] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[81/171] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_timer.c.obj
[82/171] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[83/171] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[84/171] Linking C static library zephyr/subsys/random/libsubsys__random.a
[85/171] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[86/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_ioapic.c.obj
[87/171] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[88/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[89/171] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[90/171] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[91/171] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[92/171] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[93/171] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[94/171] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[95/171] Linking C static library zephyr/drivers/console/libdrivers__console.a
[96/171] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_cmos.c.obj
[97/171] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[98/171] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[99/171] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[100/171] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[101/171] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[102/171] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[103/171] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[104/171] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[105/171] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[106/171] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[107/171] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[108/171] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[109/171] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[110/171] Linking C static library zephyr/drivers/led/libdrivers__led.a
[111/171] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[112/171] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[113/171] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[114/171] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[115/171] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[116/171] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[117/171] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[118/171] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[119/171] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[120/171] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[121/171] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/hpet.c.obj
[122/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[123/171] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[124/171] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[125/171] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[126/171] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[127/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[128/171] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[129/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[130/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[131/171] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[132/171] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[133/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[134/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[135/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[136/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[137/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[138/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[139/171] 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/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 -m32 -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_x86/bridle.samples.helloshell.debug/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -m32 -msoft-float -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 -mpreferred-stack-boundary=2 -mno-mmx -mno-sse --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
[140/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[141/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[142/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[143/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[144/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[145/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[146/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[147/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[148/171] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.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/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/156] Generating include/generated/driver-validation.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/sem.c.obj
[15/156] Linking C static library app/libapp.a
[16/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.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.c.obj
[19/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.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/os/multi_heap.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/lib/os/cbprintf_packaged.c.obj
[24/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[25/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[26/156] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.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/heap.c.obj
[29/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[30/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[31/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.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_mgmt.c.obj
[35/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[36/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[37/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[39/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[40/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.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/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/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_sc.c.obj
[47/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/altera_hal/HAL/src/altera_common.c.obj
[48/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[49/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[50/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[51/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[52/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[53/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
[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/subsys/shell/shell.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_init.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_ioctl.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_read.c.obj
[61/156] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.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/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.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 ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/exception.S.obj
[70/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/irq_manage.c.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] Linking C static library zephyr/libzephyr.a
[76/156] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[77/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/fatal.c.obj
[78/156] Linking C static library zephyr/arch/common/libarch__common.a
[79/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[80/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[81/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[82/156] Linking C static library zephyr/lib/posix/liblib__posix.a
[83/156] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[84/156] Linking C static library zephyr/arch/arch/nios2/core/libarch__nios2__core.a
[85/156] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[86/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[87/156] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[88/156] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[89/156] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[90/156] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[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] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[94/156] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[95/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[96/156] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[97/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
[98/156] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[99/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[100/156] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[101/156] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[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_common.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/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 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/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/156] Generating include/generated/driver-validation.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 CMakeFiles/app.dir/src/main.c.obj
[12/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[13/156] Linking C static library app/libapp.a
[14/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[15/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[16/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[17/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[18/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[19/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[20/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[21/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.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/lib/os/multi_heap.c.obj
[24/156] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.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/heap-validate.c.obj
[27/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.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/ring_buffer.c.obj
[30/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[31/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.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_core.c.obj
[36/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[38/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.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/modules/kernel_service.c.obj
[41/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.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/shell_fprintf.c.obj
[44/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[45/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[46/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[47/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.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/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_sc.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_history.c.obj
[52/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[53/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.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] 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
[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_init.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_read.c.obj
[61/156] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.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 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 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] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/prep_c.c.obj
[73/156] Linking C static library zephyr/arch/common/libisr_tables.a
[74/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/cache.c.obj
[75/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/fatal.c.obj
[76/156] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[77/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[78/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[79/156] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[80/156] Linking C static library zephyr/libzephyr.a
[81/156] Linking C static library zephyr/arch/common/libarch__common.a
[82/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[83/156] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[84/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[85/156] Linking C static library zephyr/lib/posix/liblib__posix.a
[86/156] Linking C static library zephyr/arch/arch/nios2/core/libarch__nios2__core.a
[87/156] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[88/156] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[89/156] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[90/156] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[91/156] Linking C static library zephyr/drivers/console/libdrivers__console.a
[92/156] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[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] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[98/156] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[99/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[100/156] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[101/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.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 CMakeFiles/app.dir/src/main.c.obj
[12/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[13/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[14/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[15/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[16/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[17/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[18/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[19/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.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/os/rb.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/lib/os/bitarray.c.obj
[24/156] Linking C static library app/libapp.a
[25/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[26/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[27/156] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.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/subsys/logging/log_cache.c.obj
[30/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[31/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.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_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/modules/kernel_service.c.obj
[41/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.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/shell_fprintf.c.obj
[44/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.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.c.obj
[47/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.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/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_timer/HAL/src/altera_avalon_timer_sc.c.obj
[50/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
[51/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[52/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
[53/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
[54/156] Building C object zephyr/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/altera_hal/HAL/src/altera_common.c.obj
[55/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[56/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.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/CMakeFiles/zephyr.dir/__w/bridle/bridle/workspace/modules/hal/altera/drivers/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart_read.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_write.c.obj
[62/156] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.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 C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/thread.c.obj
[67/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/cpu_idle.c.obj
[68/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/reset.S.obj
[69/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/exception.S.obj
[70/156] Linking C static library zephyr/arch/common/libisr_tables.a
[71/156] Building ASM object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/crt0.S.obj
[72/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/prep_c.c.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/libzephyr.a
[76/156] Building C object zephyr/arch/arch/nios2/core/CMakeFiles/arch__nios2__core.dir/fatal.c.obj
[77/156] Linking C static library zephyr/arch/common/libarch__common.a
[78/156] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[79/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[80/156] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[81/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[82/156] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[83/156] Linking C static library zephyr/arch/arch/nios2/core/libarch__nios2__core.a
[84/156] Linking C static library zephyr/lib/posix/liblib__posix.a
[85/156] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[86/156] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[87/156] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[88/156] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[89/156] Linking C static library zephyr/drivers/console/libdrivers__console.a
[90/156] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[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/adc/libdrivers__adc.a
[93/156] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[94/156] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[95/156] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[96/156] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[97/156] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[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.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
[99/156] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_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/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[102/156] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_altera_jtag.c.obj
[103/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[104/156] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[105/156] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[106/156] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.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 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/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/sem.c.obj
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.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/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/lib/os/heap-validate.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/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 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 ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.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/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_output.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.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/logging/log_cmds.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/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[51/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.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.c.obj
[55/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[56/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.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.dir/subsys/shell/shell_ops.c.obj
[59/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[60/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[61/162] Generating linker_zephyr_pre0.cmd
[62/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.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 C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[66/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.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/prep_c.c.obj
[69/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[70/162] Linking C static library zephyr/arch/common/libisr_tables.a
[71/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[72/162] Linking C static library zephyr/libzephyr.a
[73/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[74/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/fatal.c.obj
[75/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[76/162] Linking C static library zephyr/arch/common/libarch__common.a
[77/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[78/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[79/162] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[80/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.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] 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_executor.c.obj
[85/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[86/162] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[87/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[88/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[89/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[90/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[91/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[92/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[93/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[94/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[96/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[97/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[98/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[99/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_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/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.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/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[106/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[107/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[108/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[109/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_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 modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[112/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[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] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[116/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[117/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[118/162] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[119/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[120/162] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[121/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[122/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[123/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[124/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[125/162] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[126/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[127/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[128/162] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[129/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[130/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[131/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[132/162] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[133/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
[134/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[135/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[136/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[137/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[138/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[139/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[140/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[141/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[142/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.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_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.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.sayhello/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.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/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_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.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/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_riscv32/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/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/thread_entry.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/lib/os/heap-validate.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/misc/generated/configs.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[29/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.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/mpsc_pbuf.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/soc/riscv/riscv-privileged/common/idle.c.obj
[35/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.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_msg.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.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_cmds.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.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/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/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[51/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[52/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[53/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.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_log_backend.c.obj
[56/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.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/multilevel_irq.c.obj
[59/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[60/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.obj
[61/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[62/162] Generating linker_zephyr_pre0.cmd
[63/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[64/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.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] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.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/prep_c.c.obj
[70/162] Linking C static library zephyr/arch/common/libisr_tables.a
[71/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[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] Linking C static library zephyr/arch/common/libarch__common.a
[76/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.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/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[79/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[80/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.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/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[83/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[84/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[85/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[86/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.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/common/liblib__libc__common.a
[89/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[90/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[91/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[92/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[93/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[94/162] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.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/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[98/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[99/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[100/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[101/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[102/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[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] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[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/i2c/libdrivers__i2c.a
[109/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[110/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[111/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[112/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[113/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[114/162] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[115/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[116/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.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_riscv32/bridle.samples.helloshell.sayhello/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
[117/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[118/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[119/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[120/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[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 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 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
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_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.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.debug/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.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_riscv32/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_riscv32/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 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/printk.c.obj
[16/162] Linking C static library app/libapp.a
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[19/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.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 ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[28/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[29/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.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/heap-validate.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.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/soc_common_irq.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/virt/soc.c.obj
[38/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.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_output.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.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/backends/shell_uart.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[48/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[49/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[50/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.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_help.c.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[55/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[56/162] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[57/162] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/multilevel_irq.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_wildcard.c.obj
[60/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[61/162] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[62/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/cpu_idle.c.obj
[63/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[64/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/isr.S.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] Linking C static library zephyr/arch/common/libarch__common.a
[68/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[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 ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[72/162] Linking C static library zephyr/libzephyr.a
[73/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.obj
[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/tls.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/pmp.c.obj
[80/162] Linking C static library zephyr/lib/posix/liblib__posix.a
[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/arch/arch/riscv/core/libarch__riscv__core.a
[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_executor.c.obj
[87/162] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[88/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[89/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[90/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[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] Linking C static library zephyr/drivers/console/libdrivers__console.a
[94/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.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_shell.c.obj
[97/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[98/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[99/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[100/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[101/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[102/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[103/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[104/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[105/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[106/162] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.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/i2c/libdrivers__i2c.a
[109/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[110/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[111/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[112/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[113/162] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.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 zephyr/drivers/regulator/libdrivers__regulator.a
[116/162] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[117/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[118/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[119/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[120/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[121/162] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[122/162] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[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/main_weak.c.obj
[126/162] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[127/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[128/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[129/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[130/162] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[131/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.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_riscv32/bridle.samples.helloshell.debug/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
[132/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[133/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.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/fatal.c.obj
[136/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[137/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[138/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[139/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[140/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.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] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[2/159] Preparing syscall dependency handling
[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] Linking C static library app/libapp.a
[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/hex.c.obj
[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/os/sem.c.obj
[19/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[20/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.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/cbprintf_packaged.c.obj
[24/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[25/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.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/misc/generated/configs.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/heap.c.obj
[30/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[31/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[32/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[33/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[34/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[35/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[36/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.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/logging/log_cmds.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/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] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[46/159] Generating linker_zephyr_pre0.cmd
[47/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[48/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[49/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[50/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[51/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[52/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.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_cmds.c.obj
[55/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.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/spec_ctrl.c.obj
[59/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.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] Linking C static library zephyr/libzephyr.a
[64/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/thread.c.obj
[65/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/irq.c.obj
[66/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.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/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[71/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.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] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[76/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[77/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_ioapic.c.obj
[78/159] Linking C static library zephyr/lib/posix/liblib__posix.a
[79/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[80/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[81/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[82/159] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.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] 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/dac/libdrivers__dac.a
[100/159] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[101/159] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[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] 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/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.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/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/posix/getopt/getopt_common.c.obj
[15/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/159] Linking C static library app/libapp.a
[17/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[19/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[20/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.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/multi_heap.c.obj
[23/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/159] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.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/bitarray.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/mem_blocks.c.obj
[31/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.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_core.c.obj
[36/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.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_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/devmem_service.c.obj
[41/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_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_pre0.dir/misc/empty_file.c.obj
[47/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[48/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[49/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[50/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[51/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[52/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[53/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[55/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[56/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.c.obj
[57/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/spec_ctrl.c.obj
[58/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[59/159] Building ASM object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/locore.S.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/intel64/irq.c.obj
[64/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.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/fatal.c.obj
[67/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/tls.c.obj
[68/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/thread.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/subsys/random/CMakeFiles/subsys__random.dir/rand32_timer.c.obj
[74/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.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/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[78/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[79/159] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[80/159] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[81/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[82/159] Linking C static library zephyr/lib/posix/liblib__posix.a
[83/159] Linking C static library zephyr/subsys/random/libsubsys__random.a
[84/159] Linking C static library zephyr/lib/libc/common/liblib__libc__common.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/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[97/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[98/159] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[99/159] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[100/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[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] 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/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.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/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_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/sem.c.obj
[13/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.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/dec.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/os/printk.c.obj
[18/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.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/cbprintf_packaged.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/multi_heap.c.obj
[23/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[24/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/159] Linking C static library app/libapp.a
[26/159] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[28/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.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/subsys/logging/log_cache.c.obj
[31/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[32/159] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.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/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/backends/shell_uart.c.obj
[45/159] Generating linker_zephyr_pre0.cmd
[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_history.c.obj
[48/159] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[49/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[50/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.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_wildcard.c.obj
[53/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuhalt.c.obj
[55/159] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[56/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/prep_c.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/spec_ctrl.c.obj
[59/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/cpuid.c.obj
[60/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/early_serial.c.obj
[61/159] Linking C static library zephyr/libzephyr.a
[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/cpu.c.obj
[64/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/fatal.c.obj
[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/tls.c.obj
[67/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[68/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/x86_mmu.c.obj
[69/159] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[70/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/intel64/irq.c.obj
[71/159] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[72/159] Linking C static library zephyr/lib/posix/liblib__posix.a
[73/159] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[74/159] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[75/159] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[76/159] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_timer.c.obj
[77/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[78/159] Building C object zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.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_ioapic.c.obj
[81/159] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[82/159] Linking C static library zephyr/arch/arch/x86/core/libarch__x86__core.a
[83/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_system_apic.c.obj
[84/159] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_loapic.c.obj
[85/159] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[86/159] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[87/159] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[88/159] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_cmos.c.obj
[89/159] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[90/159] Linking C static library zephyr/drivers/console/libdrivers__console.a
[91/159] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[92/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[93/159] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[94/159] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[95/159] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[96/159] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[97/159] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[98/159] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[99/159] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[100/159] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[101/159] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[102/159] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[103/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[104/159] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[105/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[106/159] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[107/159] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[108/159] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[109/159] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[110/159] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[111/159] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[112/159] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/hpet.c.obj
[113/159] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[114/159] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[115/159] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[116/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[117/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[118/159] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[119/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[120/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[121/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[122/159] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[123/159] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[124/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[125/159] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[126/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[127/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[128/159] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[129/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[130/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[131/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[132/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[133/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
[134/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[135/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[136/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[137/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[138/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[139/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[140/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[141/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[142/159] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.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_a9
-- 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_a9/qemu_cortex_a9.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/qemu_cortex_a9_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_cortex_a9.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9
-- 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_a9/qemu_cortex_a9.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/bridle.samples.helloshell.commands
[1/172] Preparing syscall dependency handling
[2/172] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/172] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/172] Generating misc/generated/syscalls_subdirs.trigger
[5/172] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/172] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/172] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[8/172] Generating include/generated/driver-validation.h
[9/172] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[10/172] Generating include/generated/offsets.h
[11/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[14/172] Building C object CMakeFiles/app.dir/src/main.c.obj
[15/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[16/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/172] Linking C static library app/libapp.a
[18/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[19/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[20/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[21/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[23/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[25/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[26/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[27/172] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[29/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[31/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[32/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[33/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[34/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[35/172] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynq7000/xc7zxxxs/soc.c.obj
[36/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[37/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[38/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[39/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[40/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[41/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[42/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[43/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[45/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[46/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[47/172] Generating linker_zephyr_pre0.cmd
[48/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[49/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[50/172] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[51/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[52/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[53/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[54/172] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[55/172] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[56/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[57/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[58/172] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[59/172] Linking C static library zephyr/arch/common/libisr_tables.a
[60/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[61/172] Linking C static library zephyr/arch/common/libarch__common.a
[62/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc.S.obj
[63/172] Linking C static library zephyr/libzephyr.a
[64/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[65/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reset.S.obj
[66/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reboot.c.obj
[67/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[68/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[69/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_init.c.obj
[70/172] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[71/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/cpu_idle.S.obj
[72/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/vector_table.S.obj
[73/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/__aeabi_read_tp.S.obj
[74/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/tcm.c.obj
[75/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/stacks.c.obj
[76/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/isr_wrapper.S.obj
[77/172] Building C object zephyr/arch/arch/arm/core/mmu/CMakeFiles/arch__arm__core__mmu.dir/arm_mmu.c.obj
[78/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/fault.c.obj
[79/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_manage.c.obj
[80/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/thread.c.obj
[81/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/prep_c.c.obj
[82/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/smp.c.obj
[83/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc_exit.S.obj
[84/172] Linking C static library zephyr/arch/arch/arm/core/mmu/libarch__arm__core__mmu.a
[85/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap_helper.S.obj
[86/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap.c.obj
[87/172] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[88/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[89/172] Linking C static library zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a
[90/172] Linking C static library zephyr/lib/posix/liblib__posix.a
[91/172] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[92/172] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[93/172] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[94/172] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gic.c.obj
[95/172] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[96/172] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[97/172] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[98/172] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[99/172] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[100/172] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[101/172] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[102/172] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[103/172] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[104/172] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[105/172] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[106/172] Linking C static library zephyr/drivers/console/libdrivers__console.a
[107/172] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[108/172] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[109/172] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[110/172] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[111/172] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[112/172] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[113/172] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[114/172] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[115/172] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[116/172] Linking C static library zephyr/drivers/led/libdrivers__led.a
[117/172] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[118/172] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[119/172] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[120/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[121/172] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[122/172] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[123/172] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[124/172] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[125/172] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[126/172] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/arm_arch_timer.c.obj
[127/172] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[128/172] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_xlnx_ps.c.obj
[129/172] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[130/172] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[131/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[132/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[133/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[134/172] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[135/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[136/172] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[137/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[138/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[139/172] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[140/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[141/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[142/172] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
[143/172] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[144/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[145/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[146/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[147/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[148/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[149/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[150/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[151/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[152/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[153/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[154/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[155/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[156/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[157/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[158/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[159/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[160/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[161/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[162/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
[163/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
[164/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[165/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mmu.c.obj
[166/172] Linking C static library zephyr/kernel/libkernel.a
[167/172] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/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/mmu/libarch__arm__core__mmu.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/nofp" -L/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.commands/zephyr -lgcc zephyr/arch/common/libisr_tables.a -Wl,--fatal-warnings -mcpu=cortex-a9 -mabi=aapcs -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_a9/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:142: undefined reference to `__device_dts_ord_19'
/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:142: undefined reference to `__device_dts_ord_20'
/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:142: 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:142: 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+0x0): undefined reference to `__device_dts_ord_19'
/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_20'
/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_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+0x48): undefined reference to `__device_dts_ord_22'
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_a9
-- 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_a9/qemu_cortex_a9.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/qemu_cortex_a9_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_cortex_a9.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9
-- 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_a9/qemu_cortex_a9.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/bridle.samples.helloshell.sayhello
[1/172] Preparing syscall dependency handling
[2/172] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/172] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[4/172] Generating misc/generated/syscalls_subdirs.trigger
[5/172] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/172] Generating include/generated/driver-validation.h
[7/172] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[8/172] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/172] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[10/172] Generating include/generated/offsets.h
[11/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/172] Building C object CMakeFiles/app.dir/src/main.c.obj
[14/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[16/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/172] Linking C static library app/libapp.a
[18/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[19/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[20/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[21/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[23/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[24/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[25/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[26/172] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[28/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[29/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[30/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[31/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[32/172] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynq7000/xc7zxxxs/soc.c.obj
[33/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[34/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[35/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[36/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[37/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[39/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[42/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[43/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[44/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[45/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[46/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[47/172] Generating linker_zephyr_pre0.cmd
[48/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[49/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[50/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[51/172] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[52/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[53/172] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[54/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[55/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[56/172] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[57/172] Linking C static library zephyr/arch/common/libisr_tables.a
[58/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[59/172] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[60/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[61/172] Linking C static library zephyr/arch/common/libarch__common.a
[62/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc.S.obj
[63/172] Linking C static library zephyr/libzephyr.a
[64/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[65/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reset.S.obj
[66/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_init.c.obj
[67/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[68/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reboot.c.obj
[69/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[70/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/vector_table.S.obj
[71/172] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[72/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/cpu_idle.S.obj
[73/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/stacks.c.obj
[74/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/tcm.c.obj
[75/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/__aeabi_read_tp.S.obj
[76/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_manage.c.obj
[77/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/prep_c.c.obj
[78/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/isr_wrapper.S.obj
[79/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/fault.c.obj
[80/172] Building C object zephyr/arch/arch/arm/core/mmu/CMakeFiles/arch__arm__core__mmu.dir/arm_mmu.c.obj
[81/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/thread.c.obj
[82/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap_helper.S.obj
[83/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/smp.c.obj
[84/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc_exit.S.obj
[85/172] Linking C static library zephyr/arch/arch/arm/core/mmu/libarch__arm__core__mmu.a
[86/172] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[87/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap.c.obj
[88/172] Linking C static library zephyr/lib/posix/liblib__posix.a
[89/172] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[90/172] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[91/172] Linking C static library zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a
[92/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[93/172] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gic.c.obj
[94/172] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[95/172] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[96/172] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[97/172] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[98/172] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[99/172] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[100/172] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[101/172] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[102/172] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[103/172] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[104/172] Linking C static library zephyr/drivers/console/libdrivers__console.a
[105/172] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[106/172] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[107/172] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[108/172] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[109/172] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[110/172] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[111/172] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[112/172] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[113/172] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[114/172] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[115/172] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[116/172] Linking C static library zephyr/drivers/led/libdrivers__led.a
[117/172] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[118/172] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[119/172] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[120/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[121/172] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[122/172] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[123/172] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[124/172] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[125/172] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[126/172] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/arm_arch_timer.c.obj
[127/172] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_xlnx_ps.c.obj
[128/172] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[129/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[130/172] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[131/172] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[132/172] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[133/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[134/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[135/172] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[136/172] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[137/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[138/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[139/172] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
[140/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[141/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[142/172] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[143/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[144/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[145/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[146/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[147/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[148/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[149/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[150/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[151/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[152/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[153/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[154/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[155/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[156/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[157/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[158/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[159/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[160/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[161/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[162/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
[163/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[164/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
[165/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mmu.c.obj
[166/172] Linking C static library zephyr/kernel/libkernel.a
[167/172] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/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/mmu/libarch__arm__core__mmu.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/nofp" -L/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.sayhello/zephyr -lgcc zephyr/arch/common/libisr_tables.a -Wl,--fatal-warnings -mcpu=cortex-a9 -mabi=aapcs -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_a9/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:142: undefined reference to `__device_dts_ord_19'
/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:142: undefined reference to `__device_dts_ord_20'
/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:142: 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:142: 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+0x0): undefined reference to `__device_dts_ord_19'
/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_20'
/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_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+0x48): undefined reference to `__device_dts_ord_22'
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_a9
-- 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_a9/qemu_cortex_a9.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/qemu_cortex_a9_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_cortex_a9.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.debug/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.debug/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/bridle.samples.helloshell.debug
[1/172] Preparing syscall dependency handling
[2/172] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[3/172] Generating misc/generated/syscalls_subdirs.trigger
[4/172] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[5/172] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[6/172] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/172] Generating include/generated/driver-validation.h
[8/172] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[9/172] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[10/172] Generating include/generated/offsets.h
[11/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[12/172] Building C object CMakeFiles/app.dir/src/main.c.obj
[13/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[14/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[15/172] Linking C static library app/libapp.a
[16/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[17/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[18/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[19/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[20/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[23/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[24/172] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[25/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[26/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[27/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[28/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[29/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[30/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[31/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[32/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/172] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/xilinx_zynq7000/xc7zxxxs/soc.c.obj
[34/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[35/172] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[36/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[37/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[38/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[39/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[40/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[41/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[42/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[43/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[44/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[45/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[46/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
[47/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[48/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[49/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[50/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[51/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[52/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[53/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[54/172] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[55/172] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[56/172] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[57/172] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[58/172] Generating linker_zephyr_pre0.cmd
[59/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc.S.obj
[60/172] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[61/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[62/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[63/172] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[64/172] Linking C static library zephyr/arch/common/libisr_tables.a
[65/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_init.c.obj
[66/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reset.S.obj
[67/172] Building C object zephyr/arch/arch/arm/core/mmu/CMakeFiles/arch__arm__core__mmu.dir/arm_mmu.c.obj
[68/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/reboot.c.obj
[69/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/vector_table.S.obj
[70/172] Linking C static library zephyr/libzephyr.a
[71/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/fault.c.obj
[72/172] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[73/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/stacks.c.obj
[74/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/tcm.c.obj
[75/172] Linking C static library zephyr/arch/common/libarch__common.a
[76/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/cpu_idle.S.obj
[77/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/irq_manage.c.obj
[78/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/__aeabi_read_tp.S.obj
[79/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/isr_wrapper.S.obj
[80/172] Linking C static library zephyr/arch/arch/arm/core/mmu/libarch__arm__core__mmu.a
[81/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap_helper.S.obj
[82/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/prep_c.c.obj
[83/172] Building ASM object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/exc_exit.S.obj
[84/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/thread.c.obj
[85/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/smp.c.obj
[86/172] Building C object zephyr/arch/arch/arm/core/cortex_a_r/CMakeFiles/arch__arm__core__cortex_a_r.dir/swap.c.obj
[87/172] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[88/172] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[89/172] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[90/172] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[91/172] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gic.c.obj
[92/172] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[93/172] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[94/172] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[95/172] Linking C static library zephyr/lib/posix/liblib__posix.a
[96/172] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[97/172] Linking C static library zephyr/arch/arch/arm/core/cortex_a_r/libarch__arm__core__cortex_a_r.a
[98/172] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[99/172] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[100/172] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[101/172] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[102/172] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[103/172] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[104/172] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[105/172] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[106/172] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[107/172] Linking C static library zephyr/drivers/console/libdrivers__console.a
[108/172] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[109/172] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[110/172] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[111/172] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[112/172] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_shell.c.obj
[113/172] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[114/172] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[115/172] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[116/172] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[117/172] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[118/172] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[119/172] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[120/172] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[121/172] Linking C static library zephyr/drivers/led/libdrivers__led.a
[122/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[123/172] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[124/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[125/172] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[126/172] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[127/172] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[128/172] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_xlnx_ps.c.obj
[129/172] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[130/172] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/arm_arch_timer.c.obj
[131/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[132/172] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[133/172] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/cmd_hello.c.obj
[134/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[135/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[136/172] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[137/172] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[138/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[139/172] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[140/172] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[141/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[142/172] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[143/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[144/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[145/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[146/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[147/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[148/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[149/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[150/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[151/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[152/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[153/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[154/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[155/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[156/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[157/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[158/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[159/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[160/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[161/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[162/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
[163/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[164/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
[165/172] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mmu.c.obj
[166/172] Linking C static library zephyr/kernel/libkernel.a
[167/172] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/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_a9/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/mmu/libarch__arm__core__mmu.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/nofp" -L/__w/bridle/bridle/workspace/twister-out/qemu_cortex_a9/bridle.samples.helloshell.debug/zephyr -lgcc zephyr/arch/common/libisr_tables.a -Wl,--fatal-warnings -mcpu=cortex-a9 -mabi=aapcs -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_a9/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:142: undefined reference to `__device_dts_ord_19'
/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:142: undefined reference to `__device_dts_ord_20'
/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:142: 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:142: 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+0x0): undefined reference to `__device_dts_ord_19'
/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_20'
/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_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+0x48): undefined reference to `__device_dts_ord_22'
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_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 ../../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/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] Linking C static library app/libapp.a
[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/hex.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/thread_entry.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/posix/getopt/getopt.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/rb.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 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 ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.obj
[28/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[29/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.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/subsys/tracing/tracing_none.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/lib/os/cbprintf_complete.c.obj
[36/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[37/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[38/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[39/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[40/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[41/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.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/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/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[47/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[48/152] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[49/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[50/152] Generating linker_zephyr_pre0.cmd
[51/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[52/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[53/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[54/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[55/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[56/152] Linking C static library zephyr/arch/common/libisr_tables.a
[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.c.obj
[59/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/reset.S.obj
[60/152] Linking C static library zephyr/arch/common/libarch__common.a
[61/152] Linking C static library zephyr/libzephyr.a
[62/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/cpu_idle.c.obj
[63/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/isr.S.obj
[64/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[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/thread.c.obj
[68/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/prep_c.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] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[72/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[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/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_init.c.obj
[78/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.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] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[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_weak_impl.c.obj
[85/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[86/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_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] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[90/152] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[91/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[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/dac/libdrivers__dac.a
[94/152] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[95/152] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[96/152] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[97/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[98/152] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[99/152] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[100/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[101/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_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/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 zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[14/152] Building C object CMakeFiles/app.dir/src/main.c.obj
[15/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.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/thread_entry.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/cbprintf_packaged.c.obj
[20/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.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/os/multi_heap.c.obj
[23/152] Linking C static library app/libapp.a
[24/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.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/heap-validate.c.obj
[27/152] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.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/assert.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/cbprintf_complete.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/lib/os/mem_blocks.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[35/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.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/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/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.c.obj
[46/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.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/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[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_help.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_cmds.c.obj
[54/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[55/152] Generating linker_zephyr_pre0.cmd
[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 ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[60/152] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.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/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] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[71/152] Linking C static library zephyr/arch/common/libarch__common.a
[72/152] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[73/152] Linking C static library zephyr/libzephyr.a
[74/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[75/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[76/152] Linking C static library zephyr/lib/posix/liblib__posix.a
[77/152] Linking C static library zephyr/arch/arch/mips/core/libarch__mips__core.a
[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/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[81/152] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[82/152] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[83/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[84/152] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_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/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
[87/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[88/152] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[89/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[90/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[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] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[95/152] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_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/sem.c.obj
[13/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.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/posix/getopt/getopt_common.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/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/posix/getopt/getopt.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/os/cbprintf_packaged.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/heap.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/lib/os/ring_buffer.c.obj
[27/152] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[28/152] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/mips/qemu_malta/vector.S.obj
[29/152] Linking C static library app/libapp.a
[30/152] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[31/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.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/lib/os/mem_blocks.c.obj
[34/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.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_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/backends/shell_uart.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/modules/devmem_service.c.obj
[46/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[47/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[48/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[49/152] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[50/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[51/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[52/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[53/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[54/152] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[55/152] Generating linker_zephyr_pre0.cmd
[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 ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/isr.S.obj
[59/152] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[60/152] Linking C static library zephyr/arch/common/libisr_tables.a
[61/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/cpu_idle.c.obj
[62/152] Building ASM object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/swap.S.obj
[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/prep_c.c.obj
[65/152] Building C object zephyr/arch/arch/mips/core/CMakeFiles/arch__mips__core.dir/irq_manage.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] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.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/libzephyr.a
[72/152] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[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/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] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[78/152] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[79/152] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[80/152] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[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/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[84/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[85/152] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[86/152] Linking C static library zephyr/drivers/console/libdrivers__console.a
[87/152] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[88/152] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[89/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[90/152] Linking C static library zephyr/drivers/counter/libdrivers__counter.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.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
[92/152] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[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/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[96/152] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.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
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_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/sem.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/thread_entry.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/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 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 C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.c.obj
[35/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/vector.S.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.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/soc/riscv/riscv-privileged/common/soc_common_irq.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_msg.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.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/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_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_log_backend.c.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.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_cmds.c.obj
[57/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[58/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.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_pre0.dir/misc/empty_file.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/prep_c.c.obj
[69/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[70/162] Linking C static library zephyr/arch/common/libisr_tables.a
[71/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[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] Linking C static library zephyr/arch/common/libarch__common.a
[76/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[77/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[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] Linking C static library zephyr/lib/posix/liblib__posix.a
[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/arch/arch/riscv/core/libarch__riscv__core.a
[85/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[86/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[87/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[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] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[91/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.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/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[96/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[97/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[98/162] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[99/162] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[100/162] Linking C static library zephyr/drivers/dac/libdrivers__dac.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_common.c.obj
[104/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.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/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[107/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[108/162] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[109/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[110/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[111/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[112/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.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 modules/bridle/lib/bridle/lib..__bridle__lib__bridle.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] 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
[119/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[120/162] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[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] 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
[125/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[126/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.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_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/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/sem.c.obj
[16/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[18/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/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/rb.c.obj
[21/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[22/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[23/162] Linking C static library app/libapp.a
[24/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.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/lib/os/assert.c.obj
[28/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.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/mem_blocks.c.obj
[31/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.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/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/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[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] Generating linker_zephyr_pre0.cmd
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[55/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[56/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.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/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/prep_c.c.obj
[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/fatal.c.obj
[71/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[72/162] Linking C static library zephyr/arch/common/libisr_tables.a
[73/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/thread.c.obj
[74/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.c.obj
[75/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[76/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[77/162] Linking C static library zephyr/libzephyr.a
[78/162] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[79/162] Linking C static library zephyr/arch/common/libarch__common.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/malloc.c.obj
[82/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.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/posix/liblib__posix.a
[85/162] Linking C static library zephyr/arch/arch/riscv/core/libarch__riscv__core.a
[86/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.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/picolibc/liblib__libc__picolibc.a
[89/162] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[90/162] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[91/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[92/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[93/162] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a
[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/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[97/162] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[98/162] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[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] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.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] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[105/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[106/162] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.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/i2c/libdrivers__i2c.a
[109/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
[110/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[111/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[112/162] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[113/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.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/timer/CMakeFiles/drivers__timer.dir/riscv_machine_timer.c.obj
[116/162] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[117/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[118/162] 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_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/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/os/printk.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/thread_entry.c.obj
[17/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[18/162] Linking C static library app/libapp.a
[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] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[23/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.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/lib/os/ring_buffer.c.obj
[26/162] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[27/162] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_irq.S.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/heap-validate.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/mem_blocks.c.obj
[32/162] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[33/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/idle.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/lib/os/cbprintf_complete.c.obj
[36/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[37/162] Building C object zephyr/CMakeFiles/zephyr.dir/soc/riscv/riscv-privileged/common/soc_common_irq.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_core.c.obj
[41/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[42/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[43/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[44/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[45/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[46/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[47/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_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_log_backend.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/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[54/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.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_help.c.obj
[57/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[58/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[59/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[60/162] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.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] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reset.S.obj
[66/162] Linking C static library zephyr/libzephyr.a
[67/162] Linking C static library zephyr/arch/common/libisr_tables.a
[68/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/switch.S.obj
[69/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/irq_manage.c.obj
[70/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/reboot.c.obj
[71/162] Building ASM object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/pmp.S.obj
[72/162] Building C object zephyr/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/prep_c.c.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/arch/arch/riscv/core/CMakeFiles/arch__riscv__core.dir/tls.c.obj
[77/162] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[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] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[87/162] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[88/162] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_plic.c.obj
[89/162] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[90/162] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[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] Linking C static library zephyr/drivers/console/libdrivers__console.a
[95/162] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_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] Linking C static library zephyr/drivers/dac/libdrivers__dac.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/counter/libdrivers__counter.a
[102/162] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[103/162] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[104/162] Linking C static library zephyr/drivers/led/libdrivers__led.a
[105/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[106/162] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[107/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[108/162] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[109/162] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[110/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[111/162] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.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 zephyr/drivers/pwm/libdrivers__pwm.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/serial/CMakeFiles/drivers__serial.dir/uart_ns16550.c.obj
[117/162] Linking C static library zephyr/drivers/regulator/libdrivers__regulator.a
[118/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[119/162] Linking C static library modules/bridle/lib/bridle/lib..__bridle__lib__bridle.a
[120/162] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
[121/162] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[122/162] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[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] Linking C static library zephyr/drivers/sensor/libdrivers__sensor.a
[126/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
[127/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[128/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[129/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[130/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[131/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[132/162] Linking C static library modules/bridle/subsys/shell/modules/lib..__bridle__subsys__shell__modules.a
[133/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[134/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[135/162] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
ninja: build stopped: subcommand failed.
Check failure on line 23 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_xtensa
-- 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/xtensa/qemu_xtensa/qemu_xtensa.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
/__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts:23.25-27.4: Warning (unit_address_format): /memory@00000000: unit name should not have leading 0s
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/zephyr/boards/xtensa/qemu_xtensa/qemu_xtensa_defconfig'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/prj.conf'
Merged configuration '/__w/bridle/bridle/workspace/bridle/samples/helloshell/boards/qemu_xtensa.conf'
Merged configuration '/__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/.config'
Kconfig header saved to '/__w/bridle/bridle/workspace/twister-out/qemu_xtensa/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_xtensa
-- 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/xtensa/qemu_xtensa/qemu_xtensa.dts
-- Generated zephyr.dts: /__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/dts.cmake
/__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/zephyr.dts:23.25-27.4: Warning (unit_address_format): /memory@00000000: unit name should not have leading 0s
Parsing /__w/bridle/bridle/workspace/zephyr/Kconfig
Loaded configuration '/__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to configuration in '/__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/.config'
No change to Kconfig header in '/__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/toolchains/zephyr-sdk-0.16.3/xtensa-dc233c_zephyr-elf/bin/../lib/gcc/xtensa-dc233c_zephyr-elf/12.2.0/../../../../xtensa-dc233c_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/xtensa-dc233c_zephyr-elf/bin/xtensa-dc233c_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_xtensa/bridle.samples.helloshell.sayhello
[1/178] Preparing syscall dependency handling
[2/178] Generating ../../../../include/generated/core-isa-dM.h
[3/178] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/__w/bridle/bridle/workspace/zephyr), build: 3d0a06451cde
[4/178] Generating ../../../../include/generated/zsr.h
[5/178] Generating ../../zephyr/include/generated/version_bridle.h
-- Bridle version: 3.5.99 (/__w/bridle/bridle/workspace/bridle), build: bridle-d745d961ffbf
[6/178] Generating misc/generated/syscalls_subdirs.trigger
[7/178] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[8/178] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[9/178] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[10/178] Generating include/generated/driver-validation.h
[11/178] Building C object zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj
[12/178] Generating include/generated/offsets.h
[13/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[14/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[15/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[16/178] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt_common.c.obj
[18/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[19/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[20/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[21/178] Linking C static library app/libapp.a
[22/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/posix/getopt/getopt.c.obj
[23/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[24/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[25/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[26/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[27/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[28/178] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[29/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[30/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[31/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[32/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mem_blocks.c.obj
[33/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
[34/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[35/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[36/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_xtensa_sim.c.obj
[37/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
[38/178] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[39/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[40/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[41/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[42/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[43/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
[44/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
[45/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
[46/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[47/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[48/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[49/178] Generating linker_zephyr_pre0.cmd
[50/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[51/178] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[52/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[53/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[54/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[55/178] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[56/178] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[57/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[58/178] Building ASM object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/window_vectors.S.obj
[59/178] Building ASM object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/xtensa-asm2-util.S.obj
[60/178] Linking C static library zephyr/arch/common/libisr_tables.a
[61/178] Building C object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/cpu_idle.c.obj
[62/178] Building ASM object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/crt1.S.obj
[63/178] Linking C static library zephyr/arch/common/libarch__common.a
[64/178] Building ASM object zephyr/arch/arch/xtensa/core/startup/CMakeFiles/arch__xtensa__core__startup.dir/memctl_default.S.obj
[65/178] Building ASM object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/debug_helpers_asm.S.obj
[66/178] Building ASM object zephyr/arch/arch/xtensa/core/startup/CMakeFiles/arch__xtensa__core__startup.dir/memerror-vector.S.obj
[67/178] Building C object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/irq_manage.c.obj
[68/178] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[69/178] Building C object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/xtensa_backtrace.c.obj
[70/178] Building ASM object zephyr/arch/arch/xtensa/core/startup/CMakeFiles/arch__xtensa__core__startup.dir/reset-vector.S.obj
[71/178] Building C object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/fatal.c.obj
[72/178] Linking ASM static library zephyr/arch/arch/xtensa/core/startup/libarch__xtensa__core__startup.a
[73/178] Linking C static library zephyr/libzephyr.a
[74/178] Building C object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/tls.c.obj
[75/178] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/fnmatch.c.obj
[76/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[77/178] Linking C static library zephyr/lib/posix/liblib__posix.a
[78/178] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[79/178] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[80/178] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/xtensa_sim_console.c.obj
[81/178] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[82/178] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[83/178] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_init.c.obj
[84/178] Linking C static library zephyr/drivers/console/libdrivers__console.a
[85/178] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[86/178] Building C object zephyr/subsys/rtio/CMakeFiles/subsys__rtio.dir/rtio_executor.c.obj
[87/178] Linking C static library zephyr/subsys/rtio/libsubsys__rtio.a
[88/178] Building C object zephyr/drivers/dac/CMakeFiles/drivers__dac.dir/dac_shell.c.obj
[89/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[90/178] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_timer_shell.c.obj
[91/178] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_shell.c.obj
[92/178] Linking C static library zephyr/drivers/dac/libdrivers__dac.a
[93/178] Linking C static library zephyr/drivers/counter/libdrivers__counter.a
[94/178] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[95/178] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_shell.c.obj
[96/178] Building C object zephyr/arch/arch/xtensa/core/CMakeFiles/arch__xtensa__core.dir/xtensa-asm2.c.obj
[97/178] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[98/178] Linking C static library zephyr/arch/arch/xtensa/core/libarch__xtensa__core.a
[99/178] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/led_shell.c.obj
[100/178] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_shell.c.obj
[101/178] Linking C static library zephyr/drivers/led/libdrivers__led.a
[102/178] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_common.c.obj
[103/178] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_shell.c.obj
[104/178] Building C object zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_common.c.obj
[105/178] Linking C static library zephyr/drivers/pwm/libdrivers__pwm.a
[106/178] 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/xtensa-dc233c_zephyr-elf/bin/xtensa-dc233c_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_xtensa/bridle.samples.helloshell.sayhello/zephyr/include/generated -I/__w/bridle/bridle/workspace/zephyr/soc/xtensa/dc233c -I/__w/bridle/bridle/workspace/zephyr/lib/posix/getopt/. -I/__w/bridle/bridle/workspace/zephyr/soc/xtensa/dc233c/include -I/__w/bridle/bridle/workspace/zephyr/subsys/rtio -I/__w/bridle/bridle/workspace/bridle/include -I/__w/bridle/bridle/workspace/bridle/lib/bridle/include -I/__w/bridle/bridle/workspace/modules/hal/xtensa/include -I/__w/bridle/bridle/workspace/modules/hal/xtensa/XTENSA_HAL -I/__w/bridle/bridle/workspace/modules/hal/xtensa/zephyr/soc/dc233c -isystem /__w/bridle/bridle/workspace/zephyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Werror -Os -imacros /__w/bridle/bridle/workspace/twister-out/qemu_xtensa/bridle.samples.helloshell.sayhello/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always --sysroot=/opt/toolchains/zephyr-sdk-0.16.3/xtensa-dc233c_zephyr-elf/xtensa-dc233c_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 -mlongcalls --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
[107/178] Linking C static library zephyr/drivers/i2c/libdrivers__i2c.a
[108/178] Building C object modules/bridle/lib/bridle/CMakeFiles/..__bridle__lib__bridle.dir/version.c.obj
[109/178] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_decoders_init.c.obj
[110/178] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/xtensa_sys_timer.c.obj
[111/178] Building C object zephyr/drivers/regulator/CMakeFiles/drivers__regulator.dir/regulator_shell.c.obj
[112/178] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[113/178] Building C object modules/bridle/subsys/shell/modules/CMakeFiles/..__bridle__subsys__shell__modules.dir/bridle_service.c.obj
[114/178] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/sensor_shell.c.obj
[115/178] Building C object zephyr/drivers/sensor/CMakeFiles/drivers__sensor.dir/default_rtio_sensor.c.obj
ninja: build stopped: subcommand failed.