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 Socket, reference main (5a936a), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 01:42:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/BlueSocket.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/BlueSocket
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5a936a3 Update Package.swift
Cloned https://github.com/OperatorFoundation/BlueSocket.git
Revision (git rev-parse @):
5a936a3b46fc97e4220e92aa7c9e7d957710d629
SUCCESS checkout https://github.com/OperatorFoundation/BlueSocket.git at main
Fetching https://github.com/apple/swift-argument-parser
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.48s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "bluesocket",
      "name": "Socket",
      "url": "https://github.com/OperatorFoundation/BlueSocket.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/OperatorFoundation/BlueSocket.git
[1/2764] Fetching bluesocket
Fetched https://github.com/OperatorFoundation/BlueSocket.git from cache (1.10s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.03s)
Creating working copy for https://github.com/OperatorFoundation/BlueSocket.git
Working copy of https://github.com/OperatorFoundation/BlueSocket.git resolved at main (5a936a3)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OperatorFoundation/BlueSocket.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write BlueSocketTestClient-entitlement.plist
[8/16] Write BlueSocketTestServer-entitlement.plist
[9/16] Write swift-version--7754E27361AE5C74.txt
[11/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/24] Emitting module ArgumentParserToolInfo
[13/63] Compiling ArgumentParser CommandConfiguration.swift
[14/63] Compiling ArgumentParser CommandGroup.swift
[15/63] Compiling ArgumentParser EnumerableFlag.swift
[16/63] Compiling ArgumentParser ExpressibleByArgument.swift
[17/67] Compiling ArgumentParser ArgumentHelp.swift
[18/67] Compiling ArgumentParser ArgumentVisibility.swift
[19/67] Compiling ArgumentParser CompletionKind.swift
[20/67] Compiling ArgumentParser Errors.swift
[21/67] Compiling ArgumentParser Flag.swift
[22/67] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/67] Compiling ArgumentParser CompletionsGenerator.swift
[24/67] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/67] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/67] Compiling ArgumentParser Argument.swift
[27/67] Compiling ArgumentParser Platform.swift
[28/67] Compiling ArgumentParser SequenceExtensions.swift
[29/67] Compiling ArgumentParser StringExtensions.swift
[30/67] Compiling ArgumentParser Tree.swift
[31/67] Emitting module ArgumentParser
[32/67] Compiling ArgumentParser ArgumentDefinition.swift
[33/67] Compiling ArgumentParser ArgumentSet.swift
[34/67] Compiling ArgumentParser CommandParser.swift
[35/67] Compiling ArgumentParser InputKey.swift
[36/67] Compiling Socket SocketUtils.swift
[37/67] Compiling Socket SocketProtocols.swift
[38/67] Compiling Socket Socket+Equatable.swift
[39/67] Compiling ArgumentParser ParserError.swift
[40/67] Compiling ArgumentParser SplitArguments.swift
[41/67] Compiling ArgumentParser DumpHelpGenerator.swift
[42/67] Compiling ArgumentParser HelpCommand.swift
[43/67] Compiling ArgumentParser ParsableArguments.swift
[44/67] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/67] Compiling ArgumentParser ParsableCommand.swift
[46/67] Compiling ArgumentParser ArgumentDecoder.swift
[47/67] Compiling ArgumentParser InputOrigin.swift
[48/67] Compiling ArgumentParser Name.swift
[49/67] Compiling ArgumentParser Parsed.swift
[50/67] Compiling ArgumentParser ParsedValues.swift
[51/67] Compiling ArgumentParser HelpGenerator.swift
[52/67] Compiling ArgumentParser MessageInfo.swift
[53/67] Compiling ArgumentParser UsageGenerator.swift
[54/67] Compiling ArgumentParser CollectionExtensions.swift
[55/67] Compiling ArgumentParser NameSpecification.swift
[56/67] Compiling ArgumentParser Option.swift
[57/67] Compiling ArgumentParser OptionGroup.swift
[58/67] Compiling ArgumentParser AsyncParsableCommand.swift
[59/67] Compiling Socket Socket.swift
[60/67] Emitting module Socket
[61/67] Compiling Socket Socket+Hashable.swift
[62/76] Compiling BlueSocketTestCommonLibrary SocketHandler.swift
[63/76] Compiling BlueSocketTestCommonLibrary ServerHandler.swift
[64/76] Compiling BlueSocketTestCommonLibrary ClientHandler.swift
[65/76] Compiling BlueSocketTestCommonLibrary Common.swift
[66/76] Compiling BlueSocketTestCommonLibrary ServerOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlueSocketTestCommonLibrary/ServerOperation.swift:24:14: warning: class 'ServerOperation' must restate inherited '@unchecked Sendable' conformance
22 | import Socket
23 |
24 | public class ServerOperation: Operation {
   |              `- warning: class 'ServerOperation' must restate inherited '@unchecked Sendable' conformance
25 |     let serverHandler: ServerHandler
26 |     var clientHandlers: [ClientHandler]
[67/76] Emitting module BlueSocketTestCommonLibrary
/Users/admin/builder/spi-builder-workspace/Sources/BlueSocketTestCommonLibrary/ServerOperation.swift:24:14: warning: class 'ServerOperation' must restate inherited '@unchecked Sendable' conformance
22 | import Socket
23 |
24 | public class ServerOperation: Operation {
   |              `- warning: class 'ServerOperation' must restate inherited '@unchecked Sendable' conformance
25 |     let serverHandler: ServerHandler
26 |     var clientHandlers: [ClientHandler]
[68/76] Compiling BlueSocketTestCommonLibrary Array+SocketHandler.swift
[69/76] Compiling BlueSocketTestCommonLibrary Array+ClientController.swift
[70/76] Compiling BlueSocketTestCommonLibrary ClientController.swift
[71/80] Compiling BlueSocketTestServer main.swift
[72/80] Emitting module BlueSocketTestServer
[72/80] Write Objects.LinkFileList
[74/80] Emitting module BlueSocketTestClient
[75/80] Compiling BlueSocketTestClient main.swift
[75/80] Write Objects.LinkFileList
[76/80] Linking BlueSocketTestServer
[77/80] Linking BlueSocketTestClient
[78/80] Applying BlueSocketTestServer
[79/80] Applying BlueSocketTestClient
Build complete! (15.91s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Socket",
  "name" : "Socket",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Socket",
      "targets" : [
        "Socket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BlueSocketTestCommonLibrary",
      "targets" : [
        "BlueSocketTestCommonLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BlueSocketTestServer",
      "targets" : [
        "BlueSocketTestServer"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BlueSocketTestClient",
      "targets" : [
        "BlueSocketTestClient"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SocketTests",
      "module_type" : "SwiftTarget",
      "name" : "SocketTests",
      "path" : "Tests/SocketTests",
      "sources" : [
        "SocketTests.swift",
        "VerifyLinuxTestCount.swift"
      ],
      "target_dependencies" : [
        "Socket",
        "BlueSocketTestCommonLibrary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Socket",
      "module_type" : "SwiftTarget",
      "name" : "Socket",
      "path" : "Sources/Socket",
      "product_memberships" : [
        "Socket",
        "BlueSocketTestCommonLibrary",
        "BlueSocketTestServer",
        "BlueSocketTestClient"
      ],
      "sources" : [
        "Socket+Equatable.swift",
        "Socket+Hashable.swift",
        "Socket.swift",
        "SocketProtocols.swift",
        "SocketUtils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BlueSocketTestServer",
      "module_type" : "SwiftTarget",
      "name" : "BlueSocketTestServer",
      "path" : "Sources/BlueSocketTestServer",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "BlueSocketTestServer"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "BlueSocketTestCommonLibrary"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BlueSocketTestCommonLibrary",
      "module_type" : "SwiftTarget",
      "name" : "BlueSocketTestCommonLibrary",
      "path" : "Sources/BlueSocketTestCommonLibrary",
      "product_memberships" : [
        "BlueSocketTestCommonLibrary",
        "BlueSocketTestServer",
        "BlueSocketTestClient"
      ],
      "sources" : [
        "Array+ClientController.swift",
        "Array+SocketHandler.swift",
        "ClientController.swift",
        "ClientHandler.swift",
        "Common.swift",
        "ServerHandler.swift",
        "ServerOperation.swift",
        "SocketHandler.swift"
      ],
      "target_dependencies" : [
        "Socket"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BlueSocketTestClient",
      "module_type" : "SwiftTarget",
      "name" : "BlueSocketTestClient",
      "path" : "Sources/BlueSocketTestClient",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "BlueSocketTestClient"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "BlueSocketTestCommonLibrary"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
Done.