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 DataModelKit, reference 1.1.0 (574dbf), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 13:07:39 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PoissonBallon/DataModelKit.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PoissonBallon/DataModelKit
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 574dbfc Update AttributeType
Cloned https://github.com/PoissonBallon/DataModelKit.git
Revision (git rev-parse @):
574dbfc730323b200a0b1d4b4e11e10597fec397
SUCCESS checkout https://github.com/PoissonBallon/DataModelKit.git at 1.1.0
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/nvzqz/FileKit.git
[1/2820] Fetching swxmlhash
[142/5943] Fetching swxmlhash, filekit
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.21s)
Fetched https://github.com/nvzqz/FileKit.git from cache (1.21s)
Computing version for https://github.com/nvzqz/FileKit.git
error: the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PoissonBallon/DataModelKit.git
https://github.com/PoissonBallon/DataModelKit.git
{
  "dependencies" : [
    {
      "identity" : "swxmlhash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.5",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drmohundro/SWXMLHash.git"
    },
    {
      "identity" : "filekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nvzqz/FileKit.git"
    }
  ],
  "manifest_display_name" : "DataModelKit",
  "name" : "DataModelKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataModelKit",
      "targets" : [
        "DataModelKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataModelKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DataModelKitTests",
      "path" : "Tests/DataModelKitTests",
      "sources" : [
        "DataModelKitTests.swift"
      ],
      "target_dependencies" : [
        "DataModelKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataModelKit",
      "module_type" : "SwiftTarget",
      "name" : "DataModelKit",
      "path" : "Sources/DataModelKit",
      "product_dependencies" : [
        "FileKit",
        "SWXMLHash"
      ],
      "product_memberships" : [
        "DataModelKit"
      ],
      "sources" : [
        "Attribute.swift",
        "AttributeType.swift",
        "DataModel.swift",
        "DataModelError.swift",
        "DataModelKit.swift",
        "Entity.swift",
        "Relationship.swift",
        "UserInfo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/41] Compiling SWXMLHash shim.swift
[6/41] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[7/41] Emitting module SWXMLHash
[8/41] Compiling SWXMLHash SWXMLHash.swift
[9/41] Compiling FileKit Array+File.swift
[10/41] Compiling FileKit ArrayFile.swift
[11/41] Compiling FileKit Bundle+FileKit.swift
[12/41] Compiling FileKit Data+FileKit.swift
[13/44] Compiling FileKit NSDictionary+FileKit.swift
[14/44] Compiling FileKit NSString+FileKit.swift
[15/44] Compiling FileKit Operators.swift
[16/44] Compiling FileKit DirectoryEnumerator.swift
[17/44] Compiling FileKit DispatchEvent.swift
[18/44] Compiling FileKit DispatchWatcher.swift
[19/44] Compiling FileKit File.swift
[20/44] Compiling FileKit FileSystemEvent.swift
[21/44] Compiling FileKit FileSystemEventStream.swift
[22/44] Compiling FileKit FileSystemWatcher.swift
[23/44] Compiling FileKit FileType.swift
[24/44] Compiling FileKit FileKit.swift
[25/44] Compiling FileKit FileKitError.swift
[26/44] Compiling FileKit FilePermissions.swift
[27/44] Compiling FileKit FileProtection.swift
[28/44] Compiling FileKit NSArray+FileKit.swift
[29/44] Compiling FileKit NSData+FileKit.swift
[30/44] Compiling FileKit NSDataFile.swift
[31/44] Emitting module FileKit
[32/44] Compiling FileKit Path.swift
[33/44] Compiling FileKit Process+FileKit.swift
[34/44] Compiling FileKit PropertyListType.swift
[35/44] Compiling FileKit RelativePathType.swift
[36/44] Compiling FileKit String+FileKit.swift
[37/44] Compiling FileKit TextFile.swift
[38/44] Compiling FileKit DataFile.swift
[39/44] Compiling FileKit DataType.swift
[40/44] Compiling FileKit Dictionary+File.swift
[41/44] Compiling FileKit DictionaryFile.swift
[42/44] Compiling FileKit Image+FileKit.swift
[43/44] Compiling FileKit ImageFile.swift
[44/44] Compiling FileKit JSONType.swift
[45/53] Compiling DataModelKit DataModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataModelKit/DataModel.swift:71:54: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
69 |     self.minimumToolsVersion = self.root["model"].element?.attribute(by: "minimumToolsVersion")?.text ?? ""
70 |     self.lastSavedToolsVersion = self.root["model"].element?.attribute(by: "lastSavedToolsVersion")?.text ?? ""
71 |     self.entities = self.root["model"]["entity"].all.flatMap { try? Entity(with: $0) }
   |                                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                      `- note: use 'compactMap(_:)' instead
72 |   }
73 | }
[46/53] Compiling DataModelKit AttributeType.swift
[47/53] Compiling DataModelKit Attribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataModelKit/Attribute.swift:55:48: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
53 |     self.indexed = (node.element?.attribute(by: "indexed")?.text == "YES") ? true : false
54 |     self.defaultValue = node.element?.attribute(by: "defaultValueString")?.text
55 |     self.userInfos = node["userInfo"].children.flatMap { try? UserInfo.init(with: $0) }
   |                                                |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                `- note: use 'compactMap(_:)' instead
56 |   }
57 | }
[48/53] Emitting module DataModelKit
[49/53] Compiling DataModelKit Relationship.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataModelKit/Relationship.swift:54:47: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
52 |     self.destination = destination
53 |     self.inverse = node.element?.attribute(by: "inverseName")?.text
54 |     self.userInfo = node["userInfo"].children.flatMap { try? UserInfo.init(with: $0) }
   |                                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                               `- note: use 'compactMap(_:)' instead
55 |     self.toMany = (node.element?.attribute(by: "toMany")?.text == "YES") ? true : false
56 |     self.toOne = !self.toMany
[50/53] Compiling DataModelKit DataModelKit.swift
[51/53] Compiling DataModelKit DataModelError.swift
[52/53] Compiling DataModelKit UserInfo.swift
[53/53] Compiling DataModelKit Entity.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataModelKit/Entity.swift:45:45: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
43 |     }
44 |     self.name = name
45 |     self.attributes = node["attribute"].all.flatMap { try? Attribute.init(with: $0) }
   |                                             |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                             `- note: use 'compactMap(_:)' instead
46 |     self.userInfos = node["userInfo"].children.flatMap { try? UserInfo.init(with: $0) }
47 |     self.relationships = node["relationship"].all.flatMap { try? Relationship.init(with: $0) }
/Users/admin/builder/spi-builder-workspace/Sources/DataModelKit/Entity.swift:46:48: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
44 |     self.name = name
45 |     self.attributes = node["attribute"].all.flatMap { try? Attribute.init(with: $0) }
46 |     self.userInfos = node["userInfo"].children.flatMap { try? UserInfo.init(with: $0) }
   |                                                |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                `- note: use 'compactMap(_:)' instead
47 |     self.relationships = node["relationship"].all.flatMap { try? Relationship.init(with: $0) }
48 |   }
/Users/admin/builder/spi-builder-workspace/Sources/DataModelKit/Entity.swift:47:51: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
45 |     self.attributes = node["attribute"].all.flatMap { try? Attribute.init(with: $0) }
46 |     self.userInfos = node["userInfo"].children.flatMap { try? UserInfo.init(with: $0) }
47 |     self.relationships = node["relationship"].all.flatMap { try? Relationship.init(with: $0) }
   |                                                   |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                   `- note: use 'compactMap(_:)' instead
48 |   }
49 | }
Build complete! (14.01s)
Updating https://github.com/nvzqz/FileKit.git
Updating https://github.com/drmohundro/SWXMLHash.git
Updated https://github.com/nvzqz/FileKit.git (0.40s)
Updated https://github.com/drmohundro/SWXMLHash.git (0.40s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 5.3.0 (3.31s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.57s)
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 5.3.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swxmlhash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.5",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drmohundro/SWXMLHash.git"
    },
    {
      "identity" : "filekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nvzqz/FileKit.git"
    }
  ],
  "manifest_display_name" : "DataModelKit",
  "name" : "DataModelKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataModelKit",
      "targets" : [
        "DataModelKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataModelKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DataModelKitTests",
      "path" : "Tests/DataModelKitTests",
      "sources" : [
        "DataModelKitTests.swift"
      ],
      "target_dependencies" : [
        "DataModelKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataModelKit",
      "module_type" : "SwiftTarget",
      "name" : "DataModelKit",
      "path" : "Sources/DataModelKit",
      "product_dependencies" : [
        "FileKit",
        "SWXMLHash"
      ],
      "product_memberships" : [
        "DataModelKit"
      ],
      "sources" : [
        "Attribute.swift",
        "AttributeType.swift",
        "DataModel.swift",
        "DataModelError.swift",
        "DataModelKit.swift",
        "Entity.swift",
        "Relationship.swift",
        "UserInfo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.