The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DBXCResultParser-Sonar, reference 1.1.4 (19455d), with Swift 6.1 for Wasm on 29 May 2025 17:32:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 1.1.4
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
 * tag               1.1.4      -> FETCH_HEAD
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 1.1.4
========================================
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-3":/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/dodobrands/DBXCResultParser
Fetching https://github.com/dodobrands/DBThreadSafe-ios
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/CoreOffice/XMLCoder
[1/217] Fetching dbthreadsafe-ios
[67/10228] Fetching dbthreadsafe-ios, xmlcoder
[10078/16771] Fetching dbthreadsafe-ios, xmlcoder, dbxcresultparser
[10209/32150] Fetching dbthreadsafe-ios, xmlcoder, dbxcresultparser, swift-argument-parser
Fetched https://github.com/dodobrands/DBThreadSafe-ios from cache (2.38s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (2.38s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.39s)
[1898/6543] Fetching dbxcresultparser
Fetched https://github.com/dodobrands/DBXCResultParser from cache (14.62s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (19.52s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios
Computed https://github.com/dodobrands/DBThreadSafe-ios at 2.2.0 (0.42s)
Computing version for https://github.com/dodobrands/DBXCResultParser
Computed https://github.com/dodobrands/DBXCResultParser at 3.1.3 (0.55s)
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.60s)
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
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/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/66] Emitting module XMLCoder
[10/72] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/72] Emitting module ArgumentParserToolInfo
[12/73] Wrapping AST for ArgumentParserToolInfo for debugging
[14/111] Compiling ArgumentParser BashCompletionsGenerator.swift
[15/111] Compiling ArgumentParser CompletionsGenerator.swift
[16/111] Compiling ArgumentParser FishCompletionsGenerator.swift
[17/111] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/111] Compiling ArgumentParser Argument.swift
[19/111] Compiling ArgumentParser ArgumentHelp.swift
[20/111] Compiling ArgumentParser ArgumentVisibility.swift
[21/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()
[22/111] Compiling DBThreadSafe DBThreadSafeContainer.swift
[23/111] Emitting module DBThreadSafe
[24/111] Compiling ArgumentParser CompletionKind.swift
[25/111] Compiling ArgumentParser Errors.swift
[26/111] Compiling ArgumentParser Flag.swift
[27/111] Compiling ArgumentParser NameSpecification.swift
[28/111] Compiling ArgumentParser Option.swift
[29/111] Compiling ArgumentParser OptionGroup.swift
[30/111] Compiling ArgumentParser AsyncParsableCommand.swift
[31/111] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[32/111] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[33/111] Compiling XMLCoder DynamicNodeEncoding.swift
[34/111] Compiling XMLCoder EncodingErrorExtension.swift
[35/111] Compiling XMLCoder SingleValueEncodingContainer.swift
[36/111] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[43/116] Compiling ArgumentParser InputOrigin.swift
[44/116] Compiling ArgumentParser Name.swift
[45/116] Compiling ArgumentParser Parsed.swift
[46/116] Compiling ArgumentParser ParsedValues.swift
[47/116] Compiling ArgumentParser ParserError.swift
[48/116] Compiling ArgumentParser SplitArguments.swift
[49/116] Compiling ArgumentParser DumpHelpGenerator.swift
[50/116] Compiling ArgumentParser HelpCommand.swift
[51/116] Compiling ArgumentParser HelpGenerator.swift
[52/116] Compiling ArgumentParser MessageInfo.swift
[53/116] Compiling ArgumentParser UsageGenerator.swift
[54/116] Compiling ArgumentParser CollectionExtensions.swift
[55/116] Compiling XMLCoder XMLEncoder.swift
[56/116] Compiling XMLCoder XMLEncoderImplementation.swift
[57/116] Compiling XMLCoder XMLEncodingStorage.swift
[58/116] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[59/116] Compiling XMLCoder XMLReferencingEncoder.swift
[60/116] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[61/116] Compiling ArgumentParser ParsableCommand.swift
[62/116] Compiling ArgumentParser ArgumentDecoder.swift
[63/116] Compiling ArgumentParser ArgumentDefinition.swift
[64/116] Compiling ArgumentParser ArgumentSet.swift
[65/116] Compiling ArgumentParser CommandParser.swift
[66/116] Compiling ArgumentParser InputKey.swift
[67/116] Compiling ArgumentParser CommandConfiguration.swift
[68/116] Compiling ArgumentParser CommandGroup.swift
[69/116] Compiling ArgumentParser EnumerableFlag.swift
[70/116] Compiling ArgumentParser ExpressibleByArgument.swift
[71/116] Compiling ArgumentParser ParsableArguments.swift
[72/116] Compiling ArgumentParser ParsableArgumentsValidation.swift
[79/117] Emitting module ArgumentParser
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 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()
[4/60] Emitting module DBThreadSafe
[5/60] Compiling DBThreadSafe DBThreadSafeContainer.swift
[6/60] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm