Build Information
Successful build of swift-file, reference main (c19370
), with Swift 6.1 for Android on 22 Jul 2025 17:01:12 UTC.
Swift 6 data race errors: 13
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.64.0
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 c193707 Update Store
Cloned https://github.com/pelagornis/swift-file.git
Revision (git rev-parse @):
c193707fff23617c82c0f04ea2f1ec570a93fe34
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"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"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_dependencies" : [
"Logging"
],
"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-4609320-2":/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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
[1/3871] Fetching swift-log
[1743/5965] Fetching swift-log, swift-docc-plugin
Fetched https://github.com/apple/swift-log from cache (0.44s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.44s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3430] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.89s)
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
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.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging Logging.swift
[7/10] Compiling Logging LogHandler.swift
[8/10] Compiling Logging MetadataProvider.swift
[9/10] Emitting module Logging
[10/10] Compiling Logging Locks.swift
[12/22] Compiling File Store.swift
[13/23] Emitting module File
/host/spi-builder-workspace/Sources/File/FileError.swift:9: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
7 | public enum FileError: Error {
8 | /// File Create Error
9 | 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
10 | /// Verify that file path is empty.
11 | case filePathEmpty(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:11: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
9 | case fileCreateError(path: Path)
10 | /// Verify that file path is empty.
11 | 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
12 | /// Folder Create Error
13 | case folderCreateError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:13: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
11 | case filePathEmpty(path: Path)
12 | /// Folder Create Error
13 | 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
14 | /// Verify that path is empty.
15 | case emptyPath(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:15: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
13 | case folderCreateError(path: Path, error: Error)
14 | /// Verify that path is empty.
15 | 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
16 | /// Write Failed Error.
17 | case writeFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:17: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
15 | case emptyPath(path: Path)
16 | /// Write Failed Error.
17 | 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
18 | /// Write String Encoding Error.
19 | case writeStringEncodingFailed(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:19: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
17 | case writeFailed(path: Path, error: Error)
18 | /// Write String Encoding Error.
19 | 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
20 | /// Read Failed Error.
21 | case readFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:21: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
19 | case writeStringEncodingFailed(path: Path)
20 | /// Read Failed Error.
21 | 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
22 | /// Can Not Renamed Error.
23 | case cannotRename(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:23: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
21 | case readFailed(path: Path, error: Error)
22 | /// Can Not Renamed Error.
23 | 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
24 | /// Move Failed Error
25 | case moveError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:25: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
23 | case cannotRename(path: Path)
24 | /// Move Failed Error
25 | 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
26 | /// Copy Failed Error
27 | case copyError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:27: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
25 | case moveError(path: Path, error: Error)
26 | /// Copy Failed Error
27 | 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
28 | /// Delete Failed Error
29 | case deleteError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:29: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
27 | case copyError(path: Path, error: Error)
28 | /// Delete Failed Error
29 | 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
30 | /// Missing Error
31 | case missing(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:31: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
29 | case deleteError(path: Path, error: Error)
30 | /// Missing Error
31 | 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
32 | }
33 |
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/Path.swift:8: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
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | 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
9 |
10 | /// Home path.
[14/23] Compiling File Type.swift
[15/23] Compiling File StringExt.swift
[16/23] Compiling File FileHandleExt.swift
[17/23] Compiling File FileError.swift
/host/spi-builder-workspace/Sources/File/FileError.swift:9: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
7 | public enum FileError: Error {
8 | /// File Create Error
9 | 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
10 | /// Verify that file path is empty.
11 | case filePathEmpty(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:11: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
9 | case fileCreateError(path: Path)
10 | /// Verify that file path is empty.
11 | 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
12 | /// Folder Create Error
13 | case folderCreateError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:13: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
11 | case filePathEmpty(path: Path)
12 | /// Folder Create Error
13 | 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
14 | /// Verify that path is empty.
15 | case emptyPath(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:15: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
13 | case folderCreateError(path: Path, error: Error)
14 | /// Verify that path is empty.
15 | 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
16 | /// Write Failed Error.
17 | case writeFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:17: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
15 | case emptyPath(path: Path)
16 | /// Write Failed Error.
17 | 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
18 | /// Write String Encoding Error.
19 | case writeStringEncodingFailed(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:19: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
17 | case writeFailed(path: Path, error: Error)
18 | /// Write String Encoding Error.
19 | 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
20 | /// Read Failed Error.
21 | case readFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:21: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
19 | case writeStringEncodingFailed(path: Path)
20 | /// Read Failed Error.
21 | 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
22 | /// Can Not Renamed Error.
23 | case cannotRename(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:23: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
21 | case readFailed(path: Path, error: Error)
22 | /// Can Not Renamed Error.
23 | 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
24 | /// Move Failed Error
25 | case moveError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:25: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
23 | case cannotRename(path: Path)
24 | /// Move Failed Error
25 | 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
26 | /// Copy Failed Error
27 | case copyError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:27: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
25 | case moveError(path: Path, error: Error)
26 | /// Copy Failed Error
27 | 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
28 | /// Delete Failed Error
29 | case deleteError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:29: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
27 | case copyError(path: Path, error: Error)
28 | /// Delete Failed Error
29 | 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
30 | /// Missing Error
31 | case missing(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:31: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
29 | case deleteError(path: Path, error: Error)
30 | /// Missing Error
31 | 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
32 | }
33 |
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
[18/23] Compiling File FileSystem.swift
/host/spi-builder-workspace/Sources/File/FileError.swift:9: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
7 | public enum FileError: Error {
8 | /// File Create Error
9 | 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
10 | /// Verify that file path is empty.
11 | case filePathEmpty(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:11: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
9 | case fileCreateError(path: Path)
10 | /// Verify that file path is empty.
11 | 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
12 | /// Folder Create Error
13 | case folderCreateError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:13: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
11 | case filePathEmpty(path: Path)
12 | /// Folder Create Error
13 | 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
14 | /// Verify that path is empty.
15 | case emptyPath(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:15: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
13 | case folderCreateError(path: Path, error: Error)
14 | /// Verify that path is empty.
15 | 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
16 | /// Write Failed Error.
17 | case writeFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:17: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
15 | case emptyPath(path: Path)
16 | /// Write Failed Error.
17 | 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
18 | /// Write String Encoding Error.
19 | case writeStringEncodingFailed(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:19: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
17 | case writeFailed(path: Path, error: Error)
18 | /// Write String Encoding Error.
19 | 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
20 | /// Read Failed Error.
21 | case readFailed(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:21: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
19 | case writeStringEncodingFailed(path: Path)
20 | /// Read Failed Error.
21 | 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
22 | /// Can Not Renamed Error.
23 | case cannotRename(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:23: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
21 | case readFailed(path: Path, error: Error)
22 | /// Can Not Renamed Error.
23 | 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
24 | /// Move Failed Error
25 | case moveError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:25: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
23 | case cannotRename(path: Path)
24 | /// Move Failed Error
25 | 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
26 | /// Copy Failed Error
27 | case copyError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:27: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
25 | case moveError(path: Path, error: Error)
26 | /// Copy Failed Error
27 | 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
28 | /// Delete Failed Error
29 | case deleteError(path: Path, error: Error)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:29: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
27 | case copyError(path: Path, error: Error)
28 | /// Delete Failed Error
29 | 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
30 | /// Missing Error
31 | case missing(path: Path)
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/host/spi-builder-workspace/Sources/File/FileError.swift:31: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
29 | case deleteError(path: Path, error: Error)
30 | /// Missing Error
31 | 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
32 | }
33 |
/host/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
[19/23] Compiling File Child.swift
[20/23] Compiling File File.swift
[21/23] Compiling File Path.swift
/host/spi-builder-workspace/Sources/File/Path.swift:8: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
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | 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
9 |
10 | /// Home path.
/host/spi-builder-workspace/Sources/File/Path.swift:93:33: warning: result of call to 'changeCurrentDirectoryPath' is unused
91 | return Path(FileManager.default.currentDirectoryPath)
92 | } set {
93 | FileManager.default.changeCurrentDirectoryPath(newValue.safeRawValue)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
94 | }
95 | }
[22/23] Compiling File Folder.swift
[23/23] Compiling File DateExt.swift
Build complete! (26.22s)
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"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"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_dependencies" : [
"Logging"
],
"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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.