Build Information
Failed to build DBXCResultParser-Sonar, reference main (19455d
), with Swift 6.1 for Wasm on 29 May 2025 17:32:47 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/dodobrands/DBXCResultParser-Sonar.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/dodobrands/DBXCResultParser-Sonar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 19455db Added Xcode 16 support (#9)
Cloned https://github.com/dodobrands/DBXCResultParser-Sonar.git
Revision (git rev-parse @):
19455db5eff9e0004223bcff0564f4d9d2da7e39
SUCCESS checkout https://github.com/dodobrands/DBXCResultParser-Sonar.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dodobrands/DBXCResultParser-Sonar.git
https://github.com/dodobrands/DBXCResultParser-Sonar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "dbxcresultparser",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dodobrands/DBXCResultParser"
},
{
"identity" : "dbthreadsafe-ios",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dodobrands/DBThreadSafe-ios"
},
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CoreOffice/XMLCoder"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "DBXCResultParser-Sonar",
"name" : "DBXCResultParser-Sonar",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DBXCResultParser-Sonar",
"targets" : [
"DBXCResultParser-Sonar"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "DBXCResultParser_SonarTests",
"module_type" : "SwiftTarget",
"name" : "DBXCResultParser-SonarTests",
"path" : "Tests/DBXCResultParser-SonarTests",
"product_dependencies" : [
"DBXCResultParser",
"DBXCResultParserTestHelpers"
],
"sources" : [
"SonarGenericTestExecutionReportFormatterTests.swift"
],
"target_dependencies" : [
"DBXCResultParser-Sonar"
],
"type" : "test"
},
{
"c99name" : "DBXCResultParser_Sonar",
"module_type" : "SwiftTarget",
"name" : "DBXCResultParser-Sonar",
"path" : "Sources/DBXCResultParser-Sonar",
"product_dependencies" : [
"DBXCResultParser",
"XMLCoder",
"DBThreadSafe",
"ArgumentParser"
],
"product_memberships" : [
"DBXCResultParser-Sonar"
],
"sources" : [
"FSIndex.swift",
"Logger.swift",
"SonarGenericTestExecutionReportFormatter.swift",
"URL+Helpers.swift",
"UnwrapOrThrow.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.8"
}
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
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/dodobrands/DBThreadSafe-ios
Fetching https://github.com/dodobrands/DBXCResultParser
Fetching https://github.com/CoreOffice/XMLCoder
[1/217] Fetching dbthreadsafe-ios
[218/6760] Fetching dbthreadsafe-ios, dbxcresultparser
[349/16771] Fetching dbthreadsafe-ios, dbxcresultparser, xmlcoder
[11407/32150] Fetching dbthreadsafe-ios, dbxcresultparser, xmlcoder, swift-argument-parser
Fetched https://github.com/dodobrands/DBThreadSafe-ios from cache (1.20s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.21s)
[11451/16554] Fetching dbxcresultparser, xmlcoder
Fetched https://github.com/CoreOffice/XMLCoder from cache (13.27s)
Fetched https://github.com/dodobrands/DBXCResultParser from cache (14.02s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (22.20s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios
Computed https://github.com/dodobrands/DBThreadSafe-ios at 2.2.0 (4.71s)
Computing version for https://github.com/dodobrands/DBXCResultParser
Computed https://github.com/dodobrands/DBXCResultParser at 3.1.3 (1.01s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.51s)
Creating working copy for https://github.com/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/dodobrands/DBThreadSafe-ios
Working copy of https://github.com/dodobrands/DBThreadSafe-ios resolved at 2.2.0
Creating working copy for https://github.com/dodobrands/DBXCResultParser
Working copy of https://github.com/dodobrands/DBXCResultParser resolved at 3.1.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/66] Emitting module ArgumentParserToolInfo
[10/66] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/67] Compiling XMLCoder DoubleBox.swift
[13/67] Compiling XMLCoder FloatBox.swift
[14/67] Compiling XMLCoder IntBox.swift
[15/67] Compiling XMLCoder KeyedBox.swift
[16/67] Compiling XMLCoder NullBox.swift
[17/67] Compiling XMLCoder SharedBox.swift
[18/67] Compiling XMLCoder SingleKeyedBox.swift
[18/73] Wrapping AST for ArgumentParserToolInfo for debugging
[20/111] Compiling DBThreadSafe Lock.swift
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:7:22: error: cannot find 'pthread_rwlock_init' in scope
5 |
6 | init() {
7 | precondition(pthread_rwlock_init(lock, nil) == 0, "Failed to initialize the lock")
| `- error: cannot find 'pthread_rwlock_init' in scope
8 | }
9 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:7:48: error: 'nil' requires a contextual type
5 |
6 | init() {
7 | precondition(pthread_rwlock_init(lock, nil) == 0, "Failed to initialize the lock")
| `- error: 'nil' requires a contextual type
8 | }
9 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:11:9: error: cannot find 'pthread_rwlock_rdlock' in scope
9 |
10 | func readLock() {
11 | pthread_rwlock_rdlock(lock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:15:9: error: cannot find 'pthread_rwlock_wrlock' in scope
13 |
14 | func writeLock() {
15 | pthread_rwlock_wrlock(lock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:19:9: error: cannot find 'pthread_rwlock_unlock' in scope
17 |
18 | func unlock() {
19 | pthread_rwlock_unlock(lock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
20 | }
21 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:23:22: error: cannot find 'pthread_rwlock_destroy' in scope
21 |
22 | deinit {
23 | precondition(pthread_rwlock_destroy(lock) == 0, "Failed to destroy the lock")
| `- error: cannot find 'pthread_rwlock_destroy' in scope
24 |
25 | lock.deallocate()
[21/111] Compiling ArgumentParser CompletionKind.swift
[22/111] Compiling ArgumentParser Errors.swift
[23/111] Compiling ArgumentParser Flag.swift
[24/111] Compiling ArgumentParser NameSpecification.swift
[25/111] Compiling ArgumentParser Option.swift
[26/111] Compiling ArgumentParser ExpressibleByArgument.swift
[27/111] Emitting module DBThreadSafe
[28/111] Compiling DBThreadSafe DBThreadSafeContainer.swift
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write swift-version-24593BA9C3E375BF.txt
[3/60] Compiling DBThreadSafe DBThreadSafeContainer.swift
[4/60] Emitting module DBThreadSafe
[5/60] Compiling DBThreadSafe Lock.swift
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:7:22: error: cannot find 'pthread_rwlock_init' in scope
5 |
6 | init() {
7 | precondition(pthread_rwlock_init(lock, nil) == 0, "Failed to initialize the lock")
| `- error: cannot find 'pthread_rwlock_init' in scope
8 | }
9 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:7:48: error: 'nil' requires a contextual type
5 |
6 | init() {
7 | precondition(pthread_rwlock_init(lock, nil) == 0, "Failed to initialize the lock")
| `- error: 'nil' requires a contextual type
8 | }
9 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:11:9: error: cannot find 'pthread_rwlock_rdlock' in scope
9 |
10 | func readLock() {
11 | pthread_rwlock_rdlock(lock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:15:9: error: cannot find 'pthread_rwlock_wrlock' in scope
13 |
14 | func writeLock() {
15 | pthread_rwlock_wrlock(lock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:19:9: error: cannot find 'pthread_rwlock_unlock' in scope
17 |
18 | func unlock() {
19 | pthread_rwlock_unlock(lock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
20 | }
21 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:23:22: error: cannot find 'pthread_rwlock_destroy' in scope
21 |
22 | deinit {
23 | precondition(pthread_rwlock_destroy(lock) == 0, "Failed to destroy the lock")
| `- error: cannot find 'pthread_rwlock_destroy' in scope
24 |
25 | lock.deallocate()
[6/60] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm