Build Information
Successful build of swift-file, reference main (3f8cca
), with Swift 6.1 for Android on 30 May 2025 15:06:06 UTC.
Swift 6 data race errors: 13
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pelagornis/swift-file.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/pelagornis/swift-file
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3f8ccaa Update README.md
Cloned https://github.com/pelagornis/swift-file.git
Revision (git rev-parse @):
3f8ccaa1825b33f259f2734c2ac194d1650e6de9
SUCCESS checkout https://github.com/pelagornis/swift-file.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/pelagornis/swift-file.git
https://github.com/pelagornis/swift-file.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-file",
"name" : "swift-file",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "File",
"targets" : [
"File"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FileTests",
"module_type" : "SwiftTarget",
"name" : "FileTests",
"path" : "Tests/FileTests",
"sources" : [
"FileTests.swift"
],
"target_dependencies" : [
"File"
],
"type" : "test"
},
{
"c99name" : "File",
"module_type" : "SwiftTarget",
"name" : "File",
"path" : "Sources/File",
"product_memberships" : [
"File"
],
"sources" : [
"Child.swift",
"File.swift",
"FileError.swift",
"FileSystem.swift",
"Folder.swift",
"Internal/DateExt.swift",
"Internal/FileHandleExt.swift",
"Internal/StringExt.swift",
"Path.swift",
"Store.swift",
"Type.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.46s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.13s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.51s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling File FileHandleExt.swift
[6/16] Compiling File Store.swift
[7/16] Compiling File Path.swift
/host/spi-builder-workspace/Sources/File/Path.swift:6:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Home path.
/host/spi-builder-workspace/Sources/File/Path.swift:91:33: warning: result of call to 'changeCurrentDirectoryPath' is unused
89 | return Path(FileManager.default.currentDirectoryPath)
90 | } set {
91 | FileManager.default.changeCurrentDirectoryPath(newValue.safeRawValue)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
92 | }
93 | }
[8/16] Compiling File Folder.swift
[9/16] Compiling File DateExt.swift
[10/16] Compiling File StringExt.swift
[11/16] Compiling File FileError.swift
/host/spi-builder-workspace/Sources/File/FileError.swift:6:10: warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
4 | public enum FileError: Error {
5 | /// File Create Error
6 | case fileCreateError(path: Path)
| `- warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:8:10: warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 | case fileCreateError(path: Path)
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
| `- warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:10:10: warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
8 | case filePathEmpty(path: Path)
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
| `- warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:12:10: warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | case folderCreateError(path: Path, error: Error)
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
| `- warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:14:10: warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
12 | case emptyPath(path: Path)
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
| `- warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:16:10: warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case writeFailed(path: Path, error: Error)
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
| `- warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:18:10: warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case writeStringEncodingFailed(path: Path)
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
| `- warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:20:10: warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
18 | case readFailed(path: Path, error: Error)
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
| `- warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:22:10: warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
20 | case cannotRename(path: Path)
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
| `- warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:24:10: warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
22 | case moveError(path: Path, error: Error)
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
| `- warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:26:10: warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
24 | case copyError(path: Path, error: Error)
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
| `- warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
27 | /// Missing Error
28 | case missing(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:28:10: warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
26 | case deleteError(path: Path, error: Error)
27 | /// Missing Error
28 | case missing(path: Path)
| `- warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
29 | }
30 |
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
[12/16] Compiling File FileSystem.swift
/host/spi-builder-workspace/Sources/File/FileError.swift:6:10: warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
4 | public enum FileError: Error {
5 | /// File Create Error
6 | case fileCreateError(path: Path)
| `- warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:8:10: warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 | case fileCreateError(path: Path)
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
| `- warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:10:10: warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
8 | case filePathEmpty(path: Path)
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
| `- warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:12:10: warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | case folderCreateError(path: Path, error: Error)
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
| `- warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:14:10: warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
12 | case emptyPath(path: Path)
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
| `- warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:16:10: warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case writeFailed(path: Path, error: Error)
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
| `- warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:18:10: warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case writeStringEncodingFailed(path: Path)
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
| `- warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:20:10: warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
18 | case readFailed(path: Path, error: Error)
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
| `- warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:22:10: warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
20 | case cannotRename(path: Path)
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
| `- warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:24:10: warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
22 | case moveError(path: Path, error: Error)
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
| `- warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:26:10: warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
24 | case copyError(path: Path, error: Error)
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
| `- warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
27 | /// Missing Error
28 | case missing(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:28:10: warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
26 | case deleteError(path: Path, error: Error)
27 | /// Missing Error
28 | case missing(path: Path)
| `- warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
29 | }
30 |
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
[13/16] Emitting module File
/host/spi-builder-workspace/Sources/File/FileError.swift:6:10: warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
4 | public enum FileError: Error {
5 | /// File Create Error
6 | case fileCreateError(path: Path)
| `- warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:8:10: warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 | case fileCreateError(path: Path)
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
| `- warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:10:10: warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
8 | case filePathEmpty(path: Path)
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
| `- warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:12:10: warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | case folderCreateError(path: Path, error: Error)
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
| `- warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:14:10: warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
12 | case emptyPath(path: Path)
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
| `- warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:16:10: warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case writeFailed(path: Path, error: Error)
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
| `- warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:18:10: warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case writeStringEncodingFailed(path: Path)
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
| `- warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:20:10: warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
18 | case readFailed(path: Path, error: Error)
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
| `- warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:22:10: warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
20 | case cannotRename(path: Path)
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
| `- warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:24:10: warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
22 | case moveError(path: Path, error: Error)
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
| `- warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:26:10: warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
24 | case copyError(path: Path, error: Error)
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
| `- warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
27 | /// Missing Error
28 | case missing(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:28:10: warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
26 | case deleteError(path: Path, error: Error)
27 | /// Missing Error
28 | case missing(path: Path)
| `- warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
29 | }
30 |
/host/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/Path.swift:6:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Home path.
[14/16] Compiling File Child.swift
[15/16] Compiling File File.swift
[16/16] Compiling File Type.swift
Build complete! (36.43s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-file",
"name" : "swift-file",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "File",
"targets" : [
"File"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FileTests",
"module_type" : "SwiftTarget",
"name" : "FileTests",
"path" : "Tests/FileTests",
"sources" : [
"FileTests.swift"
],
"target_dependencies" : [
"File"
],
"type" : "test"
},
{
"c99name" : "File",
"module_type" : "SwiftTarget",
"name" : "File",
"path" : "Sources/File",
"product_memberships" : [
"File"
],
"sources" : [
"Child.swift",
"File.swift",
"FileError.swift",
"FileSystem.swift",
"Folder.swift",
"Internal/DateExt.swift",
"Internal/FileHandleExt.swift",
"Internal/StringExt.swift",
"Path.swift",
"Store.swift",
"Type.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.