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 master (f98e2d), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 08:40:00 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: 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
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/Spectre.git
[1/1588] Fetching commander
[176/2609] Fetching commander, spectre
Fetched https://github.com/kylef/Commander.git from cache (1.00s)
Fetched https://github.com/kylef/Spectre.git from cache (1.00s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.0 (0.67s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (2.61s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.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.77s)
Fetching https://github.com/kylef/Commander.git from cache
Fetched https://github.com/kylef/Commander.git from cache (0.48s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.65s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.52s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.67s)
Creating working copy for https://github.com/milend/hmap.git
Working copy of https://github.com/milend/hmap.git resolved at master (f98e2dd)
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
[5/10] Write hmap-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/32] Compiling Commander Group.swift
[9/32] Compiling Commander CommandRunner.swift
[10/32] Compiling Commander Error.swift
[11/32] Compiling Commander Command.swift
[12/32] Compiling Commander CommandType.swift
[13/32] Compiling Commander Commands.swift
[14/32] Compiling Commander ArgumentConvertible.swift
[15/32] Emitting module Commander
[16/32] Compiling Commander ArgumentParser.swift
[17/32] Compiling Commander ArgumentDescription.swift
[18/32] Compiling HeaderMapTesting TestingExtensions.swift
[19/32] Emitting module HeaderMapTesting
[20/32] Compiling HeaderMapCore DictionaryExtensions.swift
[21/32] Compiling HeaderMapCore NumberExtensions.swift
[22/32] Compiling HeaderMapCore HeaderMapError.swift
[23/33] Compiling HeaderMapCore JSONHeaderMap.swift
[24/33] Compiling HeaderMapCore HeaderMapMaker.swift
[25/33] Compiling HeaderMapCore ArrayExtensions.swift
[26/33] Compiling HeaderMapCore HeaderMap.swift
[27/33] Emitting module HeaderMapCore
[28/33] Compiling HeaderMapCore ByteBuffer.swift
[29/33] Compiling HeaderMapCore BinaryHeaderMap.swift
[30/33] Compiling HeaderMapCore StringExtensions.swift
[31/39] Compiling HeaderMapFrontend FileFormat.swift
[32/39] Compiling HeaderMapFrontend FrontendErrors.swift
[33/39] Compiling HeaderMapFrontend PrintCommands.swift
[34/39] Compiling HeaderMapFrontend Command.swift
[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] 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
[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! (24.66s)
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.