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-4609320-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/JohnSundell/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/JohnSundell/files
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d273b5b Add `isEmpty` method for `Folder` (#119)
Cloned https://github.com/JohnSundell/files.git
Revision (git rev-parse @):
d273b5b7025d386feef79ef6bad7de762e106eaf
SUCCESS checkout https://github.com/JohnSundell/files.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/JohnSundell/files.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling Files Files.swift
/host/spi-builder-workspace/Sources/Files.swift:939:16: warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
933 |
934 | /// Error type thrown by all of Files' throwing APIs.
935 | public struct FilesError<Reason>: Error {
| `- note: consider making generic parameter 'Reason' conform to the 'Sendable' protocol
936 | /// The absolute path that the error occured at.
937 | public var path: String
938 | /// The reason that the error occured.
939 | public var reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
940 |
941 | /// Initialize an instance with a path and a reason.
[4/4] Emitting module Files
/host/spi-builder-workspace/Sources/Files.swift:939:16: warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
933 |
934 | /// Error type thrown by all of Files' throwing APIs.
935 | public struct FilesError<Reason>: Error {
| `- note: consider making generic parameter 'Reason' conform to the 'Sendable' protocol
936 | /// The absolute path that the error occured at.
937 | public var path: String
938 | /// The reason that the error occured.
939 | public var reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
940 |
941 | /// Initialize an instance with a path and a reason.
Build complete! (11.74s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Files",
"name" : "Files",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Files",
"targets" : [
"Files"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilesTests",
"module_type" : "SwiftTarget",
"name" : "FilesTests",
"path" : "Tests/FilesTests",
"sources" : [
"FilesTests.swift"
],
"target_dependencies" : [
"Files"
],
"type" : "test"
},
{
"c99name" : "Files",
"module_type" : "SwiftTarget",
"name" : "Files",
"path" : "Sources",
"product_memberships" : [
"Files"
],
"sources" : [
"Files.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.