Build Information
Failed to build modbus2mqtt with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1aaea49 Update README.md
Cloned https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Revision (git rev-parse @):
1aaea49e1418d9d09440662168b28176718d4d88
SUCCESS checkout https://github.com/jollyjinx/modbus-2-mqtt-bridge.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/nicklockwood/SwiftFormat
[1/38425] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (26.03s)
Fetching https://github.com/jollyjinx/SwiftLibModbus
Fetching https://github.com/jollyjinx/JLog
Fetching https://github.com/sroebert/mqtt-nio.git
Fetching https://github.com/apple/swift-argument-parser
[1/1652] Fetching mqtt-nio
[216/2115] Fetching mqtt-nio, swiftlibmodbus
[2116/2189] Fetching mqtt-nio, swiftlibmodbus, jlog
Fetched https://github.com/sroebert/mqtt-nio.git from cache (0.26s)
[470/12216] Fetching swiftlibmodbus, jlog, swift-argument-parser
Fetched https://github.com/jollyjinx/JLog from cache (0.77s)
Fetched https://github.com/jollyjinx/SwiftLibModbus from cache (0.77s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.77s)
Computing version for https://github.com/jollyjinx/SwiftLibModbus
Computed https://github.com/jollyjinx/SwiftLibModbus at 2.0.2 (0.50s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.5 (0.52s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
[1/165] Fetching swift-log-format-and-pipe
[166/3526] Fetching swift-log-format-and-pipe, swift-log
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (0.36s)
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
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 (0.53s)
Computing version for https://github.com/sroebert/mqtt-nio.git
Computed https://github.com/sroebert/mqtt-nio.git at 2.8.1 (0.55s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
[1/2105] Fetching swift-nio-transport-services
[2106/14373] Fetching swift-nio-transport-services, swift-nio-ssl
[7995/79979] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (5.09s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.10s)
Fetched https://github.com/apple/swift-nio.git from cache (5.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.85s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.26.0 (0.76s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.21.0 (0.57s)
Fetching https://github.com/apple/swift-atomics.git
[1/1563] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.65.0 (0.75s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/3518] Fetching swift-system
[1233/17533] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.31s)
Fetched https://github.com/apple/swift-collections.git from cache (1.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (1.58s)
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.21.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at main (4bf4751)
Creating working copy for https://github.com/jollyjinx/SwiftLibModbus
Working copy of https://github.com/jollyjinx/SwiftLibModbus resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.65.0
Creating working copy for https://github.com/sroebert/mqtt-nio.git
Working copy of https://github.com/sroebert/mqtt-nio.git resolved at 2.8.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.5
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.26.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
warning: 'swift-nio': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/PrivacyInfo.xcprivacy
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
[2/514] Compiling c-nioatomics.c
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
[2/514] Compiling print.c
[2/514] Compiling a_dup.c
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
[2/514] Compiling a_gentm.c
[2/514] Compiling pbkdf.c
[2/514] Compiling sign.c
clang: error: unknown argument: '-index-store-path'
[2/514] Compiling a_d2i_fp.c
[2/514] Compiling scrypt.c
BUILD FAILURE 6.0 linux