Build Information
Failed to build OSInfo, reference 1.0.2 (fa5164
), with Swift 6.1 for Wasm on 30 May 2025 11:56:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MarcoEidinger/OSInfo.git
Reference: 1.0.2
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/MarcoEidinger/OSInfo
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at fa5164a fix: add Sendable (#3)
Cloned https://github.com/MarcoEidinger/OSInfo.git
Revision (git rev-parse @):
fa5164afc8ef56c3069728629647f140c03933f5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/MarcoEidinger/OSInfo.git at 1.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/MarcoEidinger/OSInfo.git
https://github.com/MarcoEidinger/OSInfo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "OSInfo",
"name" : "OSInfo",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OSInfo",
"targets" : [
"OSInfo"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OSInfoTests",
"module_type" : "SwiftTarget",
"name" : "OSInfoTests",
"path" : "Tests/OSInfoTests",
"sources" : [
"OSTests.swift"
],
"target_dependencies" : [
"OSInfo"
],
"type" : "test"
},
{
"c99name" : "OSInfo",
"module_type" : "SwiftTarget",
"name" : "OSInfo",
"path" : "Sources/OSInfo",
"product_memberships" : [
"OSInfo"
],
"sources" : [
"OS.swift",
"OperatingSystemVersion+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling OSInfo OperatingSystemVersion+Extensions.swift
/host/spi-builder-workspace/Sources/OSInfo/OperatingSystemVersion+Extensions.swift:3:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
1 | import Foundation
2 |
3 | extension OperatingSystemVersion: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | /// SemVer string (format of "*major*.*minor*.*patch*")
5 | ///
[4/5] Emitting module OSInfo
/host/spi-builder-workspace/Sources/OSInfo/OperatingSystemVersion+Extensions.swift:3:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
1 | import Foundation
2 |
3 | extension OperatingSystemVersion: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | /// SemVer string (format of "*major*.*minor*.*patch*")
5 | ///
[5/5] Compiling OSInfo OS.swift
/host/spi-builder-workspace/Sources/OSInfo/OS.swift:112:47: error: argument passed to call that takes no arguments
110 | /// useful as `ProcessInfo` will return iOS support version for "Mac Designed for iPad" destination which might not be desired
111 | private func operationSystemVersionFromPlist() -> String? {
112 | let sv = NSDictionary(contentsOfFile: "/System/Library/CoreServices/.SystemVersionPlatform.plist")
| `- error: argument passed to call that takes no arguments
113 | let versionString = sv?.object(forKey: "ProductVersion") as? String
114 | return versionString
swift-build: /home/build-user/llbuild/lib/Core/SQLiteBuildDB.cpp:703: virtual void (anonymous namespace)::SQLiteBuildDB::buildComplete(): Assertion `result == SQLITE_OK' failed.
*** Signal 6: Backtracing from 0x7f5282a789fc... done ***
*** Program crashed: Aborted at 0x0000000000000001 ***
Thread 0 "swift-build":
0 0x00007f5282a2480a <unknown> in libc.so.6
Thread 1 crashed:
0 0x00007f5282a789fc <unknown> in libc.so.6
Thread 2:
0 0x00007f5282b07e2e <unknown> in libc.so.6
Thread 3:
0 0x00007f5282a73117 <unknown> in libc.so.6
Registers:
rax 0x0000000000000000 0
rdx 0x00007f527d5f1640 40 16 5f 7d 52 7f 00 00 c0 7a 71 71 ab 55 00 00 @·_}R···Àzqq«U··
rcx 0x00007f5282a789fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x0000000000000006 6
rsi 0x0000000000000001 1
rdi 0x0000000000000008 8
rbp 0x0000000000000008 8
rsp 0x00007f527d5f0310 1c 6f 19 78 52 7f 00 00 f0 6d 19 78 52 7f 00 00 ·o·xR···ðm·xR···
r8 0x00007f527d5f03e0 20 00 00 00 00 00 00 00 a0 d6 bf 82 52 7f 00 00 ······· Ö¿·R···
r9 0x0000000000000000 0
r10 0x0000000000000008 8
r11 0x0000000000000246 582
r12 0x0000000000000006 6
r13 0x0000000000000016 22
r14 0x000055ab71279554 72 65 73 75 6c 74 20 3d 3d 20 53 51 4c 49 54 45 result == SQLITE
r15 0x00007f5278109a10 d8 aa 1a 71 ab 55 00 00 88 7e 10 78 52 7f 00 00 ت·q«U···~·xR···
rip 0x00007f5282a789fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (71 omitted):
0x00007f52829e2000–0x00007f5282b9e341 cd410b710f0f094c6832edd95931006d883af48e libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.01s
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling OSInfo OS.swift
/host/spi-builder-workspace/Sources/OSInfo/OS.swift:112:47: error: argument passed to call that takes no arguments
110 | /// useful as `ProcessInfo` will return iOS support version for "Mac Designed for iPad" destination which might not be desired
111 | private func operationSystemVersionFromPlist() -> String? {
112 | let sv = NSDictionary(contentsOfFile: "/System/Library/CoreServices/.SystemVersionPlatform.plist")
| `- error: argument passed to call that takes no arguments
113 | let versionString = sv?.object(forKey: "ProductVersion") as? String
114 | return versionString
[3/4] Emitting module OSInfo
/host/spi-builder-workspace/Sources/OSInfo/OperatingSystemVersion+Extensions.swift:3:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
1 | import Foundation
2 |
3 | extension OperatingSystemVersion: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | /// SemVer string (format of "*major*.*minor*.*patch*")
5 | ///
[4/4] Compiling OSInfo OperatingSystemVersion+Extensions.swift
/host/spi-builder-workspace/Sources/OSInfo/OperatingSystemVersion+Extensions.swift:3:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
1 | import Foundation
2 |
3 | extension OperatingSystemVersion: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | /// SemVer string (format of "*major*.*minor*.*patch*")
5 | ///
BUILD FAILURE 6.1 wasm