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 SwiftEliza, reference 1.0.1 (f3f7be), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 07:10:56 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/AlwaysRightInstitute/SwiftEliza.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AlwaysRightInstitute/SwiftEliza
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at f3f7be7 Swift 4.2: Port UIKit code
Cloned https://github.com/AlwaysRightInstitute/SwiftEliza.git
Revision (git rev-parse @):
f3f7be7eccae0e709acec2351c8c2b79e9e2bd61
SUCCESS checkout https://github.com/AlwaysRightInstitute/SwiftEliza.git at 1.0.1
========================================
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": "swifteliza",
      "name": "SwiftEliza",
      "url": "https://github.com/AlwaysRightInstitute/SwiftEliza.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftEliza",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AlwaysRightInstitute/SwiftEliza.git
[1/159] Fetching swifteliza
Fetched https://github.com/AlwaysRightInstitute/SwiftEliza.git from cache (0.77s)
Creating working copy for https://github.com/AlwaysRightInstitute/SwiftEliza.git
Working copy of https://github.com/AlwaysRightInstitute/SwiftEliza.git resolved at 1.0.1 (f3f7be7)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AlwaysRightInstitute/SwiftEliza.git
https://github.com/AlwaysRightInstitute/SwiftEliza.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftEliza",
  "name" : "SwiftEliza",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Eliza",
      "targets" : [
        "Eliza"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "therapist",
      "targets" : [
        "therapist"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "therapist",
      "module_type" : "SwiftTarget",
      "name" : "therapist",
      "path" : "Sources/therapist",
      "product_memberships" : [
        "therapist"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Eliza"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Eliza",
      "module_type" : "SwiftTarget",
      "name" : "Eliza",
      "path" : "Sources/Eliza",
      "product_memberships" : [
        "Eliza",
        "therapist"
      ],
      "sources" : [
        "Eliza.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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/7] Write therapist-entitlement.plist
[0/7] Write sources
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/9] Compiling Eliza Eliza.swift
[6/9] Emitting module Eliza
[7/11] Compiling therapist main.swift
/Users/admin/builder/spi-builder-workspace/Sources/therapist/main.swift:26:7: warning: capture of 'self' with non-sendable type 'Therapist' in a '@Sendable' closure
12 | var buf = [ Int8 ](repeating: 0, count: 500)
13 |
14 | class Therapist {
   |       `- note: class 'Therapist' does not conform to the 'Sendable' protocol
15 |
16 |   let Q            : DispatchQueue = DispatchQueue(label: "eliza")
   :
24 |     isThinking = true
25 |     Q.asyncAfter(deadline: .now() + thinkingTime) {
26 |       self.isThinking = false
   |       `- warning: capture of 'self' with non-sendable type 'Therapist' in a '@Sendable' closure
27 |       let answer = self.eliza.replyTo(question)
28 |       cb(answer)
/Users/admin/builder/spi-builder-workspace/Sources/therapist/main.swift:28:7: warning: capture of 'cb' with non-sendable type '(String?) -> ()' in a '@Sendable' closure
26 |       self.isThinking = false
27 |       let answer = self.eliza.replyTo(question)
28 |       cb(answer)
   |       |- warning: capture of 'cb' with non-sendable type '(String?) -> ()' in a '@Sendable' closure
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
29 |     }
30 |   }
[8/11] Emitting module therapist
[8/11] Write Objects.LinkFileList
[9/11] Linking therapist
[10/11] Applying therapist
Build complete! (5.94s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftEliza",
  "name" : "SwiftEliza",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Eliza",
      "targets" : [
        "Eliza"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "therapist",
      "targets" : [
        "therapist"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "therapist",
      "module_type" : "SwiftTarget",
      "name" : "therapist",
      "path" : "Sources/therapist",
      "product_memberships" : [
        "therapist"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Eliza"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Eliza",
      "module_type" : "SwiftTarget",
      "name" : "Eliza",
      "path" : "Sources/Eliza",
      "product_memberships" : [
        "Eliza",
        "therapist"
      ],
      "sources" : [
        "Eliza.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.