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 Cheetah, reference 2.0.3-swift5 (50f960), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 13:29:28 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OpenKitten/Cheetah.git
Reference: 2.0.3-swift5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OpenKitten/Cheetah
 * tag               2.0.3-swift5 -> FETCH_HEAD
HEAD is now at 50f9605 Swift 5 support
Cloned https://github.com/OpenKitten/Cheetah.git
Revision (git rev-parse @):
50f9605735311aaecba33c7d162f198d45c07e0d
SUCCESS checkout https://github.com/OpenKitten/Cheetah.git at 2.0.3-swift5
========================================
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": "cheetah",
      "name": "Cheetah",
      "url": "https://github.com/OpenKitten/Cheetah.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cheetah",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/OpenKitten/Cheetah.git
[1/362] Fetching cheetah
Fetched https://github.com/OpenKitten/Cheetah.git from cache (2.71s)
Creating working copy for https://github.com/OpenKitten/Cheetah.git
Working copy of https://github.com/OpenKitten/Cheetah.git resolved at 2.0.3-swift5 (50f9605)
warning: '.resolve-product-dependencies': dependency 'cheetah' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OpenKitten/Cheetah.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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling Cheetah Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cheetah/Parser.swift:219:47: warning: 'characters' is deprecated: Please use String directly
217 |             var prefix = prefix
218 |
219 |             if negate && autoNegate && prefix.characters.first != "-" {
    |                                               `- warning: 'characters' is deprecated: Please use String directly
220 |                 prefix = "-" + prefix
221 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Cheetah/Parser.swift:231:26: warning: 'characters' is deprecated: Please use String directly
229 |             }
230 |
231 |             guard number.characters.count > 0 else {
    |                          `- warning: 'characters' is deprecated: Please use String directly
232 |                 return nil
233 |             }
[4/10] Compiling Cheetah InternalHelpers.swift
[5/10] Compiling Cheetah Value.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cheetah/Value.swift:103:24: warning: 'characters' is deprecated: Please use String directly
101 |                 buffer.append(contentsOf: "\\u".utf8)
102 |                 let str = String(char, radix: 16, uppercase: true)
103 |                 if str.characters.count == 1 {
    |                        `- warning: 'characters' is deprecated: Please use String directly
104 |                     buffer.append(contentsOf: "000\(str)".utf8)
105 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/Cheetah/Value.swift:170:26: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
168 | extension Array : CheetahValue {
169 |     public func serialize() -> [UInt8] {
170 |         let array = self.flatMap { value -> CheetahValue? in
    |                          |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                          `- note: use 'compactMap(_:)' instead
171 |             guard let value = value as? CheetahValue else {
172 |                 let error = "Only [Cheetah.Value] arrays are Cheetah.Value. Tried to initialize a JSONArray using [\(Element.self)]. This will crash on debug and print this message on release configurations."
[6/10] Compiling Cheetah Object.swift
[7/10] Compiling Cheetah Helpers.swift
[8/10] Compiling Cheetah Array.swift
[9/10] Emitting module Cheetah
[10/10] Compiling Cheetah Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cheetah/Codable.swift:655:43: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
653 |
654 |     var allKeys: [Key] {
655 |         return decoder.target.object.keys.flatMap { Key(stringValue: $0) }
    |                                           |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                           `- note: use 'compactMap(_:)' instead
656 |     }
657 |
/Users/admin/builder/spi-builder-workspace/Sources/Cheetah/Codable.swift:624:20: warning: function call causes an infinite recursion
622 |
623 |     func unwrap(_ value: Value?) throws -> UInt64 {
624 |         return try unwrap(value)
    |                    `- warning: function call causes an infinite recursion
625 |     }
626 |
Build complete! (8.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Cheetah",
  "name" : "Cheetah",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Cheetah",
      "targets" : [
        "Cheetah"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Cheetah",
      "module_type" : "SwiftTarget",
      "name" : "Cheetah",
      "path" : "Sources/Cheetah",
      "product_memberships" : [
        "Cheetah"
      ],
      "sources" : [
        "Array.swift",
        "Codable.swift",
        "Helpers.swift",
        "InternalHelpers.swift",
        "Object.swift",
        "Parser.swift",
        "Value.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.