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.0 for macOS (SPM) on 29 Nov 2024 11:59:08 UTC.

Swift 6 data race errors: 0

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 -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.58.1
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
[199/5943] Fetching swxmlhash, filekit
Fetched https://github.com/nvzqz/FileKit.git from cache (1.70s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.70s)
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.0
Building package at path:  $PWD
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.1.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--7754E27361AE5C74.txt
[5/41] Compiling SWXMLHash shim.swift
[6/41] Emitting module FileKit
[7/44] Compiling FileKit Array+File.swift
[8/44] Compiling FileKit ArrayFile.swift
[9/44] Compiling FileKit Bundle+FileKit.swift
[10/44] Compiling FileKit Data+FileKit.swift
[11/44] Compiling FileKit FileKit.swift
[12/44] Compiling FileKit FileKitError.swift
[13/44] Compiling FileKit FilePermissions.swift
[14/44] Compiling FileKit FileProtection.swift
[15/44] Compiling SWXMLHash SWXMLHash.swift
[16/44] Emitting module SWXMLHash
[17/44] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[18/44] Compiling FileKit DirectoryEnumerator.swift
[19/44] Compiling FileKit DispatchEvent.swift
[20/44] Compiling FileKit DispatchWatcher.swift
[21/44] Compiling FileKit File.swift
[22/44] Compiling FileKit NSArray+FileKit.swift
[23/44] Compiling FileKit NSData+FileKit.swift
[24/44] Compiling FileKit NSDataFile.swift
[25/44] Compiling FileKit DataFile.swift
[26/44] Compiling FileKit DataType.swift
[27/44] Compiling FileKit Dictionary+File.swift
[28/44] Compiling FileKit DictionaryFile.swift
[29/44] Compiling FileKit NSDictionary+FileKit.swift
[30/44] Compiling FileKit NSString+FileKit.swift
[31/44] Compiling FileKit Operators.swift
[32/44] Compiling FileKit Image+FileKit.swift
[33/44] Compiling FileKit ImageFile.swift
[34/44] Compiling FileKit JSONType.swift
[35/44] Compiling FileKit FileSystemEvent.swift
[36/44] Compiling FileKit FileSystemEventStream.swift
[37/44] Compiling FileKit FileSystemWatcher.swift
[38/44] Compiling FileKit FileType.swift
[39/44] Compiling FileKit RelativePathType.swift
[40/44] Compiling FileKit String+FileKit.swift
[41/44] Compiling FileKit TextFile.swift
[42/44] Compiling FileKit Path.swift
[43/44] Compiling FileKit Process+FileKit.swift
[44/44] Compiling FileKit PropertyListType.swift
[45/53] Compiling DataModelKit UserInfo.swift
[46/53] Compiling DataModelKit DataModelError.swift
[47/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 | }
[48/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 | }
[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 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 | }
[52/53] Compiling DataModelKit AttributeType.swift
[53/53] Emitting module DataModelKit
Build complete! (20.25s)
Updating https://github.com/nvzqz/FileKit.git
Updating https://github.com/drmohundro/SWXMLHash.git
Updated https://github.com/nvzqz/FileKit.git (0.45s)
Updated https://github.com/drmohundro/SWXMLHash.git (0.45s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 5.3.0 (2.33s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.54s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 5.3.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.