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 main (19455d), with Swift 6.0 for Linux on 1 Dec 2024 20:06:40 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dodobrands/DBXCResultParser-Sonar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/dodobrands/DBXCResultParser
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/dodobrands/DBThreadSafe-ios
Fetching https://github.com/CoreOffice/XMLCoder
[1/146] Fetching dbthreadsafe-ios
[147/10157] Fetching dbthreadsafe-ios, xmlcoder
[10158/22552] Fetching dbthreadsafe-ios, xmlcoder, swift-argument-parser
Fetched https://github.com/dodobrands/DBThreadSafe-ios from cache (0.45s)
[14350/22406] Fetching xmlcoder, swift-argument-parser
[4711/12395] Fetching swift-argument-parser
Fetched https://github.com/CoreOffice/XMLCoder from cache (0.45s)
[12396/18938] Fetching swift-argument-parser, dbxcresultparser
Fetched https://github.com/apple/swift-argument-parser.git from cache (14.90s)
Fetched https://github.com/dodobrands/DBXCResultParser from cache (15.64s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (2.25s)
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.46s)
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.64s)
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/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
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
[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] Emitting module ArgumentParser
[21/116] Compiling ArgumentParser OptionGroup.swift
[22/116] Compiling ArgumentParser AsyncParsableCommand.swift
[23/116] Compiling ArgumentParser CommandConfiguration.swift
[24/116] Compiling ArgumentParser CommandGroup.swift
[25/116] Compiling ArgumentParser EnumerableFlag.swift
[26/116] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/116] Compiling ArgumentParser CompletionsGenerator.swift
[28/116] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/116] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/116] Compiling ArgumentParser Argument.swift
[31/116] Compiling ArgumentParser ArgumentHelp.swift
[32/116] Compiling ArgumentParser ArgumentVisibility.swift
[33/116] Compiling ArgumentParser CompletionKind.swift
[34/116] Compiling ArgumentParser Errors.swift
[35/116] Compiling ArgumentParser Flag.swift
[36/116] Compiling ArgumentParser NameSpecification.swift
[37/116] Compiling ArgumentParser Option.swift
[38/116] Compiling DBThreadSafe Lock.swift
[39/116] Emitting module DBThreadSafe
[40/116] Compiling DBThreadSafe DBThreadSafeContainer.swift
[44/116] Compiling ArgumentParser ExpressibleByArgument.swift
[45/116] Compiling ArgumentParser ParsableArguments.swift
[46/116] Compiling ArgumentParser ParsableArgumentsValidation.swift
[47/116] Compiling ArgumentParser ParsableCommand.swift
[48/116] Compiling ArgumentParser ArgumentDecoder.swift
[49/116] Compiling ArgumentParser ArgumentDefinition.swift
[50/116] Compiling ArgumentParser ArgumentSet.swift
[51/116] Compiling ArgumentParser CommandParser.swift
[52/116] Compiling ArgumentParser InputKey.swift
[60/117] Compiling ArgumentParser CollectionExtensions.swift
[61/117] Compiling ArgumentParser Platform.swift
[62/117] Compiling ArgumentParser SequenceExtensions.swift
[63/117] Compiling ArgumentParser StringExtensions.swift
[64/117] Compiling ArgumentParser Tree.swift
[65/117] Emitting module XMLCoder
[66/117] Compiling ArgumentParser InputOrigin.swift
[67/117] Compiling ArgumentParser Name.swift
[68/117] Compiling ArgumentParser Parsed.swift
[69/117] Compiling ArgumentParser ParsedValues.swift
[70/117] Compiling ArgumentParser ParserError.swift
[71/117] Compiling ArgumentParser SplitArguments.swift
[72/117] Compiling ArgumentParser DumpHelpGenerator.swift
[73/117] Compiling ArgumentParser HelpCommand.swift
[74/117] Compiling ArgumentParser HelpGenerator.swift
[75/117] Compiling ArgumentParser MessageInfo.swift
[76/117] Compiling ArgumentParser UsageGenerator.swift
[82/117] Compiling XMLCoder String+Extensions.swift
[83/117] Compiling XMLCoder XMLChoiceCodingKey.swift
[84/117] Compiling XMLCoder XMLEncoder.swift
[85/117] Compiling XMLCoder XMLEncoderImplementation.swift
[86/117] Compiling XMLCoder XMLEncodingStorage.swift
[87/117] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[88/117] Compiling XMLCoder XMLReferencingEncoder.swift
[89/117] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[112/119] Wrapping AST for DBThreadSafe for debugging
[113/119] Wrapping AST for XMLCoder for debugging
[114/119] Wrapping AST for ArgumentParser for debugging
[116/130] Compiling DBXCResultParser ReusedDTO.swift
[117/131] Compiling DBXCResultParser DTO+Helpers.swift
[118/131] Compiling DBXCResultParser CoverageDTO.swift
[119/131] Compiling DBXCResultParser ActionsInvocationRecordDTO.swift
[120/131] Compiling DBXCResultParser Math.swift
[121/131] Compiling DBXCResultParser DBXCReportModel+Convenience.swift
[122/131] Compiling DBXCResultParser DBXCReportModel.swift
[123/131] Compiling DBXCResultParser Constants.swift
[124/131] Compiling DBXCResultParser DBShell.swift
[125/131] Compiling DBXCResultParser ActionTestPlanRunSummariesDTO.swift
[126/131] Compiling DBXCResultParser ActionTestSummaryDTO.swift
[127/131] Emitting module DBXCResultParser
[128/132] Wrapping AST for DBXCResultParser for debugging
[130/138] Compiling DBXCResultParser_Sonar UnwrapOrThrow.swift
[131/138] Compiling DBXCResultParser_Sonar URL+Helpers.swift
[132/138] Compiling DBXCResultParser_Sonar Logger.swift
/host/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) {
[133/138] Compiling DBXCResultParser_Sonar FSIndex.swift
[134/138] Emitting module DBXCResultParser_Sonar
/host/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) {
[135/138] Compiling DBXCResultParser_Sonar SonarGenericTestExecutionReportFormatter.swift
/host/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) {
/host/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 |         }
/host/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 |         }
/host/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 |
/host/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()
/host/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 |
[136/139] Wrapping AST for DBXCResultParser-Sonar for debugging
[137/139] Write Objects.LinkFileList
[138/139] Linking DBXCResultParser-Sonar
Build complete! (50.79s)
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" : "/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.