Build Information
Successful build of xcconfig-extractor, reference master (89996f
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 06:32:18 UTC.
Swift 6 data race errors: 6
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toshi0383/xcconfig-extractor.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/toshi0383/xcconfig-extractor
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 89996f3 Update Dependency with Xcode 12.4 (#27)
Submodule path 'Fixtures': checked out '71b00ed8e3d8c7f861300c4837988903bf072e10'
Submodule 'Fixtures' (https://github.com/toshi0383/xcodeproj-fixtures.git) registered for path 'Fixtures'
Cloning into '/Users/admin/builder/spi-builder-workspace/Fixtures'...
Cloned https://github.com/toshi0383/xcconfig-extractor.git
Revision (git rev-parse @):
89996f3cd660cfe60774b72d153e51593f44d935
SUCCESS checkout https://github.com/toshi0383/xcconfig-extractor.git at master
Fetching https://github.com/tuist/XcodeProj
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kylef/Commander
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[185/2432] Fetching pathkit, spectre
[349/4534] Fetching pathkit, spectre, aexml
[644/6122] Fetching pathkit, spectre, aexml, commander
[5432/27961] Fetching pathkit, spectre, aexml, commander, xcodeproj
Fetched https://github.com/kylef/PathKit from cache (0.98s)
Fetched https://github.com/kylef/Spectre.git from cache (0.98s)
Fetched https://github.com/tadija/AEXML from cache (0.98s)
[1807/23427] Fetching commander, xcodeproj
Fetched https://github.com/tuist/XcodeProj from cache (2.36s)
Fetched https://github.com/kylef/Commander from cache (2.36s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 7.19.0 (0.76s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.1 (2.76s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.0 (2.70s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.5.0 (0.68s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.68s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.0
Creating working copy for https://github.com/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.1
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.5.0
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 7.19.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
========================================
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": "xcconfig-extractor",
"name": "xcconfig-extractor",
"url": "https://github.com/toshi0383/xcconfig-extractor.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xcconfig-extractor",
"dependencies": [
{
"identity": "pathkit",
"name": "PathKit",
"url": "https://github.com/kylef/PathKit",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
},
{
"identity": "commander",
"name": "Commander",
"url": "https://github.com/kylef/Commander",
"version": "0.9.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commander",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
},
{
"identity": "xcodeproj",
"name": "XcodeProj",
"url": "https://github.com/tuist/XcodeProj",
"version": "7.23.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XcodeProj",
"dependencies": [
{
"identity": "aexml",
"name": "AEXML",
"url": "https://github.com/tadija/AEXML",
"version": "4.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AEXML",
"dependencies": [
]
},
{
"identity": "pathkit",
"name": "PathKit",
"url": "https://github.com/kylef/PathKit",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/toshi0383/xcconfig-extractor.git
[1/696] Fetching xcconfig-extractor
Fetched https://github.com/toshi0383/xcconfig-extractor.git from cache (0.92s)
Fetching https://github.com/kylef/Commander from cache
Fetching https://github.com/kylef/PathKit from cache
Fetching https://github.com/tuist/XcodeProj from cache
Fetched https://github.com/kylef/PathKit from cache (0.61s)
Fetched https://github.com/kylef/Commander from cache (0.61s)
Fetched https://github.com/tuist/XcodeProj from cache (0.61s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (0.65s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.46s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.65s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.63s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 7.23.0 (0.02s)
Fetching https://github.com/tadija/AEXML from cache
Fetched https://github.com/tadija/AEXML from cache (0.50s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.5.0 (0.02s)
Creating working copy for https://github.com/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 7.23.0
Creating working copy for https://github.com/toshi0383/xcconfig-extractor.git
Working copy of https://github.com/toshi0383/xcconfig-extractor.git resolved at master (89996f3)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.5.0
Found 3 product dependencies
- PathKit
- Commander
- XcodeProj
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/toshi0383/xcconfig-extractor.git
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
Building for debugging...
[0/11] Write sources
[6/11] Write xcconfig-extractor-entitlement.plist
[7/11] Write swift-version--7754E27361AE5C74.txt
[9/29] Compiling Commander Group.swift
[10/29] Compiling Commander Error.swift
[11/29] Compiling Commander ArgumentConvertible.swift
[12/29] Emitting module Commander
[13/29] Compiling Commander ArgumentDescription.swift
[14/29] Compiling Commander CommandType.swift
[15/29] Compiling Commander Command.swift
[16/29] Compiling Commander CommandRunner.swift
[17/29] Compiling Commander Commands.swift
[18/29] Compiling Commander ArgumentParser.swift
[19/29] Compiling AEXML Parser.swift
[20/29] Compiling AEXML Element.swift
[21/29] Compiling AEXML Document.swift
[22/29] Compiling PathKit PathKit.swift
[23/29] Emitting module PathKit
[24/29] Emitting module AEXML
[25/29] Compiling AEXML Error.swift
[26/29] Compiling AEXML Options.swift
[27/115] Compiling XcodeProj String+md5.swift
[28/115] Compiling XcodeProj BuildPhase.swift
[29/115] Compiling XcodeProj PBXBuildFile.swift
[30/115] Compiling XcodeProj PBXBuildPhase.swift
[31/115] Compiling XcodeProj PBXBuildRule.swift
[32/115] Compiling XcodeProj PBXCopyFilesBuildPhase.swift
[33/115] Compiling XcodeProj PBXFrameworksBuildPhase.swift
[34/115] Compiling XcodeProj PBXHeadersBuildPhase.swift
[35/115] Compiling XcodeProj PBXResourcesBuildPhase.swift
[36/115] Compiling XcodeProj PBXRezBuildPhase.swift
[37/124] Compiling XcodeProj XCScheme+AditionalOption.swift
[38/124] Compiling XcodeProj XCScheme+AnalyzeAction.swift
[39/124] Compiling XcodeProj XCScheme+ArchiveAction.swift
[40/124] Compiling XcodeProj XCScheme+BuildAction.swift
[41/124] Compiling XcodeProj XCScheme+BuildableProductRunnable.swift
[42/124] Compiling XcodeProj XCScheme+BuildableReference.swift
[43/124] Compiling XcodeProj XCScheme+CommandLineArguments.swift
[44/124] Compiling XcodeProj XCScheme+EnvironmentVariable.swift
[45/124] Compiling XcodeProj XCScheme+ExecutionAction.swift
[46/124] Compiling XcodeProj PBXProject.swift
[47/124] Compiling XcodeProj Equality.generated.swift
[48/124] Compiling XcodeProj Sourcery.swift
[49/124] Compiling XcodeProj XCRemoteSwiftPackageReference.swift
[50/124] Compiling XcodeProj XCSwiftPackageProductDependency.swift
[51/124] Compiling XcodeProj PBXAggregateTarget.swift
[52/124] Compiling XcodeProj PBXLegacyTarget.swift
[53/124] Compiling XcodeProj PBXNativeTarget.swift
[54/124] Compiling XcodeProj PBXProductType.swift
[55/124] Compiling XcodeProj XCScheme+LaunchAction.swift
[56/124] Compiling XcodeProj XCScheme+LocationScenarioReference.swift
[57/124] Compiling XcodeProj XCScheme+PathRunnable.swift
[58/124] Compiling XcodeProj XCScheme+ProfileAction.swift
[59/124] Compiling XcodeProj XCScheme+RemoteRunnable.swift
[60/124] Compiling XcodeProj XCScheme+Runnable.swift
[61/124] Compiling XcodeProj XCScheme+SerialAction.swift
[62/124] Compiling XcodeProj XCScheme+StoreKitConfigurationFileReference.swift
[63/124] Compiling XcodeProj XCScheme+TestAction.swift
[64/124] Compiling XcodeProj PBXReferenceProxy.swift
[65/124] Compiling XcodeProj PBXTarget.swift
[66/124] Compiling XcodeProj PBXTargetDependency.swift
[67/124] Compiling XcodeProj WorkspaceSettings.swift
[68/124] Compiling XcodeProj XCBreakpointList.swift
[69/124] Compiling XcodeProj XCSharedData.swift
[70/124] Compiling XcodeProj Xcode.swift
[71/124] Compiling XcodeProj XcodeProj.swift
[72/124] Compiling XcodeProj Writable.swift
[73/124] Emitting module XcodeProj
[74/124] Compiling XcodeProj XCScheme+TestItem.swift
[75/124] Compiling XcodeProj XCScheme+TestPlanReference.swift
[76/124] Compiling XcodeProj XCScheme+TestableReference.swift
[77/124] Compiling XcodeProj XCScheme.swift
[78/124] Compiling XcodeProj BuildSettingsProvider.swift
[79/124] Compiling XcodeProj CommentedString.swift
[80/124] Compiling XcodeProj Decoders.swift
[81/124] Compiling XcodeProj JSONDecoding.swift
[82/124] Compiling XcodeProj PBXBatchUpdater.swift
[83/124] Compiling XcodeProj PBXShellScriptBuildPhase.swift
[84/124] Compiling XcodeProj PBXSourcesBuildPhase.swift
[85/124] Compiling XcodeProj BuildSettings.swift
[86/124] Compiling XcodeProj XCBuildConfiguration.swift
[87/124] Compiling XcodeProj XCConfigurationList.swift
[88/124] Compiling XcodeProj PBXContainerItem.swift
[89/124] Compiling XcodeProj PBXContainerItemProxy.swift
[90/124] Compiling XcodeProj PBXFileElement.swift
[91/124] Compiling XcodeProj PBXFileReference.swift
[92/124] Compiling XcodeProj PBXGroup.swift
[93/124] Compiling XcodeProj Errors.swift
[94/124] Compiling XcodeProj AEXML+XcodeFormat.swift
[95/124] Compiling XcodeProj Array+Extras.swift
[96/124] Compiling XcodeProj Bool+Extras.swift
[97/124] Compiling XcodeProj Dictionary+Enumerate.swift
[98/124] Compiling XcodeProj Dictionary+Extras.swift
[99/124] Compiling XcodeProj KeyedDecodingContainer+Additions.swift
[100/124] Compiling XcodeProj NSRecursiveLock+Sync.swift
[101/124] Compiling XcodeProj Path+Extras.swift
[102/124] Compiling XcodeProj String+Utils.swift
[103/124] Compiling XcodeProj PBXSourceTree.swift
[104/124] Compiling XcodeProj PBXVariantGroup.swift
[105/124] Compiling XcodeProj XCVersionGroup.swift
[106/124] Compiling XcodeProj PBXObject.swift
[107/124] Compiling XcodeProj PBXObjectParser.swift
[108/124] Compiling XcodeProj PBXObjectReference.swift
[109/124] Compiling XcodeProj PBXObjects.swift
[110/124] Compiling XcodeProj PBXOutputSettings.swift
[111/124] Compiling XcodeProj PBXProj.swift
[112/124] Compiling XcodeProj PBXProjEncoder.swift
[113/124] Compiling XcodeProj PlistValue.swift
[114/124] Compiling XcodeProj ReferenceGenerator.swift
[115/124] Compiling XcodeProj XCConfig.swift
[116/124] Compiling XcodeProj XCWorkspace.swift
[117/124] Compiling XcodeProj XCWorkspaceData.swift
[118/124] Compiling XcodeProj XCWorkspaceDataElement.swift
[119/124] Compiling XcodeProj XCWorkspaceDataElementLocationType.swift
[120/124] Compiling XcodeProj XCWorkspaceDataFileRef.swift
[121/124] Compiling XcodeProj XCWorkspaceDataGroup.swift
[122/129] Compiling Utilities Xcodeproj.swift
[123/129] Compiling Utilities Validators.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:11:12: warning: let 'pathExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 | }
11 | public let pathExists = checkPath(type: "path") { $0.exists }
| |- warning: let 'pathExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pathExists' 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
12 | public let fileExists = checkPath(type: "file") { $0.isFile }
13 | public let dirExists = checkPath(type: "directory") { $0.isDirectory }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:12:12: warning: let 'fileExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 | public let pathExists = checkPath(type: "path") { $0.exists }
12 | public let fileExists = checkPath(type: "file") { $0.isFile }
| |- warning: let 'fileExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileExists' 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
13 | public let dirExists = checkPath(type: "directory") { $0.isDirectory }
14 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:13:12: warning: let 'dirExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public let pathExists = checkPath(type: "path") { $0.exists }
12 | public let fileExists = checkPath(type: "file") { $0.isFile }
13 | public let dirExists = checkPath(type: "directory") { $0.isDirectory }
| |- warning: let 'dirExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dirExists' 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
14 |
15 | public let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:15:12: warning: let 'pathsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public let dirExists = checkPath(type: "directory") { $0.isDirectory }
14 |
15 | public let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
| |- warning: let 'pathsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pathsExist' 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
16 | public let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
17 | public let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:16:12: warning: let 'filesExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
16 | public let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
| |- warning: let 'filesExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'filesExist' 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
17 | public let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:17:12: warning: let 'dirsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
16 | public let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
17 | public let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
| |- warning: let 'dirsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dirsExist' 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
18 |
[124/129] Compiling Utilities PathKit+Commander.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/PathKit+Commander.swift:7:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ArgumentConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
5 | // MARK: ArgumentConvertible
6 |
7 | extension Path: ArgumentConvertible {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ArgumentConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 |
9 | public init(parser: ArgumentParser) throws {
[125/129] Compiling Utilities OperatorAndFunctions.swift
[126/129] Emitting module Utilities
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/PathKit+Commander.swift:7:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ArgumentConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
5 | // MARK: ArgumentConvertible
6 |
7 | extension Path: ArgumentConvertible {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ArgumentConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 |
9 | public init(parser: ArgumentParser) throws {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:11:12: warning: let 'pathExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 | }
11 | public let pathExists = checkPath(type: "path") { $0.exists }
| |- warning: let 'pathExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pathExists' 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
12 | public let fileExists = checkPath(type: "file") { $0.isFile }
13 | public let dirExists = checkPath(type: "directory") { $0.isDirectory }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:12:12: warning: let 'fileExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 | public let pathExists = checkPath(type: "path") { $0.exists }
12 | public let fileExists = checkPath(type: "file") { $0.isFile }
| |- warning: let 'fileExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileExists' 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
13 | public let dirExists = checkPath(type: "directory") { $0.isDirectory }
14 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:13:12: warning: let 'dirExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public let pathExists = checkPath(type: "path") { $0.exists }
12 | public let fileExists = checkPath(type: "file") { $0.isFile }
13 | public let dirExists = checkPath(type: "directory") { $0.isDirectory }
| |- warning: let 'dirExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dirExists' 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
14 |
15 | public let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:15:12: warning: let 'pathsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public let dirExists = checkPath(type: "directory") { $0.isDirectory }
14 |
15 | public let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
| |- warning: let 'pathsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pathsExist' 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
16 | public let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
17 | public let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:16:12: warning: let 'filesExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
16 | public let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
| |- warning: let 'filesExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'filesExist' 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
17 | public let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Validators.swift:17:12: warning: let 'dirsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
16 | public let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
17 | public let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
| |- warning: let 'dirsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dirsExist' 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
18 |
[127/135] Compiling xcconfig_extractor ErrorReporter.swift
[128/135] Compiling xcconfig_extractor ResultFormatter.swift
[129/135] Compiling xcconfig_extractor ResultObject.swift
[130/135] Emitting module xcconfig_extractor
[131/135] Compiling xcconfig_extractor Config.swift
[132/135] Compiling xcconfig_extractor main.swift
[132/135] Write Objects.LinkFileList
[133/135] Linking xcconfig-extractor
[134/135] Applying xcconfig-extractor
Build complete! (24.50s)
Build complete.
{
"dependencies" : [
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit"
},
{
"identity" : "commander",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Commander"
},
{
"identity" : "xcodeproj",
"requirement" : {
"range" : [
{
"lower_bound" : "7.19.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/XcodeProj"
}
],
"manifest_display_name" : "xcconfig-extractor",
"name" : "xcconfig-extractor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "xcconfig-extractor",
"targets" : [
"xcconfig-extractor"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "xcconfig_extractor",
"module_type" : "SwiftTarget",
"name" : "xcconfig-extractor",
"path" : "Sources/xcconfig-extractor",
"product_dependencies" : [
"PathKit",
"Commander",
"XcodeProj"
],
"product_memberships" : [
"xcconfig-extractor"
],
"sources" : [
"Config.swift",
"ErrorReporter.swift",
"ResultFormatter.swift",
"ResultObject.swift",
"main.swift"
],
"target_dependencies" : [
"Utilities"
],
"type" : "executable"
},
{
"c99name" : "UtilitiesTests",
"module_type" : "SwiftTarget",
"name" : "UtilitiesTests",
"path" : "Tests/UtilitiesTests",
"sources" : [
"FunctionsTests.swift"
],
"target_dependencies" : [
"Utilities"
],
"type" : "test"
},
{
"c99name" : "Utilities",
"module_type" : "SwiftTarget",
"name" : "Utilities",
"path" : "Sources/Utilities",
"product_dependencies" : [
"XcodeProj",
"PathKit",
"Commander"
],
"product_memberships" : [
"xcconfig-extractor"
],
"sources" : [
"OperatorAndFunctions.swift",
"PathKit+Commander.swift",
"Validators.swift",
"Xcodeproj.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.