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 hmap with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/milend/hmap.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/milend/hmap
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f98e2dd Add chmap project reference
Cloned https://github.com/milend/hmap.git
Revision (git rev-parse @):
f98e2dd8cd03c86d10013a31914a9a75ae986763
SUCCESS checkout https://github.com/milend/hmap.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/milend/hmap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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
[1/10] Write hmap-entitlement.plist
[6/10] Write swift-version-6F35C1178C84523A.txt
[8/32] Compiling Commander ArgumentConvertible.swift
[9/32] Compiling Commander Command.swift
[10/32] Compiling Commander ArgumentDescription.swift
[11/32] Emitting module Commander
[12/32] Compiling Commander CommandRunner.swift
[13/32] Compiling Commander CommandType.swift
[14/32] Compiling Commander ArgumentParser.swift
[15/32] Compiling Commander Group.swift
[16/32] Compiling Commander Error.swift
[17/32] Compiling Commander Commands.swift
[18/32] Compiling HeaderMapCore NumberExtensions.swift
[19/33] Compiling HeaderMapCore DictionaryExtensions.swift
[20/33] Compiling HeaderMapCore JSONHeaderMap.swift
[21/33] Compiling HeaderMapCore ArrayExtensions.swift
[22/33] Compiling HeaderMapCore HeaderMapError.swift
[23/33] Compiling HeaderMapCore ByteBuffer.swift
[24/33] Compiling HeaderMapCore BinaryHeaderMap.swift
[25/33] Emitting module HeaderMapCore
[26/33] Compiling HeaderMapCore HeaderMap.swift
[27/33] Compiling HeaderMapCore HeaderMapMaker.swift
[28/33] Compiling HeaderMapCore StringExtensions.swift
[29/39] Compiling HeaderMapFrontend FileFormat.swift
[30/39] Compiling HeaderMapFrontend Command.swift
[31/39] Compiling HeaderMapFrontend PrintCommands.swift
[32/39] Compiling HeaderMapFrontend FrontendErrors.swift
[33/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
[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/45] Compiling hmap main.swift
[36/45] Compiling hmap StringExtensions.swift
[37/45] Compiling hmap ReturnCodes.swift
[38/45] Compiling hmap Convert.swift
[39/45] Emitting module hmap
[40/45] Compiling hmap Print.swift
[40/45] Write Objects.LinkFileList
[41/45] Linking hmap
[42/45] Applying hmap
[44/45] Emitting module HeaderMapTesting
[45/45] Compiling HeaderMapTesting TestingExtensions.swift
Build complete! (28.77s)
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/Spectre.git
[11/1021] Fetching spectre
[32/2609] Fetching spectre, commander
Fetched https://github.com/kylef/Spectre.git from cache (1.03s)
Fetched https://github.com/kylef/Commander.git from cache (1.03s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.0 (0.64s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (2.36s)
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
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.