Build Information
Successful build of swift-any-sort-comparator, reference main (eb4b39
), with Swift 6.0 for Linux on 3 Nov 2024 13:28:38 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roanutil/swift-any-sort-comparator.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/roanutil/swift-any-sort-comparator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at eb4b39e Merge pull request #3 from roanutil/spi-documentation
Cloned https://github.com/roanutil/swift-any-sort-comparator.git
Revision (git rev-parse @):
eb4b39e9e3060d79ccbd82d59852b8bee4be1c71
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/roanutil/swift-any-sort-comparator.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/roanutil/swift-any-sort-comparator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling AnySortComparator AnySortComparator.swift
/host/spi-builder-workspace/Sources/AnySortComparator/AnySortComparator.swift:39:17: warning: stored property '_compare' of 'Sendable'-conforming generic struct 'AnySortComparator' has non-sendable type '(Compared, Compared) -> ComparisonResult'; this is an error in the Swift 6 language mode
37 | // MARK: Private properties
38 |
39 | private let _compare: (Compared, Compared) -> ComparisonResult
| |- warning: stored property '_compare' of 'Sendable'-conforming generic struct 'AnySortComparator' has non-sendable type '(Compared, Compared) -> ComparisonResult'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | private let initialOrder: SortOrder
41 |
/host/spi-builder-workspace/Sources/AnySortComparator/AnySortComparator.swift:42:21: warning: stored property 'hashableBase' of 'Sendable'-conforming generic struct 'AnySortComparator' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
40 | private let initialOrder: SortOrder
41 |
42 | fileprivate let hashableBase: AnyHashable
| `- warning: stored property 'hashableBase' of 'Sendable'-conforming generic struct 'AnySortComparator' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
43 | }
44 |
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
[4/5] Emitting module AnySortComparator
/host/spi-builder-workspace/Sources/AnySortComparator/AnySortComparator.swift:39:17: warning: stored property '_compare' of 'Sendable'-conforming generic struct 'AnySortComparator' has non-sendable type '(Compared, Compared) -> ComparisonResult'; this is an error in the Swift 6 language mode
37 | // MARK: Private properties
38 |
39 | private let _compare: (Compared, Compared) -> ComparisonResult
| |- warning: stored property '_compare' of 'Sendable'-conforming generic struct 'AnySortComparator' has non-sendable type '(Compared, Compared) -> ComparisonResult'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | private let initialOrder: SortOrder
41 |
/host/spi-builder-workspace/Sources/AnySortComparator/AnySortComparator.swift:42:21: warning: stored property 'hashableBase' of 'Sendable'-conforming generic struct 'AnySortComparator' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
40 | private let initialOrder: SortOrder
41 |
42 | fileprivate let hashableBase: AnyHashable
| `- warning: stored property 'hashableBase' of 'Sendable'-conforming generic struct 'AnySortComparator' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
43 | }
44 |
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
[5/5] Compiling AnySortComparator ComparisonResult+Inverted.swift
Build complete! (15.21s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-any-sort-comparator",
"name" : "swift-any-sort-comparator",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "AnySortComparator",
"targets" : [
"AnySortComparator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AnySortComparatorTests",
"module_type" : "SwiftTarget",
"name" : "AnySortComparatorTests",
"path" : "Tests/AnySortComparatorTests",
"sources" : [
"AnySortComparatorTests.swift"
],
"target_dependencies" : [
"AnySortComparator"
],
"type" : "test"
},
{
"c99name" : "AnySortComparator",
"module_type" : "SwiftTarget",
"name" : "AnySortComparator",
"path" : "Sources/AnySortComparator",
"product_memberships" : [
"AnySortComparator"
],
"sources" : [
"AnySortComparator.swift",
"ComparisonResult+Inverted.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.