Build Information
Successful build of DBThreadSafe, reference 2.2.0 (19a7f3
), with Swift 5.10 for Linux on 5 Mar 2025 14:46:10 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dodobrands/DBThreadSafe-ios.git
Reference: 2.2.0
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/dodobrands/DBThreadSafe-ios
* tag 2.2.0 -> FETCH_HEAD
HEAD is now at 19a7f34 Downgrade swift version (#17)
Cloned https://github.com/dodobrands/DBThreadSafe-ios.git
Revision (git rev-parse @):
19a7f347f721a5c18aa275fc2d5bc207c536d4a3
SUCCESS checkout https://github.com/dodobrands/DBThreadSafe-ios.git at 2.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/dodobrands/DBThreadSafe-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Emitting module DBThreadSafe
/host/spi-builder-workspace/Sources/DBThreadSafe/DBThreadSafeContainer.swift:4:37: warning: stored property 'value' of 'Sendable'-conforming generic class 'DBThreadSafeContainer' is mutable
nonisolated(unsafe) private var value: T
^
/host/spi-builder-workspace/Sources/DBThreadSafe/Lock.swift:4:37: warning: stored property 'lock' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_rwlock_t>'
nonisolated(unsafe) private let lock = UnsafeMutablePointer<pthread_rwlock_t>.allocate(capacity: 1)
^
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafeMutablePointer<Pointee> : _Pointer {
^
[4/5] Compiling DBThreadSafe DBThreadSafeContainer.swift
/host/spi-builder-workspace/Sources/DBThreadSafe/DBThreadSafeContainer.swift:4:37: warning: stored property 'value' of 'Sendable'-conforming generic class 'DBThreadSafeContainer' is mutable
nonisolated(unsafe) private var value: T
^
[5/5] Compiling DBThreadSafe Lock.swift
/host/spi-builder-workspace/Sources/DBThreadSafe/Lock.swift:4:37: warning: stored property 'lock' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_rwlock_t>'
nonisolated(unsafe) private let lock = UnsafeMutablePointer<pthread_rwlock_t>.allocate(capacity: 1)
^
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafeMutablePointer<Pointee> : _Pointer {
^
Build complete! (6.96s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DBThreadSafe",
"name" : "DBThreadSafe",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DBThreadSafe",
"targets" : [
"DBThreadSafe"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DBThreadSafeTests",
"module_type" : "SwiftTarget",
"name" : "DBThreadSafeTests",
"path" : "Tests/DBThreadSafeTests",
"sources" : [
"DBThreadSafeContainerTests.swift"
],
"target_dependencies" : [
"DBThreadSafe"
],
"type" : "test"
},
{
"c99name" : "DBThreadSafe",
"module_type" : "SwiftTarget",
"name" : "DBThreadSafe",
"path" : "Sources/DBThreadSafe",
"product_memberships" : [
"DBThreadSafe"
],
"sources" : [
"DBThreadSafeContainer.swift",
"Lock.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.