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 hmap, reference 1.0.4 (080d03), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 08:40:15 UTC.

Swift 6 data race errors: 1

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/milend/hmap.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/milend/hmap
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at 080d03a Bump version to 1.0.4
Cloned https://github.com/milend/hmap.git
Revision (git rev-parse @):
080d03a61337be936cd36d8546392dd1056fc9d5
SUCCESS checkout https://github.com/milend/hmap.git at 1.0.4
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[165/2609] Fetching spectre, commander
Fetched https://github.com/kylef/Commander.git from cache (0.97s)
Fetched https://github.com/kylef/Spectre.git from cache (0.97s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.0 (0.63s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (2.47s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.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": "hmap",
      "name": "hmap",
      "url": "https://github.com/milend/hmap.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/hmap",
      "dependencies": [
        {
          "identity": "commander",
          "name": "Commander",
          "url": "https://github.com/kylef/Commander.git",
          "version": "0.9.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commander",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/milend/hmap.git
[1/193] Fetching hmap
Fetched https://github.com/milend/hmap.git from cache (0.65s)
Fetching https://github.com/kylef/Commander.git from cache
Fetched https://github.com/kylef/Commander.git from cache (0.49s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.61s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.50s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.51s)
Creating working copy for https://github.com/milend/hmap.git
Working copy of https://github.com/milend/hmap.git resolved at 1.0.4 (080d03a)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Found 1 product dependencies
  - Commander
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/milend/hmap.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
Building for debugging...
[0/10] Write sources
[4/10] Write hmap-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/32] Compiling Commander Error.swift
[9/32] Compiling Commander Group.swift
[10/32] Compiling Commander CommandRunner.swift
[11/32] Compiling Commander CommandType.swift
[12/32] Compiling Commander Command.swift
[13/32] Compiling Commander ArgumentParser.swift
[14/32] Compiling Commander Commands.swift
[15/32] Emitting module Commander
[16/32] Compiling Commander ArgumentDescription.swift
[17/32] Compiling Commander ArgumentConvertible.swift
[18/32] Compiling HeaderMapTesting TestingExtensions.swift
[19/32] Emitting module HeaderMapTesting
[20/32] Compiling HeaderMapCore HeaderMapError.swift
[21/32] Compiling HeaderMapCore NumberExtensions.swift
[22/32] Compiling HeaderMapCore ArrayExtensions.swift
[23/32] Compiling HeaderMapCore DictionaryExtensions.swift
[24/32] Compiling HeaderMapCore HeaderMapMaker.swift
[25/32] Compiling HeaderMapCore HeaderMap.swift
[26/32] Compiling HeaderMapCore JSONHeaderMap.swift
[27/32] Compiling HeaderMapCore ByteBuffer.swift
[28/33] Emitting module HeaderMapCore
[29/33] Compiling HeaderMapCore BinaryHeaderMap.swift
[30/33] Compiling HeaderMapCore StringExtensions.swift
[31/39] Compiling HeaderMapFrontend FrontendErrors.swift
[32/39] Compiling HeaderMapFrontend FileFormat.swift
[33/39] Compiling HeaderMapFrontend PrintCommands.swift
[34/39] Emitting module HeaderMapFrontend
/Users/admin/builder/spi-builder-workspace/Sources/HeaderMapFrontend/ConvertCommands.swift:48:10: warning: associated value 'sameFormat(format:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HeaderMapFileFormat'; this is an error in the Swift 6 language mode
 46 |
 47 |   public enum Error: LocalizedError {
 48 |     case sameFormat(format: HeaderMapFileFormat)
    |          `- warning: associated value 'sameFormat(format:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HeaderMapFileFormat'; this is an error in the Swift 6 language mode
 49 |   }
 50 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeaderMapFrontend/FileFormat.swift:23:13: note: consider making enum 'HeaderMapFileFormat' conform to the 'Sendable' protocol
21 | // SOFTWARE.
22 |
23 | public enum HeaderMapFileFormat: String {
   |             `- note: consider making enum 'HeaderMapFileFormat' conform to the 'Sendable' protocol
24 |   /** Binary format as defined by Clang */
25 |   case hmap
[35/39] Compiling HeaderMapFrontend ConvertCommands.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderMapFrontend/ConvertCommands.swift:48:10: warning: associated value 'sameFormat(format:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HeaderMapFileFormat'; this is an error in the Swift 6 language mode
 46 |
 47 |   public enum Error: LocalizedError {
 48 |     case sameFormat(format: HeaderMapFileFormat)
    |          `- warning: associated value 'sameFormat(format:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HeaderMapFileFormat'; this is an error in the Swift 6 language mode
 49 |   }
 50 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeaderMapFrontend/FileFormat.swift:23:13: note: consider making enum 'HeaderMapFileFormat' conform to the 'Sendable' protocol
21 | // SOFTWARE.
22 |
23 | public enum HeaderMapFileFormat: String {
   |             `- note: consider making enum 'HeaderMapFileFormat' conform to the 'Sendable' protocol
24 |   /** Binary format as defined by Clang */
25 |   case hmap
[36/39] Compiling HeaderMapFrontend Command.swift
[37/45] Compiling hmap main.swift
[38/45] Compiling hmap StringExtensions.swift
[39/45] Compiling hmap ReturnCodes.swift
[40/45] Compiling hmap Convert.swift
[41/45] Emitting module hmap
[42/45] Compiling hmap Print.swift
[42/45] Write Objects.LinkFileList
[43/45] Linking hmap
[44/45] Applying hmap
Build complete! (21.53s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    }
  ],
  "manifest_display_name" : "hmap",
  "name" : "hmap",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "hmap",
      "targets" : [
        "hmap"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "hmap",
      "module_type" : "SwiftTarget",
      "name" : "hmap",
      "path" : "Sources/hmap",
      "product_dependencies" : [
        "Commander"
      ],
      "product_memberships" : [
        "hmap"
      ],
      "sources" : [
        "Convert.swift",
        "Print.swift",
        "ReturnCodes.swift",
        "StringExtensions.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "HeaderMapCore",
        "HeaderMapFrontend"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HeaderMapTesting",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapTesting",
      "path" : "Sources/HeaderMapTesting",
      "sources" : [
        "TestingExtensions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HeaderMapFrontendTests",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapFrontendTests",
      "path" : "Tests/HeaderMapFrontendTests",
      "sources" : [
        "CommandTests.swift",
        "CommandTestsData.swift"
      ],
      "target_dependencies" : [
        "HeaderMapTesting",
        "HeaderMapFrontend"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HeaderMapFrontend",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapFrontend",
      "path" : "Sources/HeaderMapFrontend",
      "product_memberships" : [
        "hmap"
      ],
      "sources" : [
        "Command.swift",
        "ConvertCommands.swift",
        "FileFormat.swift",
        "FrontendErrors.swift",
        "PrintCommands.swift"
      ],
      "target_dependencies" : [
        "HeaderMapCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HeaderMapCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapCoreTests",
      "path" : "Tests/HeaderMapCoreTests",
      "sources" : [
        "HeaderMapTests.swift",
        "HeaderMapTestsData.swift"
      ],
      "target_dependencies" : [
        "HeaderMapTesting",
        "HeaderMapCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HeaderMapCore",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapCore",
      "path" : "Sources/HeaderMapCore",
      "product_memberships" : [
        "hmap"
      ],
      "sources" : [
        "BinaryHeaderMap.swift",
        "ByteBuffer.swift",
        "HeaderMap.swift",
        "HeaderMapError.swift",
        "HeaderMapMaker.swift",
        "JSONHeaderMap.swift",
        "extensions/ArrayExtensions.swift",
        "extensions/DictionaryExtensions.swift",
        "extensions/NumberExtensions.swift",
        "extensions/StringExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Done.