The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DBXCResultParser-Sonar, reference main (b61d3b), with Swift 6.1 for Wasm on 4 Dec 2025 13:51:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
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 b61d3b9 Add notice about Peekie integration (#10)
Cloned https://github.com/dodobrands/DBXCResultParser-Sonar.git
Revision (git rev-parse @):
b61d3b979d46f965e52173896fbe06e6799a7e98
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/dodobrands/DBXCResultParser
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/CoreOffice/XMLCoder
Fetching https://github.com/dodobrands/DBThreadSafe-ios
[1/250] Fetching dbthreadsafe-ios
[251/10245] Fetching dbthreadsafe-ios, dbxcresultparser
[1651/27122] Fetching dbthreadsafe-ios, dbxcresultparser, swift-argument-parser
[3157/37204] Fetching dbthreadsafe-ios, dbxcresultparser, swift-argument-parser, xmlcoder
Fetched https://github.com/dodobrands/DBThreadSafe-ios from cache (1.02s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (1.03s)
[21675/26872] Fetching dbxcresultparser, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.04s)
[4896/9995] Fetching dbxcresultparser
Fetched https://github.com/dodobrands/DBXCResultParser from cache (25.10s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (29.97s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios
Computed https://github.com/dodobrands/DBThreadSafe-ios at 2.3.0 (6.47s)
Computing version for https://github.com/dodobrands/DBXCResultParser
Computed https://github.com/dodobrands/DBXCResultParser at 3.1.3 (4.40s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.07s)
Creating working copy for https://github.com/dodobrands/DBThreadSafe-ios
Working copy of https://github.com/dodobrands/DBThreadSafe-ios resolved at 2.3.0
Creating working copy for https://github.com/dodobrands/DBXCResultParser
Working copy of https://github.com/dodobrands/DBXCResultParser resolved at 3.1.3
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.6.2
Creating working copy for https://github.com/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/68] Emitting module DBThreadSafe
[11/68] Emitting module ArgumentParserToolInfo
[12/68] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/69] Wrapping AST for ArgumentParserToolInfo for debugging
[15/113] Emitting module ArgumentParser
[16/119] Compiling DBThreadSafe ThreadSafe.swift
[17/119] Compiling DBThreadSafe DBThreadSafeContainer.swift
[18/119] 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()
[19/119] Compiling ArgumentParser Mutex.swift
[20/119] Compiling ArgumentParser Platform.swift
[21/119] Compiling ArgumentParser SequenceExtensions.swift
[22/119] Compiling ArgumentParser StringExtensions.swift
[23/119] Compiling ArgumentParser SwiftExtensions.swift
[24/119] Compiling ArgumentParser Tree.swift
[25/125] Emitting module XMLCoder
[26/125] Compiling ArgumentParser CollectionExtensions.swift
[32/125] Compiling ArgumentParser ArgumentHelp.swift
[33/125] Compiling ArgumentParser ArgumentVisibility.swift
[34/125] Compiling ArgumentParser CompletionKind.swift
[35/125] Compiling ArgumentParser Errors.swift
[36/125] Compiling ArgumentParser Flag.swift
[37/125] Compiling ArgumentParser NameSpecification.swift
[39/125] Compiling XMLCoder XMLEncoder.swift
[40/125] Compiling XMLCoder XMLEncoderImplementation.swift
[41/125] Compiling XMLCoder XMLEncodingStorage.swift
[42/125] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[43/125] Compiling XMLCoder XMLReferencingEncoder.swift
[44/125] Compiling ArgumentParser ParsableArguments.swift
[45/125] Compiling ArgumentParser ParsableCommand.swift
[46/125] Compiling ArgumentParser ArgumentDecoder.swift
[47/125] Compiling ArgumentParser ArgumentDefinition.swift
[48/125] Compiling ArgumentParser ArgumentSet.swift
[49/125] Compiling ArgumentParser CommandParser.swift
[50/125] Compiling ArgumentParser BashCompletionsGenerator.swift
[51/125] Compiling ArgumentParser CompletionsGenerator.swift
[52/125] Compiling ArgumentParser FishCompletionsGenerator.swift
[53/125] Compiling ArgumentParser ZshCompletionsGenerator.swift
[54/125] Compiling ArgumentParser Argument.swift
[55/125] Compiling ArgumentParser ArgumentDiscussion.swift
[56/125] Compiling ArgumentParser Option.swift
[57/125] Compiling ArgumentParser OptionGroup.swift
[58/125] Compiling ArgumentParser AsyncParsableCommand.swift
[59/125] Compiling ArgumentParser CommandConfiguration.swift
[60/125] Compiling ArgumentParser CommandGroup.swift
[61/125] Compiling ArgumentParser EnumerableFlag.swift
[62/125] Compiling ArgumentParser ExpressibleByArgument.swift
[63/125] Compiling ArgumentParser SplitArguments.swift
[64/125] Compiling ArgumentParser DumpHelpGenerator.swift
[65/125] Compiling ArgumentParser HelpCommand.swift
[66/125] Compiling ArgumentParser HelpGenerator.swift
[67/125] Compiling ArgumentParser MessageInfo.swift
[68/125] Compiling ArgumentParser UsageGenerator.swift
[69/125] Compiling ArgumentParser InputKey.swift
[70/125] Compiling ArgumentParser InputOrigin.swift
[71/125] Compiling ArgumentParser Name.swift
[72/125] Compiling ArgumentParser Parsed.swift
[73/125] Compiling ArgumentParser ParsedValues.swift
[74/125] Compiling ArgumentParser ParserError.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/11] Write swift-version-24593BA9C3E375BF.txt
[4/62] Compiling DBThreadSafe ThreadSafe.swift
[5/62] Emitting module DBThreadSafe
[6/62] 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()
[7/62] Compiling DBThreadSafe DBThreadSafeContainer.swift
BUILD FAILURE 6.1 wasm