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 Linux on 4 Nov 2024 01:31:39 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/OperatorFoundation/BlueSocket.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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OperatorFoundation/BlueSocket.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
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.06s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.66s)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[7/18] Write swift-version-24593BA9C3E375BF.txt
[9/26] Emitting module ArgumentParserToolInfo
[10/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/27] Wrapping AST for ArgumentParserToolInfo for debugging
[13/65] Emitting module ArgumentParser
[14/70] Compiling ArgumentParser ArgumentVisibility.swift
[15/70] Compiling ArgumentParser CompletionKind.swift
[16/70] Compiling ArgumentParser Errors.swift
[17/70] Compiling ArgumentParser Flag.swift
[18/70] Compiling ArgumentParser NameSpecification.swift
[19/70] Compiling ArgumentParser Option.swift
[20/70] Compiling Socket Socket+Equatable.swift
[21/70] Emitting module Socket
[22/70] Compiling Socket Socket+Hashable.swift
[23/70] Compiling Socket Socket.swift
[24/70] Compiling Socket SocketProtocols.swift
[25/70] Compiling Socket SocketUtils.swift
[26/71] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/71] Compiling ArgumentParser CompletionsGenerator.swift
[28/71] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/71] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/71] Compiling ArgumentParser Argument.swift
[31/71] Compiling ArgumentParser ArgumentHelp.swift
[33/71] Compiling ArgumentParser DumpHelpGenerator.swift
[34/71] Compiling ArgumentParser HelpCommand.swift
[35/71] Compiling ArgumentParser HelpGenerator.swift
[36/71] Compiling ArgumentParser MessageInfo.swift
[37/71] Compiling ArgumentParser UsageGenerator.swift
[38/71] Compiling ArgumentParser Name.swift
[39/71] Compiling ArgumentParser Parsed.swift
[40/71] Compiling ArgumentParser ParsedValues.swift
[41/71] Compiling ArgumentParser ParserError.swift
[42/71] Compiling ArgumentParser SplitArguments.swift
[43/71] Compiling ArgumentParser ArgumentDefinition.swift
[44/71] Compiling ArgumentParser ArgumentSet.swift
[45/71] Compiling ArgumentParser CommandParser.swift
[46/71] Compiling ArgumentParser InputKey.swift
[47/71] Compiling ArgumentParser InputOrigin.swift
[48/71] Compiling ArgumentParser OptionGroup.swift
[49/71] Compiling ArgumentParser AsyncParsableCommand.swift
[50/71] Compiling ArgumentParser CommandConfiguration.swift
[51/71] Compiling ArgumentParser CommandGroup.swift
[52/71] Compiling ArgumentParser EnumerableFlag.swift
[53/71] Compiling ArgumentParser ExpressibleByArgument.swift
[54/71] Compiling ArgumentParser ParsableArguments.swift
[55/71] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/71] Compiling ArgumentParser ParsableCommand.swift
[57/71] Compiling ArgumentParser ArgumentDecoder.swift
[57/71] Wrapping AST for Socket for debugging
[59/79] Compiling ArgumentParser CollectionExtensions.swift
[60/79] Compiling ArgumentParser Platform.swift
[61/79] Compiling ArgumentParser SequenceExtensions.swift
[62/79] Compiling ArgumentParser StringExtensions.swift
[63/79] Compiling ArgumentParser Tree.swift
[65/80] Compiling BlueSocketTestCommonLibrary Array+ClientController.swift
[66/81] Compiling BlueSocketTestCommonLibrary Common.swift
[67/81] Compiling BlueSocketTestCommonLibrary ClientHandler.swift
[68/81] Compiling BlueSocketTestCommonLibrary ClientController.swift
[69/81] Emitting module BlueSocketTestCommonLibrary
/host/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]
[70/81] Compiling BlueSocketTestCommonLibrary Array+SocketHandler.swift
[71/81] Compiling BlueSocketTestCommonLibrary ServerOperation.swift
/host/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]
[72/81] Compiling BlueSocketTestCommonLibrary ServerHandler.swift
[72/81] Wrapping AST for ArgumentParser for debugging
[74/81] Compiling BlueSocketTestCommonLibrary SocketHandler.swift
[75/82] Wrapping AST for BlueSocketTestCommonLibrary for debugging
[77/86] Emitting module BlueSocketTestServer
[78/86] Compiling BlueSocketTestServer main.swift
[80/87] Emitting module BlueSocketTestClient
[81/87] Compiling BlueSocketTestClient main.swift
[82/88] Wrapping AST for BlueSocketTestServer for debugging
[83/88] Write Objects.LinkFileList
[84/88] Wrapping AST for BlueSocketTestClient for debugging
[85/88] Write Objects.LinkFileList
[86/88] Linking BlueSocketTestServer
[87/88] Linking BlueSocketTestClient
Build complete! (24.00s)
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" : "/host/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"
}
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.