This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SSLService with Swift 6.0 for Linux.

Swift 6 data race errors: 2

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/Kitura/BlueSSLService.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/Kitura/BlueSSLService
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Kitura/BlueSSLService.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
[42/3145] Fetching openssl, bluesocket
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.47s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.48s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.34s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.83s)
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] Compiling Socket SocketProtocols.swift
[5/9] Emitting module Socket
[6/9] Compiling Socket Socket+Equatable.swift
[7/9] Compiling Socket SocketUtils.swift
[8/9] Compiling Socket Socket.swift
[9/9] Compiling Socket Socket+Hashable.swift
[11/13] Compiling SSLService SSLPointerTricks.swift
[12/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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
[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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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! (26.48s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.