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 Linux on 31 Oct 2024 08:32:41 UTC.

Swift 6 data race errors: 1

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/milend/hmap.git
Reference: 1.0.4
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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/milend/hmap.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/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.23s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.42s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.19s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.81s)
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
Building for debugging...
[0/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/33] Compiling Commander CommandType.swift
[8/34] Compiling Commander Group.swift
[9/34] Compiling Commander Command.swift
[10/34] Emitting module Commander
[11/34] Compiling Commander CommandRunner.swift
[12/34] Compiling Commander ArgumentParser.swift
[13/34] Compiling Commander ArgumentConvertible.swift
[14/34] Compiling Commander ArgumentDescription.swift
[15/34] Compiling HeaderMapCore NumberExtensions.swift
[16/35] Emitting module HeaderMapCore
[17/35] Compiling HeaderMapCore HeaderMapMaker.swift
[20/35] Compiling HeaderMapCore DictionaryExtensions.swift
[21/35] Compiling HeaderMapCore HeaderMap.swift
[22/35] Compiling HeaderMapCore HeaderMapError.swift
[23/35] Compiling HeaderMapCore JSONHeaderMap.swift
[24/35] Compiling HeaderMapCore ArrayExtensions.swift
[25/35] Compiling Commander Commands.swift
[26/35] Compiling Commander Error.swift
[27/36] Compiling HeaderMapCore StringExtensions.swift
[29/37] Emitting module HeaderMapTesting
[30/37] Compiling HeaderMapTesting TestingExtensions.swift
[32/38] Wrapping AST for Commander for debugging
[33/38] Wrapping AST for HeaderMapCore for debugging
[35/44] Compiling HeaderMapFrontend FileFormat.swift
[36/44] Compiling HeaderMapFrontend FrontendErrors.swift
[37/44] Compiling HeaderMapFrontend PrintCommands.swift
[38/44] Emitting module HeaderMapFrontend
/host/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 | }
/host/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
[39/44] Compiling HeaderMapFrontend Command.swift
[40/44] Compiling HeaderMapFrontend ConvertCommands.swift
/host/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 | }
/host/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
[41/45] Wrapping AST for HeaderMapFrontend for debugging
[43/51] Compiling hmap main.swift
[44/51] Compiling hmap ReturnCodes.swift
[45/51] Compiling hmap StringExtensions.swift
[46/51] Compiling hmap Convert.swift
[47/51] Emitting module hmap
[48/51] Compiling hmap Print.swift
[49/52] Wrapping AST for hmap for debugging
[50/52] Write Objects.LinkFileList
[51/52] Linking hmap
Build complete! (17.76s)
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" : "/host/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"
}
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.