Build Information
Successful build of SwiftEliza with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlwaysRightInstitute/SwiftEliza.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AlwaysRightInstitute/SwiftEliza
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7567cbc Update README w/ fork info
Cloned https://github.com/AlwaysRightInstitute/SwiftEliza.git
Revision (git rev-parse @):
7567cbc4b9a5a45fd41790c34b90e372a2dda712
SUCCESS checkout https://github.com/AlwaysRightInstitute/SwiftEliza.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/AlwaysRightInstitute/SwiftEliza.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[2/7] Write therapist-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/9] Emitting module Eliza
[6/9] Compiling Eliza Eliza.swift
[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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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! (20.17s)
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.