Build Information
Failed to build sma2mqtt, reference main (94e55e
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 07:28:19 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jollyjinx/sma2mqtt.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jollyjinx/sma2mqtt
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 94e55e2 updated to swift 6 package, removed CNative module, moved sma2mqttLibrary Resources to single directory.
Cloned https://github.com/jollyjinx/sma2mqtt.git
Revision (git rev-parse @):
94e55e267d9ba3872c2f17ad158f51e5bccd6a13
SUCCESS checkout https://github.com/jollyjinx/sma2mqtt.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jollyjinx/sma2mqtt.git
https://github.com/jollyjinx/sma2mqtt.git
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.51.12",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.18.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "mqtt-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.8.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server-community/mqtt-nio"
},
{
"identity" : "binarycoder",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jollyjinx/BinaryCoder"
},
{
"identity" : "jlog",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jollyjinx/JLog"
}
],
"manifest_display_name" : "sma2mqtt",
"name" : "sma2mqtt",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "sma2mqtt",
"targets" : [
"sma2mqtt"
],
"type" : {
"executable" : null
}
},
{
"name" : "sma2mqttLibrary",
"targets" : [
"sma2mqttLibrary"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "sma2mqttTests",
"module_type" : "SwiftTarget",
"name" : "sma2mqttTests",
"path" : "Tests/sma2mqttTests",
"product_dependencies" : [
"BinaryCoder",
"JLog"
],
"sources" : [
"QueryQueueTests.swift",
"SMAObjectTests.swift",
"TestHelpers.swift",
"sma2mqttTests.swift"
],
"target_dependencies" : [
"sma2mqttLibrary"
],
"type" : "test"
},
{
"c99name" : "sma2mqttLibrary",
"module_type" : "SwiftTarget",
"name" : "sma2mqttLibrary",
"path" : "Sources/sma2mqttLibrary",
"product_dependencies" : [
"BinaryCoder",
"AsyncHTTPClient",
"MQTTNIO",
"JLog"
],
"product_memberships" : [
"sma2mqtt",
"sma2mqttLibrary"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/sma2mqttLibrary/Resources/SMANetPacketDefinitions.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/sma2mqttLibrary/Resources/obisdefinition.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/sma2mqttLibrary/Resources/sma.data.Translation_Names.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/sma2mqttLibrary/Resources/sma.data.objectMetaData.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DataObjects/GetValuesResult.swift",
"DataObjects/PublishedValue.swift",
"DataObjects/SMADataObject.swift",
"DataObjects/SMATagTranslator.swift",
"Obis/ObisDefinition.swift",
"Obis/ObisPacket.swift",
"Obis/ObisValue.swift",
"SMADevice.swift",
"SMALighthouse.swift",
"SMAPacket/PacketHelper.swift",
"SMAPacket/SMANetPacket.swift",
"SMAPacket/SMANetPacketDefinition.swift",
"SMAPacket/SMANetPacketHeader.swift",
"SMAPacket/SMANetPacketValue.swift",
"SMAPacket/SMAPacket.swift",
"SMAPacket/SMAPacketGenerator.swift",
"SMAPacket/SMATagPacket.swift",
"Tools/DatedQueue.swift",
"Tools/Extensions.swift",
"Tools/HTTPClientProvider.swift",
"Tools/IntervalLoop.swift",
"Tools/MQTTPublisher.swift",
"Tools/MutlicastReceiver.swift",
"Tools/QueryQueue.swift",
"Tools/RandomNumber.swift",
"Tools/SMAUDPPort.swift",
"Tools/SwiftFD_SET.swift"
],
"type" : "library"
},
{
"c99name" : "sma2mqtt",
"module_type" : "SwiftTarget",
"name" : "sma2mqtt",
"path" : "Sources/sma2mqtt",
"product_dependencies" : [
"ArgumentParser",
"JLog"
],
"product_memberships" : [
"sma2mqtt"
],
"sources" : [
"sma2mqtt.swift"
],
"target_dependencies" : [
"sma2mqttLibrary"
],
"type" : "executable"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Fetching https://github.com/jollyjinx/JLog
Fetching https://github.com/jollyjinx/BinaryCoder
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swift-server-community/mqtt-nio
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/swift-server/async-http-client.git from cache
[1/296] Fetching binarycoder
[274/9094] Fetching binarycoder, mqtt-nio
[1946/56161] Fetching binarycoder, mqtt-nio, swiftformat
[2123/56254] Fetching binarycoder, mqtt-nio, swiftformat, jlog
Fetched https://github.com/jollyjinx/BinaryCoder from cache (14.09s)
Fetched https://github.com/jollyjinx/JLog from cache (14.09s)
Fetched https://github.com/swift-server-community/mqtt-nio from cache (14.10s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (14.10s)
Fetched https://github.com/apple/swift-argument-parser from cache (14.10s)
Fetched https://github.com/swift-server/async-http-client.git from cache (14.10s)
Computing version for https://github.com/jollyjinx/BinaryCoder
Computed https://github.com/jollyjinx/BinaryCoder at 2.3.2 (14.61s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.7 (0.46s)
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
Fetching https://github.com/apple/swift-log.git from cache
[1/190] Fetching swift-log-format-and-pipe
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (0.93s)
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.90s)
Computing version for https://github.com/swift-server-community/mqtt-nio
Computed https://github.com/swift-server-community/mqtt-nio at 2.12.0 (0.58s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-nio-transport-services.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.71s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.71s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.98s)
Fetched https://github.com/apple/swift-nio.git from cache (0.98s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (1.71s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.70s)
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.48s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.25.2 (0.50s)
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetching https://github.com/apple/swift-nio-extras.git from cache
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.56s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.65s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.66s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.26s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.05s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.30.0 (0.61s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.54s)
Fetching https://github.com/apple/swift-http-structured-headers.git from cache
Fetching https://github.com/apple/swift-http-types.git from cache
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.48s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.60s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.2.2 (1.10s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.49s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.5 (0.59s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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.26.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.5.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.5
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/swift-server-community/mqtt-nio
Working copy of https://github.com/swift-server-community/mqtt-nio resolved at 2.12.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.82.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.30.0
Creating working copy for https://github.com/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.7
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.2.2
Creating working copy for https://github.com/jollyjinx/BinaryCoder
Working copy of https://github.com/jollyjinx/BinaryCoder resolved at 2.3.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.25.2
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.4
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.4.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.36.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.6.3
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.24.0
error: the library 'sma2mqttLibrary' requires macos 13.0, but depends on the product 'JLog' which requires macos 15.0; consider changing the library 'sma2mqttLibrary' to require macos 15.0 or later, or the product 'JLog' to require macos 13.0 or earlier.
error: the executable 'sma2mqtt' requires macos 13.0, but depends on the product 'JLog' which requires macos 15.0; consider changing the executable 'sma2mqtt' to require macos 15.0 or later, or the product 'JLog' to require macos 13.0 or earlier.
error: the test 'sma2mqttTests' requires macos 14.0, but depends on the product 'JLog' which requires macos 15.0; consider changing the test 'sma2mqttTests' to require macos 15.0 or later, or the product 'JLog' to require macos 14.0 or earlier.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: the library 'sma2mqttLibrary' requires macos 13.0, but depends on the product 'JLog' which requires macos 15.0; consider changing the library 'sma2mqttLibrary' to require macos 15.0 or later, or the product 'JLog' to require macos 13.0 or earlier.
error: the executable 'sma2mqtt' requires macos 13.0, but depends on the product 'JLog' which requires macos 15.0; consider changing the executable 'sma2mqtt' to require macos 15.0 or later, or the product 'JLog' to require macos 13.0 or earlier.
error: the test 'sma2mqttTests' requires macos 14.0, but depends on the product 'JLog' which requires macos 15.0; consider changing the test 'sma2mqttTests' to require macos 15.0 or later, or the product 'JLog' to require macos 14.0 or earlier.
BUILD FAILURE 6.1 macosSpm