Build Information
Successful build of SSLService, reference 2.0.2 (b27a94
), with Swift 6.0 for Linux on 29 Nov 2024 01:14:43 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/BlueSSLService.git
Reference: 2.0.2
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/Kitura/BlueSSLService
* tag 2.0.2 -> FETCH_HEAD
HEAD is now at b27a94d Update podspec for 2.0.2
Cloned https://github.com/Kitura/BlueSSLService.git
Revision (git rev-parse @):
b27a94d063962dfa1bba9f79814c4ef202cf33a4
SUCCESS checkout https://github.com/Kitura/BlueSSLService.git at 2.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Kitura/BlueSSLService.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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
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
Fetching https://github.com/Kitura/OpenSSL.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.17s)
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.31s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.08s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.58s)
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module Socket
[5/9] Compiling Socket Socket+Equatable.swift
[6/9] Compiling Socket Socket+Hashable.swift
[7/9] Compiling Socket Socket.swift
[8/9] Compiling Socket SocketUtils.swift
[9/9] Compiling Socket SocketProtocols.swift
[11/13] Emitting module SSLService
/host/spi-builder-workspace/Sources/SSLService/SSLService.swift:41:14: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | #if os(Linux)
40 | /// Flag set to indicate that OpenSSL has been initialized. This initialization need only be done once per instance.
41 | static var initialized: Bool = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' 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
42 | #endif
43 |
/host/spi-builder-workspace/Sources/SSLService/SSLService.swift:364:28: warning: static property 'availableAlpnProtocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
362 |
363 | /// Array of available ALPN protocols
364 | private static var availableAlpnProtocols = [String]()
| |- warning: static property 'availableAlpnProtocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'availableAlpnProtocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'availableAlpnProtocols' 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
365 |
366 | /// The negotiated ALPN protocol, if any
[12/13] Compiling SSLService SSLPointerTricks.swift
[13/13] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/Sources/SSLService/SSLService.swift:41:14: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | #if os(Linux)
40 | /// Flag set to indicate that OpenSSL has been initialized. This initialization need only be done once per instance.
41 | static var initialized: Bool = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' 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
42 | #endif
43 |
/host/spi-builder-workspace/Sources/SSLService/SSLService.swift:364:28: warning: static property 'availableAlpnProtocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
362 |
363 | /// Array of available ALPN protocols
364 | private static var availableAlpnProtocols = [String]()
| |- warning: static property 'availableAlpnProtocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'availableAlpnProtocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'availableAlpnProtocols' 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
365 |
366 | /// The negotiated ALPN protocol, if any
Build complete! (18.62s)
Build complete.
{
"dependencies" : [
{
"identity" : "bluesocket",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSocket.git"
},
{
"identity" : "openssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/OpenSSL.git"
}
],
"manifest_display_name" : "SSLService",
"name" : "SSLService",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SSLService",
"targets" : [
"SSLService"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SSLServiceTests",
"module_type" : "SwiftTarget",
"name" : "SSLServiceTests",
"path" : "Tests/SSLServiceTests",
"sources" : [
"SSLServiceTests.swift",
"VerifyLinuxTestCount.swift"
],
"target_dependencies" : [
"SSLService"
],
"type" : "test"
},
{
"c99name" : "SSLService",
"module_type" : "SwiftTarget",
"name" : "SSLService",
"path" : "Sources/SSLService",
"product_dependencies" : [
"Socket",
"OpenSSL"
],
"product_memberships" : [
"SSLService"
],
"sources" : [
"SSLPointerTricks.swift",
"SSLService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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.