Build Information
Successful build of Files with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Files.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/elegantchaos/Files
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ccb417b stop testing on Linux for now
Cloned https://github.com/elegantchaos/Files.git
Revision (git rev-parse @):
ccb417b5b4f2d473964594a7c906a50a62c8530c
SUCCESS checkout https://github.com/elegantchaos/Files.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/Files.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/elegantchaos/Matchable.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/565] Fetching xctestextensions
[566/678] Fetching xctestextensions, matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.20s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.20s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.2 (0.53s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.6 (0.44s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.2
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.6
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/20] Emitting module Files
/host/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias ItemType = ThrowingCommon
14 |
15 | public static var `default` = FileManager.default.locations
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 |
17 | public static func folder(for url: URL) -> ThrowingFolder {
[5/22] Compiling Files FileManager+Directories.swift
[6/22] Compiling Files FileManager+General.swift
[7/22] Compiling Files FolderManager.swift
[8/22] Compiling Files URL+General.swift
[9/22] Compiling Files URL+Security.swift
[10/22] Compiling Files ThrowingManager.swift
/host/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias ItemType = ThrowingCommon
14 |
15 | public static var `default` = FileManager.default.locations
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 |
17 | public static func folder(for url: URL) -> ThrowingFolder {
[11/22] Compiling Files ThrowingReference.swift
/host/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias ItemType = ThrowingCommon
14 |
15 | public static var `default` = FileManager.default.locations
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 |
17 | public static func folder(for url: URL) -> ThrowingFolder {
[12/22] Compiling Files ItemName.swift
[13/22] Compiling Files NonThrowingFile.swift
[14/22] Compiling Files NonThrowingManager.swift
[15/22] Compiling Files ThrowingFile.swift
[16/22] Compiling Files NonThrowingFolder.swift
[17/22] Compiling Files NonThrowingItem.swift
[18/22] Compiling Files Item.swift
[19/22] Compiling Files ItemContainer.swift
[20/22] Compiling Files ItemLocation.swift
[21/22] Compiling Files ThrowingFolder.swift
[22/22] Compiling Files ThrowingItem.swift
[24/25] Compiling FilesKit FolderItem+Desktop.swift
[25/25] Emitting module FilesKit
Build complete! (22.82s)
Build complete.
{
"dependencies" : [
{
"identity" : "xctestextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/XCTestExtensions.git"
}
],
"manifest_display_name" : "Files",
"name" : "Files",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Files",
"targets" : [
"Files"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FilesKit",
"targets" : [
"FilesKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilesTests",
"module_type" : "SwiftTarget",
"name" : "FilesTests",
"path" : "Tests/FilesTests",
"product_dependencies" : [
"XCTestExtensions"
],
"sources" : [
"FileManagerTests.swift",
"FolderManagerTests.swift",
"NoThrowFolderManagerTests.swift",
"URLTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Files"
],
"type" : "test"
},
{
"c99name" : "FilesKit",
"module_type" : "SwiftTarget",
"name" : "FilesKit",
"path" : "Sources/FilesKit",
"product_memberships" : [
"FilesKit"
],
"sources" : [
"FolderItem+Desktop.swift"
],
"target_dependencies" : [
"Files"
],
"type" : "library"
},
{
"c99name" : "Files",
"module_type" : "SwiftTarget",
"name" : "Files",
"path" : "Sources/Files",
"product_memberships" : [
"Files",
"FilesKit"
],
"sources" : [
"FileManager+Directories.swift",
"FileManager+General.swift",
"FolderManager.swift",
"Item.swift",
"ItemContainer.swift",
"ItemLocation.swift",
"ItemName.swift",
"NonThrowing/NonThrowingFile.swift",
"NonThrowing/NonThrowingFolder.swift",
"NonThrowing/NonThrowingItem.swift",
"NonThrowing/NonThrowingManager.swift",
"Throwing/ThrowingFile.swift",
"Throwing/ThrowingFolder.swift",
"Throwing/ThrowingItem.swift",
"Throwing/ThrowingManager.swift",
"Throwing/ThrowingReference.swift",
"URL+General.swift",
"URL+Security.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.