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 HackMan, reference master (0ef756), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 20:25:21 UTC.

Swift 6 data race errors: 3

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/Cosmo/HackMan.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Cosmo/HackMan
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0ef7561 Merge pull request #16 from Cosmo/development
Cloned https://github.com/Cosmo/HackMan.git
Revision (git rev-parse @):
0ef75616e99a1212f2c136e9dc470f9610e9d639
SUCCESS checkout https://github.com/Cosmo/HackMan.git at master
Fetching https://github.com/stencilproject/Stencil.git
[1/5189] Fetching stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (1.06s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/Cosmo/StringCase.git
Fetching https://github.com/Cosmo/GrammaticalNumber.git
[1/78] Fetching stringcase
[42/161] Fetching stringcase, grammaticalnumber
[153/1572] Fetching stringcase, grammaticalnumber, pathkit
[280/2593] Fetching stringcase, grammaticalnumber, pathkit, spectre
Fetched https://github.com/kylef/PathKit.git from cache (0.92s)
Fetched https://github.com/Cosmo/StringCase.git from cache (0.92s)
Fetched https://github.com/Cosmo/GrammaticalNumber.git from cache (0.92s)
[593/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.99s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (2.61s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.0 (0.68s)
Computing version for https://github.com/Cosmo/StringCase.git
Computed https://github.com/Cosmo/StringCase.git at 1.0.1 (0.69s)
Computing version for https://github.com/Cosmo/GrammaticalNumber.git
Computed https://github.com/Cosmo/GrammaticalNumber.git at 0.0.3 (0.73s)
Creating working copy for https://github.com/Cosmo/GrammaticalNumber.git
Working copy of https://github.com/Cosmo/GrammaticalNumber.git resolved at 0.0.3
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at master (e516ca9)
Creating working copy for https://github.com/Cosmo/StringCase.git
Working copy of https://github.com/Cosmo/StringCase.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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": "hackman",
      "name": "HackMan",
      "url": "https://github.com/Cosmo/HackMan.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HackMan",
      "dependencies": [
        {
          "identity": "stencil",
          "name": "Stencil",
          "url": "https://github.com/stencilproject/Stencil.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stencil",
          "dependencies": [
            {
              "identity": "pathkit",
              "name": "PathKit",
              "url": "https://github.com/kylef/PathKit.git",
              "version": "1.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
              "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": [
                  ]
                }
              ]
            },
            {
              "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": [
              ]
            }
          ]
        },
        {
          "identity": "grammaticalnumber",
          "name": "GrammaticalNumber",
          "url": "https://github.com/Cosmo/GrammaticalNumber.git",
          "version": "0.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GrammaticalNumber",
          "dependencies": [
          ]
        },
        {
          "identity": "stringcase",
          "name": "StringCase",
          "url": "https://github.com/Cosmo/StringCase.git",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StringCase",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Cosmo/HackMan.git
[1/1359] Fetching hackman
Fetched https://github.com/Cosmo/HackMan.git from cache (1.06s)
Fetching https://github.com/stencilproject/Stencil.git from cache
Fetched https://github.com/stencilproject/Stencil.git from cache (0.56s)
Fetching https://github.com/Cosmo/StringCase.git from cache
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/kylef/Spectre.git from cache
Fetching https://github.com/Cosmo/GrammaticalNumber.git from cache
Fetched https://github.com/Cosmo/GrammaticalNumber.git from cache (0.53s)
Fetched https://github.com/kylef/Spectre.git from cache (0.53s)
Fetched https://github.com/kylef/PathKit.git from cache (0.53s)
Fetched https://github.com/Cosmo/StringCase.git from cache (0.53s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.68s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.66s)
Computing version for https://github.com/Cosmo/StringCase.git
Computed https://github.com/Cosmo/StringCase.git at 1.0.1 (0.02s)
Computing version for https://github.com/Cosmo/GrammaticalNumber.git
Computed https://github.com/Cosmo/GrammaticalNumber.git at 0.0.3 (0.02s)
Creating working copy for https://github.com/Cosmo/GrammaticalNumber.git
Working copy of https://github.com/Cosmo/GrammaticalNumber.git resolved at 0.0.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/Cosmo/StringCase.git
Working copy of https://github.com/Cosmo/StringCase.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/Cosmo/HackMan.git
Working copy of https://github.com/Cosmo/HackMan.git resolved at master (0ef7561)
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at master (1aeeced)
Found 3 product dependencies
  - Stencil
  - GrammaticalNumber
  - StringCase
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Cosmo/HackMan.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/11] Write sources
[6/11] Write hackman-entitlement.plist
[7/11] Write swift-version--7754E27361AE5C74.txt
[9/18] Emitting module GrammaticalNumber
[10/18] Emitting module StringCase
[11/18] Compiling StringCase StringCase.swift
[12/18] Compiling GrammaticalNumber GrammaticalNumberRule.swift
[13/18] Compiling GrammaticalNumber StringExtensions.swift
[14/18] Emitting module PathKit
[15/18] Compiling PathKit PathKit.swift
[16/38] Compiling Stencil Context.swift
[17/38] Compiling Stencil Environment.swift
[18/38] Compiling Stencil Errors.swift
[19/40] Emitting module Stencil
[20/40] Compiling Stencil Template.swift
[21/40] Compiling Stencil Tokenizer.swift
[22/40] Compiling Stencil Include.swift
[23/40] Compiling Stencil Inheritence.swift
[24/40] Compiling Stencil FilterTag.swift
[25/40] Compiling Stencil Filters.swift
[26/40] Compiling Stencil NowTag.swift
[27/40] Compiling Stencil Parser.swift
[28/40] Compiling Stencil Expression.swift
[29/40] Compiling Stencil Extension.swift
[30/40] Compiling Stencil Loader.swift
[31/40] Compiling Stencil Node.swift
[32/40] Compiling Stencil KeyPath.swift
[33/40] Compiling Stencil Lexer.swift
[34/40] Compiling Stencil ForTag.swift
[35/40] Compiling Stencil IfTag.swift
[36/40] Compiling Stencil Variable.swift
[37/40] Compiling Stencil _SwiftSupport.swift
[38/67] Compiling HackManLib Localization.swift
[39/67] Compiling HackManLib Model.swift
[40/67] Compiling HackManLib NewProject.swift
[41/69] Compiling HackManLib AppDelegate.swift
[42/69] Compiling HackManLib AssetCatalog.swift
[43/69] Compiling HackManLib CollectionViewCell.swift
[44/69] Compiling HackManLib TableViewCell.swift
[45/69] Compiling HackManLib ViewController.swift
[46/69] Compiling HackManLib ViewControllerCollection.swift
[47/69] Emitting module HackManLib
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Model/Property.swift:20:16: warning: static property 'basicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |     }
19 |
20 |     static var basicTypes = [
   |                |- warning: static property 'basicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'basicTypes' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'basicTypes' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         "Bool",
22 |         "Date",
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Model/Property.swift:29:24: warning: static property 'defaultValueType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     ]
28 |
29 |     private static var defaultValueType = "String"
   |                        |- warning: static property 'defaultValueType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'defaultValueType' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'defaultValueType' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     init(name: String, valueType: String?) {
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Writer.swift:17:16: warning: static property 'creatables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | public struct Writer {
 17 |     static var creatables: [Writeable] = []
    |                |- warning: static property 'creatables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'creatables' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'creatables' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     public static func extractSourcePath(options: [String]) -> String {
[48/69] Compiling HackManLib CommandLineRunner.swift
[49/69] Compiling HackManLib StringColorExtensions.swift
[50/69] Compiling HackManLib Generator.swift
[51/69] Compiling HackManLib DataSourceTableView.swift
[52/69] Compiling HackManLib DataSourceTableViewSearchResults.swift
[53/69] Compiling HackManLib LaunchScreen.swift
[54/69] Compiling HackManLib ViewControllerDetail.swift
[55/69] Compiling HackManLib ViewControllerInformation.swift
[56/69] Compiling HackManLib ViewControllerTable.swift
[57/69] Compiling HackManLib Coordinator.swift
[58/69] Compiling HackManLib CoordinatorChild.swift
[59/69] Compiling HackManLib CoordinatorMain.swift
[60/69] Compiling HackManLib ViewControllerWeb.swift
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Model/Property.swift:20:16: warning: static property 'basicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |     }
19 |
20 |     static var basicTypes = [
   |                |- warning: static property 'basicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'basicTypes' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'basicTypes' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         "Bool",
22 |         "Date",
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Model/Property.swift:29:24: warning: static property 'defaultValueType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     ]
28 |
29 |     private static var defaultValueType = "String"
   |                        |- warning: static property 'defaultValueType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'defaultValueType' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'defaultValueType' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     init(name: String, valueType: String?) {
[61/69] Compiling HackManLib Property.swift
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Model/Property.swift:20:16: warning: static property 'basicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |     }
19 |
20 |     static var basicTypes = [
   |                |- warning: static property 'basicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'basicTypes' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'basicTypes' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         "Bool",
22 |         "Date",
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Model/Property.swift:29:24: warning: static property 'defaultValueType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     ]
28 |
29 |     private static var defaultValueType = "String"
   |                        |- warning: static property 'defaultValueType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'defaultValueType' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'defaultValueType' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     init(name: String, valueType: String?) {
[62/69] Compiling HackManLib ReusableView.swift
[63/69] Compiling HackManLib Scaffold.swift
[64/69] Compiling HackManLib SearchResultsController.swift
[65/69] Compiling HackManLib Resource.swift
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Writer.swift:17:16: warning: static property 'creatables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | public struct Writer {
 17 |     static var creatables: [Writeable] = []
    |                |- warning: static property 'creatables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'creatables' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'creatables' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     public static func extractSourcePath(options: [String]) -> String {
[66/69] Compiling HackManLib Writer.swift
/Users/admin/builder/spi-builder-workspace/Sources/HackManLib/Writer.swift:17:16: warning: static property 'creatables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | public struct Writer {
 17 |     static var creatables: [Writeable] = []
    |                |- warning: static property 'creatables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'creatables' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'creatables' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     public static func extractSourcePath(options: [String]) -> String {
[67/71] Compiling HackMan main.swift
[68/71] Emitting module HackMan
[68/71] Write Objects.LinkFileList
[69/71] Linking hackman
[70/71] Applying hackman
Build complete! (13.56s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "stencil",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil.git"
    },
    {
      "identity" : "grammaticalnumber",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Cosmo/GrammaticalNumber.git"
    },
    {
      "identity" : "stringcase",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Cosmo/StringCase.git"
    }
  ],
  "manifest_display_name" : "HackMan",
  "name" : "HackMan",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "hackman",
      "targets" : [
        "HackMan"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "HackManLib",
      "targets" : [
        "HackManLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HackManTests",
      "module_type" : "SwiftTarget",
      "name" : "HackManTests",
      "path" : "Tests/HackManTests",
      "sources" : [
        "HackManResourceTests.swift",
        "HackManTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "HackManLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HackManLib",
      "module_type" : "SwiftTarget",
      "name" : "HackManLib",
      "path" : "Sources/HackManLib",
      "product_dependencies" : [
        "Stencil",
        "GrammaticalNumber",
        "StringCase"
      ],
      "product_memberships" : [
        "hackman",
        "HackManLib"
      ],
      "sources" : [
        "CommandLineRunner.swift",
        "Extensions/StringColorExtensions.swift",
        "Generator.swift",
        "Generators/AppDelegate/AppDelegate.swift",
        "Generators/AssetCatalog/AssetCatalog.swift",
        "Generators/CollectionViewCell/CollectionViewCell.swift",
        "Generators/Coordinator/Coordinator.swift",
        "Generators/CoordinatorChild/CoordinatorChild.swift",
        "Generators/CoordinatorMain/CoordinatorMain.swift",
        "Generators/DataSourceTableView/DataSourceTableView.swift",
        "Generators/DataSourceTableViewSearchResults/DataSourceTableViewSearchResults.swift",
        "Generators/LaunchScreen/LaunchScreen.swift",
        "Generators/Localization/Localization.swift",
        "Generators/Model/Model.swift",
        "Generators/NewProject/NewProject.swift",
        "Generators/ReusableView/ReusableView.swift",
        "Generators/Scaffold/Scaffold.swift",
        "Generators/SearchResultsController/SearchResultsController.swift",
        "Generators/TableViewCell/TableViewCell.swift",
        "Generators/ViewController/ViewController.swift",
        "Generators/ViewControllerCollection/ViewControllerCollection.swift",
        "Generators/ViewControllerDetail/ViewControllerDetail.swift",
        "Generators/ViewControllerInformation/ViewControllerInformation.swift",
        "Generators/ViewControllerTable/ViewControllerTable.swift",
        "Generators/ViewControllerWeb/ViewControllerWeb.swift",
        "Model/Property.swift",
        "Model/Resource.swift",
        "Writer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HackMan",
      "module_type" : "SwiftTarget",
      "name" : "HackMan",
      "path" : "Sources/HackMan",
      "product_memberships" : [
        "hackman"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HackManLib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Done.