The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of xcconfig-extractor, reference master (89996f), with Swift 6.0 for Linux on 1 Nov 2024 06:25:49 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 2>&1

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 /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/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 '/host/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/toshi0383/xcconfig-extractor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 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/tuist/XcodeProj
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kylef/Commander
[1/1588] Fetching commander
[1145/2999] Fetching commander, pathkit
[1017/1588] Fetching commander
[1159/2999] Fetching commander, pathkit
[2874/24838] Fetching commander, pathkit, xcodeproj
Fetched https://github.com/kylef/PathKit from cache (1.27s)
Fetched https://github.com/kylef/Commander from cache (1.27s)
Fetched https://github.com/tuist/XcodeProj from cache (1.30s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (2.43s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.29s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.92s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.92s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 7.23.0 (0.95s)
Fetching https://github.com/tadija/AEXML
[1/2102] Fetching aexml
Fetched https://github.com/tadija/AEXML from cache (0.46s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.5.0 (1.00s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 7.23.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/32] Emitting module AEXML
[9/32] Compiling Commander ArgumentParser.swift
[10/33] Compiling Commander ArgumentConvertible.swift
[11/33] Compiling Commander ArgumentDescription.swift
[12/33] Emitting module Commander
[13/33] Compiling Commander Group.swift
[14/33] Compiling Commander CommandRunner.swift
[15/33] Compiling Commander Command.swift
[16/33] Compiling Commander Commands.swift
[17/33] Compiling Commander Error.swift
[18/33] Compiling Commander CommandType.swift
[20/34] Compiling PathKit PathKit.swift
[21/34] Emitting module PathKit
[22/35] Compiling AEXML Parser.swift
[24/35] Compiling AEXML Error.swift
[25/35] Compiling AEXML Element.swift
[26/35] Compiling AEXML Document.swift
[27/35] Compiling AEXML Options.swift
[28/36] Wrapping AST for AEXML for debugging
[29/36] Wrapping AST for PathKit for debugging
[30/36] Wrapping AST for Commander for debugging
[32/120] Compiling XcodeProj Errors.swift
[33/120] Compiling XcodeProj AEXML+XcodeFormat.swift
[34/120] Compiling XcodeProj Array+Extras.swift
[35/120] Compiling XcodeProj Bool+Extras.swift
[36/120] Compiling XcodeProj Dictionary+Enumerate.swift
[37/120] Compiling XcodeProj Dictionary+Extras.swift
[38/120] Compiling XcodeProj KeyedDecodingContainer+Additions.swift
[39/120] Compiling XcodeProj NSRecursiveLock+Sync.swift
[40/120] Compiling XcodeProj Path+Extras.swift
[41/120] Compiling XcodeProj String+Utils.swift
[42/120] Compiling XcodeProj String+md5.swift
[43/120] Compiling XcodeProj BuildPhase.swift
[44/120] Compiling XcodeProj PBXBuildFile.swift
[45/120] Compiling XcodeProj PBXBuildPhase.swift
[46/120] Compiling XcodeProj PBXBuildRule.swift
[47/120] Compiling XcodeProj PBXCopyFilesBuildPhase.swift
[48/120] Compiling XcodeProj PBXFrameworksBuildPhase.swift
[49/120] Compiling XcodeProj PBXHeadersBuildPhase.swift
[50/120] Compiling XcodeProj PBXResourcesBuildPhase.swift
[51/120] Compiling XcodeProj PBXRezBuildPhase.swift
[52/120] Compiling XcodeProj PBXShellScriptBuildPhase.swift
[53/120] Compiling XcodeProj PBXSourcesBuildPhase.swift
[54/120] Compiling XcodeProj BuildSettings.swift
[55/120] Compiling XcodeProj XCBuildConfiguration.swift
[56/120] Emitting module XcodeProj
[57/131] Compiling XcodeProj XCScheme+ArchiveAction.swift
[58/131] Compiling XcodeProj XCScheme+BuildAction.swift
[59/131] Compiling XcodeProj XCScheme+BuildableProductRunnable.swift
[60/131] Compiling XcodeProj XCScheme+BuildableReference.swift
[61/131] Compiling XcodeProj XCScheme+CommandLineArguments.swift
[62/131] Compiling XcodeProj XCScheme+EnvironmentVariable.swift
[63/131] Compiling XcodeProj XCScheme+ExecutionAction.swift
[64/131] Compiling XcodeProj XCScheme+LaunchAction.swift
[65/131] Compiling XcodeProj XCScheme+LocationScenarioReference.swift
[66/131] Compiling XcodeProj XCScheme+PathRunnable.swift
[67/131] Compiling XcodeProj XCScheme+ProfileAction.swift
[68/131] Compiling XcodeProj XCScheme+RemoteRunnable.swift
[69/131] Compiling XcodeProj XCConfigurationList.swift
[70/131] Compiling XcodeProj PBXContainerItem.swift
[71/131] Compiling XcodeProj PBXContainerItemProxy.swift
[72/131] Compiling XcodeProj PBXFileElement.swift
[73/131] Compiling XcodeProj PBXFileReference.swift
[74/131] Compiling XcodeProj PBXGroup.swift
[75/131] Compiling XcodeProj PBXSourceTree.swift
[76/131] Compiling XcodeProj PBXVariantGroup.swift
[77/131] Compiling XcodeProj XCVersionGroup.swift
[78/131] Compiling XcodeProj PBXObject.swift
[79/131] Compiling XcodeProj PBXObjectParser.swift
[80/131] Compiling XcodeProj PBXObjectReference.swift
[81/131] Compiling XcodeProj XCScheme+Runnable.swift
[82/131] Compiling XcodeProj XCScheme+SerialAction.swift
[83/131] Compiling XcodeProj XCScheme+StoreKitConfigurationFileReference.swift
[84/131] Compiling XcodeProj XCScheme+TestAction.swift
[85/131] Compiling XcodeProj XCScheme+TestItem.swift
[86/131] Compiling XcodeProj XCScheme+TestPlanReference.swift
[87/131] Compiling XcodeProj XCScheme+TestableReference.swift
[88/131] Compiling XcodeProj XCScheme.swift
[89/131] Compiling XcodeProj BuildSettingsProvider.swift
[90/131] Compiling XcodeProj CommentedString.swift
[91/131] Compiling XcodeProj Decoders.swift
[92/131] Compiling XcodeProj PBXProductType.swift
[93/131] Compiling XcodeProj PBXReferenceProxy.swift
[94/131] Compiling XcodeProj PBXTarget.swift
[95/131] Compiling XcodeProj PBXTargetDependency.swift
[96/131] Compiling XcodeProj WorkspaceSettings.swift
[97/131] Compiling XcodeProj XCBreakpointList.swift
[98/131] Compiling XcodeProj XCSharedData.swift
[99/131] Compiling XcodeProj Xcode.swift
[100/131] Compiling XcodeProj XcodeProj.swift
[101/131] Compiling XcodeProj Writable.swift
[102/131] Compiling XcodeProj XCScheme+AditionalOption.swift
[103/131] Compiling XcodeProj XCScheme+AnalyzeAction.swift
[104/131] Compiling XcodeProj JSONDecoding.swift
[105/131] Compiling XcodeProj PBXBatchUpdater.swift
[106/131] Compiling XcodeProj PlistValue.swift
[107/131] Compiling XcodeProj ReferenceGenerator.swift
[108/131] Compiling XcodeProj XCConfig.swift
[109/131] Compiling XcodeProj XCWorkspace.swift
[110/131] Compiling XcodeProj XCWorkspaceData.swift
[111/131] Compiling XcodeProj XCWorkspaceDataElement.swift
[112/131] Compiling XcodeProj XCWorkspaceDataElementLocationType.swift
[113/131] Compiling XcodeProj XCWorkspaceDataFileRef.swift
[114/131] Compiling XcodeProj XCWorkspaceDataGroup.swift
[115/131] Compiling XcodeProj PBXObjects.swift
[116/131] Compiling XcodeProj PBXOutputSettings.swift
[117/131] Compiling XcodeProj PBXProj.swift
[118/131] Compiling XcodeProj PBXProjEncoder.swift
[119/131] Compiling XcodeProj PBXProject.swift
[120/131] Compiling XcodeProj Equality.generated.swift
[121/131] Compiling XcodeProj Sourcery.swift
[122/131] Compiling XcodeProj XCRemoteSwiftPackageReference.swift
[123/131] Compiling XcodeProj XCSwiftPackageProductDependency.swift
[124/131] Compiling XcodeProj PBXAggregateTarget.swift
[125/131] Compiling XcodeProj PBXLegacyTarget.swift
[126/131] Compiling XcodeProj PBXNativeTarget.swift
[127/135] Wrapping AST for XcodeProj for debugging
[129/137] Compiling Utilities Xcodeproj.swift
[130/137] Compiling Utilities Validators.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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 |
[131/137] Compiling Utilities PathKit+Commander.swift
/host/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 {
[132/137] Compiling Utilities OperatorAndFunctions.swift
[133/137] Emitting module Utilities
/host/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'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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 |
[134/138] Wrapping AST for Utilities for debugging
[136/144] Compiling xcconfig_extractor ResultFormatter.swift
[137/144] Compiling xcconfig_extractor ErrorReporter.swift
/host/spi-builder-workspace/Sources/xcconfig-extractor/ErrorReporter.swift:4:51: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | func printStdError(_ message: String) {
 4 |     fputs("\(ANSI.red)\(message)\(ANSI.reset)\n", stderr)
   |                                                   `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 5 | }
 6 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/xcconfig-extractor/ErrorReporter.swift:8:54: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | func printWarning(_ message: String) {
 8 |     fputs("\(ANSI.yellow)\(message)\(ANSI.reset)\n", stdout)
   |                                                      `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 9 | }
10 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[138/144] Compiling xcconfig_extractor Config.swift
[139/144] Compiling xcconfig_extractor ResultObject.swift
[140/144] Emitting module xcconfig_extractor
[141/144] Compiling xcconfig_extractor main.swift
[142/145] Wrapping AST for xcconfig-extractor for debugging
[143/145] Write Objects.LinkFileList
[144/145] Linking xcconfig-extractor
Build complete! (51.69s)
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" : "/host/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"
}
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.