Build Information
Successful build of xcconfig-extractor, reference 0.7.0 (1ace8d
), with Swift 6.0 for Linux on 1 Nov 2024 06:25:37 UTC.
Swift 6 data race errors: 6
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 0.7.0
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
* tag 0.7.0 -> FETCH_HEAD
HEAD is now at 1ace8d0 Update dependency
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 @):
1ace8d0938b23044fbb3677c9ef8a3cfc47d3798
SUCCESS checkout https://github.com/toshi0383/xcconfig-extractor.git at 0.7.0
========================================
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-2":/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/Commander
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
[905/2999] Fetching pathkit, commander
[3000/24838] Fetching pathkit, commander, 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 (2.27s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (2.39s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.20s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.36s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.02s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 7.23.0 (0.64s)
Fetching https://github.com/tadija/AEXML
[1/2102] Fetching aexml
Fetched https://github.com/tadija/AEXML from cache (0.58s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.5.0 (0.57s)
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/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.5.0
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/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.2
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/32] Emitting module Commander
[9/32] Compiling Commander ArgumentConvertible.swift
[10/32] Compiling Commander ArgumentDescription.swift
[11/33] Compiling Commander ArgumentParser.swift
[12/33] Compiling Commander Group.swift
[13/33] Compiling Commander Command.swift
[14/33] Compiling Commander CommandRunner.swift
[15/33] Compiling Commander CommandType.swift
[16/33] Emitting module PathKit
[17/33] Compiling PathKit PathKit.swift
[18/33] Compiling AEXML Error.swift
[19/34] Compiling AEXML Element.swift
[20/34] Compiling AEXML Options.swift
[21/34] Compiling AEXML Parser.swift
[23/34] Compiling AEXML Document.swift
[24/34] Emitting module AEXML
[25/35] Wrapping AST for PathKit for debugging
[26/35] Wrapping AST for AEXML for debugging
[28/44] Compiling Commander Commands.swift
[29/44] Compiling Commander Error.swift
[30/120] 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/131] Compiling XcodeProj XCScheme+Runnable.swift
[45/131] Compiling XcodeProj XCScheme+SerialAction.swift
[46/131] Compiling XcodeProj XCScheme+StoreKitConfigurationFileReference.swift
[47/131] Compiling XcodeProj XCScheme+TestAction.swift
[48/131] Compiling XcodeProj XCScheme+TestItem.swift
[49/131] Compiling XcodeProj XCScheme+TestPlanReference.swift
[50/131] Compiling XcodeProj XCScheme+TestableReference.swift
[51/131] Compiling XcodeProj XCScheme.swift
[52/131] Compiling XcodeProj BuildSettingsProvider.swift
[53/131] Compiling XcodeProj CommentedString.swift
[54/131] Compiling XcodeProj Decoders.swift
[55/131] Emitting module XcodeProj
[56/131] Compiling XcodeProj JSONDecoding.swift
[57/131] Compiling XcodeProj PBXBatchUpdater.swift
[58/131] Compiling XcodeProj PlistValue.swift
[59/131] Compiling XcodeProj ReferenceGenerator.swift
[60/131] Compiling XcodeProj XCConfig.swift
[61/131] Compiling XcodeProj XCWorkspace.swift
[62/131] Compiling XcodeProj XCWorkspaceData.swift
[63/131] Compiling XcodeProj XCWorkspaceDataElement.swift
[64/131] Compiling XcodeProj XCWorkspaceDataElementLocationType.swift
[65/131] Compiling XcodeProj XCWorkspaceDataFileRef.swift
[66/131] Compiling XcodeProj XCWorkspaceDataGroup.swift
[67/131] Compiling XcodeProj XCScheme+ArchiveAction.swift
[68/131] Compiling XcodeProj XCScheme+BuildAction.swift
[69/131] Compiling XcodeProj XCScheme+BuildableProductRunnable.swift
[70/131] Compiling XcodeProj XCScheme+BuildableReference.swift
[71/131] Compiling XcodeProj XCScheme+CommandLineArguments.swift
[72/131] Compiling XcodeProj XCScheme+EnvironmentVariable.swift
[73/131] Compiling XcodeProj XCScheme+ExecutionAction.swift
[74/131] Compiling XcodeProj XCScheme+LaunchAction.swift
[75/131] Compiling XcodeProj XCScheme+LocationScenarioReference.swift
[76/131] Compiling XcodeProj XCScheme+PathRunnable.swift
[77/131] Compiling XcodeProj XCScheme+ProfileAction.swift
[78/131] Compiling XcodeProj XCScheme+RemoteRunnable.swift
[79/131] Compiling XcodeProj PBXBuildFile.swift
[80/131] Compiling XcodeProj PBXBuildPhase.swift
[81/131] Compiling XcodeProj PBXBuildRule.swift
[82/131] Compiling XcodeProj PBXCopyFilesBuildPhase.swift
[83/131] Compiling XcodeProj PBXFrameworksBuildPhase.swift
[84/131] Compiling XcodeProj PBXHeadersBuildPhase.swift
[85/131] Compiling XcodeProj PBXResourcesBuildPhase.swift
[86/131] Compiling XcodeProj PBXRezBuildPhase.swift
[87/131] Compiling XcodeProj PBXShellScriptBuildPhase.swift
[88/131] Compiling XcodeProj PBXSourcesBuildPhase.swift
[89/131] Compiling XcodeProj BuildSettings.swift
[90/131] Compiling XcodeProj XCBuildConfiguration.swift
[91/131] Compiling XcodeProj PBXProductType.swift
[92/131] Compiling XcodeProj PBXReferenceProxy.swift
[93/131] Compiling XcodeProj PBXTarget.swift
[94/131] Compiling XcodeProj PBXTargetDependency.swift
[95/131] Compiling XcodeProj WorkspaceSettings.swift
[96/131] Compiling XcodeProj XCBreakpointList.swift
[97/131] Compiling XcodeProj XCSharedData.swift
[98/131] Compiling XcodeProj Xcode.swift
[99/131] Compiling XcodeProj XcodeProj.swift
[100/131] Compiling XcodeProj Writable.swift
[101/131] Compiling XcodeProj XCScheme+AditionalOption.swift
[102/131] Compiling XcodeProj XCScheme+AnalyzeAction.swift
[103/131] Compiling XcodeProj XCConfigurationList.swift
[104/131] Compiling XcodeProj PBXContainerItem.swift
[105/131] Compiling XcodeProj PBXContainerItemProxy.swift
[106/131] Compiling XcodeProj PBXFileElement.swift
[107/131] Compiling XcodeProj PBXFileReference.swift
[108/131] Compiling XcodeProj PBXGroup.swift
[109/131] Compiling XcodeProj PBXSourceTree.swift
[110/131] Compiling XcodeProj PBXVariantGroup.swift
[111/131] Compiling XcodeProj XCVersionGroup.swift
[112/131] Compiling XcodeProj PBXObject.swift
[113/131] Compiling XcodeProj PBXObjectParser.swift
[114/131] Compiling XcodeProj PBXObjectReference.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/132] Wrapping AST for XcodeProj for debugging
[129/137] Compiling Utilities Xcodeproj.swift
[130/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 {
[131/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 |
[132/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 |
[133/137] Compiling Utilities OperatorAndFunctions.swift
[134/138] Wrapping AST for Utilities for debugging
[136/144] Compiling xcconfig_extractor Config.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 ResultFormatter.swift
[139/144] Emitting module xcconfig_extractor
[140/144] Compiling xcconfig_extractor ResultObject.swift
[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! (49.01s)
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.14.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
}
}
],
"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.