Build Information
Successful build of DBXCResultParser-Sonar, reference main (19455d
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 20:13:12 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/dodobrands/DBThreadSafe-ios
Fetching https://github.com/CoreOffice/XMLCoder
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/dodobrands/DBXCResultParser
[1/146] Fetching dbthreadsafe-ios
[147/6689] Fetching dbthreadsafe-ios, dbxcresultparser
[213/16700] Fetching dbthreadsafe-ios, dbxcresultparser, xmlcoder
[3906/29095] Fetching dbthreadsafe-ios, dbxcresultparser, xmlcoder, swift-argument-parser
Fetched https://github.com/CoreOffice/XMLCoder from cache (38.21s)
Fetched https://github.com/dodobrands/DBXCResultParser from cache (38.21s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (38.21s)
Fetched https://github.com/dodobrands/DBThreadSafe-ios from cache (38.21s)
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.47s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (2.94s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios
Computed https://github.com/dodobrands/DBThreadSafe-ios at 2.1.0 (0.43s)
Computing version for https://github.com/dodobrands/DBXCResultParser
Computed https://github.com/dodobrands/DBXCResultParser at 3.1.3 (0.44s)
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
========================================
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.68s)
Creating working copy for https://github.com/dodobrands/DBXCResultParser-Sonar.git
Working copy of https://github.com/dodobrands/DBXCResultParser-Sonar.git resolved at main (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
[5/12] Write DBXCResultParser-Sonar-entitlement.plist
[5/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 InputOrigin.swift
[13/102] Compiling ArgumentParser Name.swift
[14/102] Compiling ArgumentParser Parsed.swift
[15/102] Compiling ArgumentParser ParsedValues.swift
[16/106] Compiling ArgumentParser ArgumentHelp.swift
[17/106] Compiling ArgumentParser ArgumentVisibility.swift
[18/106] Compiling ArgumentParser CompletionKind.swift
[19/106] Compiling ArgumentParser Errors.swift
[20/106] Compiling ArgumentParser Flag.swift
[21/106] Compiling ArgumentParser Platform.swift
[22/106] Compiling ArgumentParser SequenceExtensions.swift
[23/106] Compiling ArgumentParser StringExtensions.swift
[24/106] Compiling ArgumentParser Tree.swift
[25/106] Compiling ArgumentParser ParsableArguments.swift
[26/106] Compiling ArgumentParser ParsableArgumentsValidation.swift
[27/106] Compiling ArgumentParser ParsableCommand.swift
[28/106] Compiling ArgumentParser ArgumentDecoder.swift
[29/106] Emitting module ArgumentParser
[30/106] Compiling ArgumentParser NameSpecification.swift
[31/106] Compiling ArgumentParser Option.swift
[32/106] Compiling ArgumentParser OptionGroup.swift
[33/106] Compiling ArgumentParser AsyncParsableCommand.swift
[34/106] Compiling ArgumentParser ArgumentDefinition.swift
[35/106] Compiling ArgumentParser ArgumentSet.swift
[36/106] Compiling ArgumentParser CommandParser.swift
[37/106] Compiling ArgumentParser InputKey.swift
[38/106] Compiling DBThreadSafe Lock.swift
[39/106] Compiling DBThreadSafe DBThreadSafeContainer.swift
[40/106] Emitting module DBThreadSafe
[41/106] Compiling ArgumentParser HelpGenerator.swift
[42/106] Compiling ArgumentParser MessageInfo.swift
[43/106] Compiling ArgumentParser UsageGenerator.swift
[44/106] Compiling ArgumentParser CollectionExtensions.swift
[45/106] Compiling ArgumentParser BashCompletionsGenerator.swift
[46/106] Emitting module XMLCoder
[47/106] Compiling ArgumentParser CompletionsGenerator.swift
[48/106] Compiling ArgumentParser FishCompletionsGenerator.swift
[49/106] Compiling ArgumentParser ZshCompletionsGenerator.swift
[50/106] Compiling ArgumentParser Argument.swift
[51/106] Compiling ArgumentParser CommandConfiguration.swift
[59/111] Compiling XMLCoder SingleValueEncodingContainer.swift
[60/111] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[61/111] Compiling XMLCoder XMLEncoder.swift
[68/111] Compiling ArgumentParser CommandGroup.swift
[69/111] Compiling ArgumentParser EnumerableFlag.swift
[70/111] Compiling ArgumentParser ExpressibleByArgument.swift
[71/111] Compiling ArgumentParser ParserError.swift
[72/111] Compiling ArgumentParser SplitArguments.swift
[73/111] Compiling ArgumentParser DumpHelpGenerator.swift
[74/111] Compiling ArgumentParser HelpCommand.swift
[104/122] Compiling XMLCoder XMLEncoderImplementation.swift
[105/122] Compiling XMLCoder XMLEncodingStorage.swift
[106/122] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[107/122] Compiling XMLCoder XMLReferencingEncoder.swift
[108/122] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[109/122] Compiling DBXCResultParser ActionTestSummaryDTO.swift
[110/122] Compiling DBXCResultParser ReusedDTO.swift
[111/123] Compiling DBXCResultParser ActionsInvocationRecordDTO.swift
[112/123] Compiling DBXCResultParser Math.swift
[113/123] Compiling DBXCResultParser CoverageDTO.swift
[114/123] Compiling DBXCResultParser ActionTestPlanRunSummariesDTO.swift
[115/123] Compiling DBXCResultParser DTO+Helpers.swift
[116/123] Compiling DBXCResultParser Constants.swift
[117/123] Compiling DBXCResultParser DBShell.swift
[118/123] Emitting module DBXCResultParser
[119/123] Compiling DBXCResultParser DBXCReportModel.swift
[120/123] Compiling DBXCResultParser DBXCReportModel+Convenience.swift
[121/129] Compiling DBXCResultParser_Sonar UnwrapOrThrow.swift
[122/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) {
[123/129] Compiling DBXCResultParser_Sonar URL+Helpers.swift
[124/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) {
[125/129] Compiling DBXCResultParser_Sonar FSIndex.swift
[126/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] Write Objects.LinkFileList
[127/129] Linking DBXCResultParser-Sonar
[128/129] Applying DBXCResultParser-Sonar
Build complete! (20.20s)
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.