Build Information
Failed to build modbus2mqtt, reference 2.9.0 (287341), with Swift 6.4 for Linux on 30 Sep 2026 23:14:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Reference: 2.9.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jollyjinx/modbus-2-mqtt-bridge
* tag 2.9.0 -> FETCH_HEAD
HEAD is now at 287341d Correct NIBE S2125 register definitions and metadata
Cloned https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Revision (git rev-parse @):
287341deb79b5027ff533e4275cdc7e506bc743e
SUCCESS checkout https://github.com/jollyjinx/modbus-2-mqtt-bridge.git at 2.9.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/jollyjinx/mqtt-nio.git
[1/2859] Fetching mqtt-nio
Fetched https://github.com/jollyjinx/mqtt-nio.git (0.54s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/3835] Fetching swift-configuration
[768/6702] Fetching swift-configuration, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.52s)
Fetching https://github.com/apple/swift-log.git
[1/1939] Fetching swift-http-types
[1940/8632] Fetching swift-http-types, swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-http-types.git (0.63s)
Fetched https://github.com/apple/swift-configuration.git (0.64s)
[67/6693] Fetching swift-nio-extras
Fetching https://github.com/jollyjinx/SwiftLibModbus
Fetched https://github.com/apple/swift-nio-extras.git (0.76s)
Fetching https://github.com/apple/swift-argument-parser
[1/8213] Fetching swift-log
[823/8787] Fetching swift-log, swiftlibmodbus
Fetched https://github.com/jollyjinx/SwiftLibModbus (0.43s)
Fetching https://github.com/jollyjinx/JLog
[7474/8213] Fetching swift-log
[8214/94450] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git (0.62s)
[1725/86237] Fetching swift-nio
[6900/105247] Fetching swift-nio, swift-argument-parser
[9006/122110] Fetching swift-nio, swift-argument-parser, swift-nio-ssl
[25915/122224] Fetching swift-nio, swift-argument-parser, swift-nio-ssl, jlog
Fetched https://github.com/jollyjinx/JLog (0.41s)
[29160/122110] Fetching swift-nio, swift-argument-parser, swift-nio-ssl
Fetched https://github.com/apple/swift-argument-parser (1.14s)
[58021/103100] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.49s)
[79339/86237] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.74s)
Computing version for https://github.com/jollyjinx/SwiftLibModbus
Computed https://github.com/jollyjinx/SwiftLibModbus at 3.1.0 (4.98s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.9 (0.21s)
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
[1/190] Fetching swift-log-format-and-pipe
Fetched https://github.com/Adorkable/swift-log-format-and-pipe (0.41s)
Computing version for https://github.com/Adorkable/swift-log-format-and-pipe
Computed https://github.com/Adorkable/swift-log-format-and-pipe at 0.1.1 (1.67s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (1.21s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2849] Fetching swift-service-lifecycle
[2850/9884] Fetching swift-service-lifecycle, swift-system
[9885/37952] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/apple/swift-system (0.69s)
[3130/30917] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (1.79s)
Fetched https://github.com/apple/swift-collections (1.81s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (2.07s)
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.74s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.20s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.18s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6792] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.62s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.93s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.41s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.29s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.21s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.22s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.54s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1253] Fetching swift-http-structured-headers
[1254/13508] Fetching swift-http-structured-headers, swift-nio-http2
[1500/15494] Fetching swift-http-structured-headers, swift-nio-http2, swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.61s)
[4072/13508] Fetching swift-http-structured-headers, swift-nio-http2
[5176/21106] Fetching swift-http-structured-headers, swift-nio-http2, swift-certificates
[21107/27265] Fetching swift-http-structured-headers, swift-nio-http2, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-certificates.git (0.91s)
Fetched https://github.com/apple/swift-algorithms.git (1.14s)
Fetched https://github.com/apple/swift-http-structured-headers.git (1.14s)
Fetched https://github.com/apple/swift-nio-http2.git (1.14s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/6651] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.85s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.22s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.29s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.31s)
Fetching https://github.com/apple/swift-crypto.git
[1/18572] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (2.03s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.26s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/jollyjinx/mqtt-nio.git
Working copy of https://github.com/jollyjinx/mqtt-nio.git resolved at main (0d32051)
Creating working copy for https://github.com/jollyjinx/SwiftLibModbus
Working copy of https://github.com/jollyjinx/SwiftLibModbus resolved at 3.1.0
Creating working copy for https://github.com/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.9
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/Adorkable/swift-log-format-and-pipe
Working copy of https://github.com/Adorkable/swift-log-format-and-pipe resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1406]
[Planning 420 / 1406]
[Planning 1095 / 1406]
[Planning 1226 / 1406]
[Planning 1265 / 1406]
[Planning deferred tasks]
[Constructing 121 / 3420]
[Constructing 2448 / 3420]
[Starting]
[6 / 894] Atomics-product
[157 / 894] InternalCollectionsUtilities
[246 / 894]
[261 / 909] SwiftLibModbus
[266 / 943] SystemPackage
[267 / 943] _NIOBase64
[278 / 943] Atomics
[279 / 943] NIOConcurrencyHelpers
[281 / 943] NIOConcurrencyHelpers
[302 / 943] SystemPackage
[303 / 943] SystemPackage
[304 / 943] _NIODataStructures
[311 / 944] _NIOBase64
[312 / 944] _NIODataStructures
[314 / 944] SystemPackage-product
[320 / 945] _NIODataStructures
[320 / 945] SwiftLibModbus-product
[323 / 945] Logging
[324 / 945] Logging
[326 / 945] Logging
[327 / 945] Logging-product
[329 / 946] NIOConcurrencyHelpers
[332 / 947] NIOConcurrencyHelpers
[335 / 947] Atomics
[338 / 947] Atomics
[340 / 947] Atomics-product
[342 / 947] Atomics-product
[350 / 951] ArgumentParserToolInfo
[356 / 971] CNIOSHA1
[359 / 971] CNIOAtomics
[362 / 971] CModbus
[1m/host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-tcp.c:1025:20: [0m[0;1;31merror: [0m[1mcall to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
1025 | ret_size = strlcpy(ctx_tcp->ip, ip, dest_size);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-tcp.c:1025:20: [0m[0;1;36mnote: [0minclude the header <string.h> or explicitly provide a declaration for 'strlcpy'[0m
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-linux-x86_64/CModbus-t.build/Objects-normal/x86_64/modbus-tcp.o /host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-tcp.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-linux-x86_64/CModbus-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-linux-x86_64/CModbus-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-linux-x86_64/CModbus-t.build/Objects-normal/x86_64/modbus-tcp.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-linux-x86_64/CModbus-t.build/Objects-normal/x86_64/modbus-tcp.dia -c /host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-tcp.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-linux-x86_64/CModbus-t.build/Objects-normal/x86_64/modbus-tcp.o
error: Build failed
BUILD FAILURE 6.4 linux