The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of DataModelKit, reference master (574dbf), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 05:11:58 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PoissonBallon/DataModelKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PoissonBallon/DataModelKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PoissonBallon/DataModelKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/41] Compiling SWXMLHash SWXMLHash.swift
[6/41] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[7/41] Emitting module SWXMLHash
[8/41] Compiling SWXMLHash shim.swift
[9/41] Emitting module FileKit
[10/44] Compiling FileKit FileSystemEvent.swift
[11/44] Compiling FileKit FileSystemEventStream.swift
[12/44] Compiling FileKit FileSystemWatcher.swift
[13/44] Compiling FileKit FileType.swift
[14/44] Compiling FileKit NSArray+FileKit.swift
[15/44] Compiling FileKit NSData+FileKit.swift
[16/44] Compiling FileKit NSDataFile.swift
[17/44] Compiling FileKit DataFile.swift
[18/44] Compiling FileKit DataType.swift
[19/44] Compiling FileKit Dictionary+File.swift
[20/44] Compiling FileKit DictionaryFile.swift
[21/44] Compiling FileKit NSDictionary+FileKit.swift
[22/44] Compiling FileKit NSString+FileKit.swift
[23/44] Compiling FileKit Operators.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 Array+File.swift
[29/44] Compiling FileKit ArrayFile.swift
[30/44] Compiling FileKit Bundle+FileKit.swift
[31/44] Compiling FileKit Data+FileKit.swift
[32/44] Compiling FileKit RelativePathType.swift
[33/44] Compiling FileKit String+FileKit.swift
[34/44] Compiling FileKit TextFile.swift
[35/44] Compiling FileKit Path.swift
[36/44] Compiling FileKit Process+FileKit.swift
[37/44] Compiling FileKit PropertyListType.swift
[38/44] Compiling FileKit DirectoryEnumerator.swift
[39/44] Compiling FileKit DispatchEvent.swift
[40/44] Compiling FileKit DispatchWatcher.swift
[41/44] Compiling FileKit File.swift
[42/44] Compiling FileKit Image+FileKit.swift
[43/44] Compiling FileKit ImageFile.swift
[44/44] Compiling FileKit JSONType.swift
[45/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |                                               `- note: use 'compactMap(_:)' instead
55 |     self.toMany = (node.element?.attribute(by: "toMany")?.text == "YES") ? true : false
56 |     self.toOne = !self.toMany
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[46/53] Compiling DataModelKit UserInfo.swift
[47/53] Compiling DataModelKit DataModelError.swift
[48/53] Compiling DataModelKit DataModelKit.swift
[49/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |                                             `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |                                                `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |                                                   `- note: use 'compactMap(_:)' instead
48 |   }
49 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[50/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |                                                      `- note: use 'compactMap(_:)' instead
72 |   }
73 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[51/53] Compiling DataModelKit AttributeType.swift
[52/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |                                                `- note: use 'compactMap(_:)' instead
56 |   }
57 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[53/53] Emitting module DataModelKit
Build complete! (13.99s)
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/3123] Fetching filekit
[158/5943] Fetching filekit, swxmlhash
Fetched https://github.com/nvzqz/FileKit.git from cache (1.11s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.11s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 5.3.0 (3.03s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.50s)
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.