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

Successful build of DBXCResultParser-Sonar, reference 1.1.4 (19455d), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 20:13:49 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dodobrands/DBXCResultParser-Sonar.git
Reference: 1.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/dodobrands/DBXCResultParser
Fetching https://github.com/CoreOffice/XMLCoder
Fetching https://github.com/dodobrands/DBThreadSafe-ios
Fetching https://github.com/apple/swift-argument-parser.git
[1/146] Fetching dbthreadsafe-ios
[29/6689] Fetching dbthreadsafe-ios, dbxcresultparser
[213/16700] Fetching dbthreadsafe-ios, dbxcresultparser, xmlcoder
[1380/29095] Fetching dbthreadsafe-ios, dbxcresultparser, xmlcoder, swift-argument-parser
Fetched https://github.com/dodobrands/DBXCResultParser from cache (52.14s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (52.14s)
Fetched https://github.com/dodobrands/DBThreadSafe-ios from cache (52.14s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (52.14s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.45s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (3.02s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios
Computed https://github.com/dodobrands/DBThreadSafe-ios at 2.1.0 (0.42s)
Computing version for https://github.com/dodobrands/DBXCResultParser
Computed https://github.com/dodobrands/DBXCResultParser at 3.1.3 (0.43s)
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.0
Creating working copy for https://github.com/dodobrands/DBThreadSafe-ios
Working copy of https://github.com/dodobrands/DBThreadSafe-ios resolved at 2.1.0
Creating working copy for https://github.com/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "dbxcresultparser-sonar",
      "name": "DBXCResultParser-Sonar",
      "url": "https://github.com/dodobrands/DBXCResultParser-Sonar.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DBXCResultParser-Sonar",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dodobrands/DBXCResultParser-Sonar.git
[1/143] Fetching dbxcresultparser-sonar
Fetched https://github.com/dodobrands/DBXCResultParser-Sonar.git from cache (0.67s)
Creating working copy for https://github.com/dodobrands/DBXCResultParser-Sonar.git
Working copy of https://github.com/dodobrands/DBXCResultParser-Sonar.git resolved at 1.1.4 (19455db)
warning: '.resolve-product-dependencies': dependency 'dbxcresultparser-sonar' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dodobrands/DBXCResultParser-Sonar.git
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write sources
[4/12] Write DBXCResultParser-Sonar-entitlement.plist
[6/12] Write sources
[8/12] Write swift-version--7754E27361AE5C74.txt
[10/63] Emitting module ArgumentParserToolInfo
[11/63] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/102] Compiling ArgumentParser FishCompletionsGenerator.swift
[13/102] Compiling ArgumentParser ZshCompletionsGenerator.swift
[14/102] Compiling ArgumentParser Argument.swift
[15/102] Compiling ArgumentParser CommandConfiguration.swift
[16/102] Compiling ArgumentParser CommandGroup.swift
[19/107] Compiling ArgumentParser EnumerableFlag.swift
[20/107] Compiling ArgumentParser ExpressibleByArgument.swift
[21/111] Compiling ArgumentParser InputOrigin.swift
[22/111] Compiling ArgumentParser Name.swift
[23/111] Compiling ArgumentParser Parsed.swift
[24/111] Compiling ArgumentParser ParsedValues.swift
[25/111] Compiling ArgumentParser ArgumentHelp.swift
[26/111] Compiling ArgumentParser ArgumentVisibility.swift
[27/111] Compiling ArgumentParser CompletionKind.swift
[28/111] Compiling ArgumentParser Errors.swift
[29/111] Compiling ArgumentParser Flag.swift
[30/111] Compiling ArgumentParser NameSpecification.swift
[31/111] Compiling ArgumentParser Option.swift
[32/111] Compiling ArgumentParser OptionGroup.swift
[33/111] Compiling ArgumentParser AsyncParsableCommand.swift
[34/111] Emitting module XMLCoder
[35/111] Emitting module ArgumentParser
[36/111] Compiling ArgumentParser Platform.swift
[37/111] Compiling ArgumentParser SequenceExtensions.swift
[38/111] Compiling ArgumentParser StringExtensions.swift
[39/111] Compiling ArgumentParser Tree.swift
[40/111] Compiling ArgumentParser ArgumentDefinition.swift
[41/111] Compiling ArgumentParser ArgumentSet.swift
[42/111] Compiling ArgumentParser CommandParser.swift
[43/111] Compiling ArgumentParser InputKey.swift
[44/111] Compiling DBThreadSafe Lock.swift
[45/111] Emitting module DBThreadSafe
[46/111] Compiling DBThreadSafe DBThreadSafeContainer.swift
[47/111] Compiling ArgumentParser HelpGenerator.swift
[48/111] Compiling ArgumentParser MessageInfo.swift
[49/111] Compiling ArgumentParser UsageGenerator.swift
[50/111] Compiling ArgumentParser CollectionExtensions.swift
[51/111] Compiling ArgumentParser ParsableArguments.swift
[52/111] Compiling ArgumentParser ParsableArgumentsValidation.swift
[53/111] Compiling ArgumentParser ParsableCommand.swift
[54/111] Compiling ArgumentParser ArgumentDecoder.swift
[55/111] Compiling ArgumentParser BashCompletionsGenerator.swift
[56/111] Compiling ArgumentParser CompletionsGenerator.swift
[57/111] Compiling ArgumentParser ParserError.swift
[58/111] Compiling ArgumentParser SplitArguments.swift
[59/111] Compiling ArgumentParser DumpHelpGenerator.swift
[60/111] Compiling ArgumentParser HelpCommand.swift
[71/111] Compiling XMLCoder XMLEncoderImplementation.swift
[72/111] Compiling XMLCoder XMLEncodingStorage.swift
[73/111] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[74/111] Compiling XMLCoder XMLReferencingEncoder.swift
[75/111] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[106/111] Compiling XMLCoder XMLDecodingStorage.swift
[107/111] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[108/111] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[109/122] Compiling DBXCResultParser ReusedDTO.swift
[110/123] Compiling DBXCResultParser Math.swift
[111/123] Compiling DBXCResultParser DTO+Helpers.swift
[112/123] Compiling DBXCResultParser CoverageDTO.swift
[113/123] Compiling DBXCResultParser ActionsInvocationRecordDTO.swift
[114/123] Compiling DBXCResultParser ActionTestSummaryDTO.swift
[115/123] Emitting module DBXCResultParser
[116/123] Compiling DBXCResultParser ActionTestPlanRunSummariesDTO.swift
[117/123] Compiling DBXCResultParser Constants.swift
[118/123] Compiling DBXCResultParser DBShell.swift
[119/123] Compiling DBXCResultParser DBXCReportModel+Convenience.swift
[120/123] Compiling DBXCResultParser DBXCReportModel.swift
[121/129] Compiling DBXCResultParser_Sonar Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/DBXCResultParser-Sonar/Logger.swift:4:16: warning: static property 'verbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | class DBLogger {
 4 |     static var verbose = false
   |                |- warning: static property 'verbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'verbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 |     static func logDebug(_ message: String) {
[122/129] Compiling DBXCResultParser_Sonar URL+Helpers.swift
[123/129] Compiling DBXCResultParser_Sonar FSIndex.swift
[124/129] Compiling DBXCResultParser_Sonar UnwrapOrThrow.swift
[125/129] Compiling DBXCResultParser_Sonar SonarGenericTestExecutionReportFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DBXCResultParser-Sonar/Logger.swift:4:16: warning: static property 'verbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | class DBLogger {
 4 |     static var verbose = false
   |                |- warning: static property 'verbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'verbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 |     static func logDebug(_ message: String) {
/Users/admin/builder/spi-builder-workspace/Sources/DBXCResultParser-Sonar/SonarGenericTestExecutionReportFormatter.swift:175:36: warning: capture of 'transform' with non-sendable type '(Self.Element) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 |
174 |         DispatchQueue.concurrentPerform(iterations: elements.count) { index in
175 |             let transformed = try? transform(elements[index])
    |                                    |- warning: capture of 'transform' with non-sendable type '(Self.Element) throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
176 |             results.write { $0[index] = transformed }
177 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DBXCResultParser-Sonar/SonarGenericTestExecutionReportFormatter.swift:175:46: warning: capture of 'elements' with non-sendable type '[Self.Element]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 |
174 |         DispatchQueue.concurrentPerform(iterations: elements.count) { index in
175 |             let transformed = try? transform(elements[index])
    |                                              `- warning: capture of 'elements' with non-sendable type '[Self.Element]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 |             results.write { $0[index] = transformed }
177 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DBXCResultParser-Sonar/SonarGenericTestExecutionReportFormatter.swift:176:13: warning: capture of 'results' with non-sendable type 'DBThreadSafeContainer<[T?]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
174 |         DispatchQueue.concurrentPerform(iterations: elements.count) { index in
175 |             let transformed = try? transform(elements[index])
176 |             results.write { $0[index] = transformed }
    |             `- warning: capture of 'results' with non-sendable type 'DBThreadSafeContainer<[T?]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 |         }
178 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/DBThreadSafeContainer.swift:3:20: note: generic class 'DBThreadSafeContainer' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public final class DBThreadSafeContainer<T> {
   |                    `- note: generic class 'DBThreadSafeContainer' does not conform to the 'Sendable' protocol
 4 |     private var value: T
 5 |     private var lock = Lock()
/Users/admin/builder/spi-builder-workspace/Sources/DBXCResultParser-Sonar/SonarGenericTestExecutionReportFormatter.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DBThreadSafe'
  2 | import DBXCResultParser
  3 | import XMLCoder
  4 | import DBThreadSafe
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DBThreadSafe'
  5 | import ArgumentParser
  6 |
[126/129] Emitting module DBXCResultParser_Sonar
/Users/admin/builder/spi-builder-workspace/Sources/DBXCResultParser-Sonar/Logger.swift:4:16: warning: static property 'verbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | class DBLogger {
 4 |     static var verbose = false
   |                |- warning: static property 'verbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'verbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 |     static func logDebug(_ message: String) {
[126/129] Write Objects.LinkFileList
[127/129] Linking DBXCResultParser-Sonar
[128/129] Applying DBXCResultParser-Sonar
Build complete! (21.37s)
Build complete.
{
  "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" : "/Users/admin/builder/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"
}
Done.