Build Information
Successful build of GPTEncoder, reference main (a86968
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:13:40 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alfianlosari/GPTEncoder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alfianlosari/GPTEncoder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a869688 Fix bundle resource crash on Linux
Cloned https://github.com/alfianlosari/GPTEncoder.git
Revision (git rev-parse @):
a86968867ab4380e36b904a14c42215f71efe8b4
SUCCESS checkout https://github.com/alfianlosari/GPTEncoder.git at main
========================================
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": "gptencoder",
"name": "GPTEncoder",
"url": "https://github.com/alfianlosari/GPTEncoder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GPTEncoder",
"dependencies": [
]
}
]
}
Fetching https://github.com/alfianlosari/GPTEncoder.git
[1/73] Fetching gptencoder
Fetched https://github.com/alfianlosari/GPTEncoder.git from cache (0.93s)
Creating working copy for https://github.com/alfianlosari/GPTEncoder.git
Working copy of https://github.com/alfianlosari/GPTEncoder.git resolved at main (a869688)
warning: '.resolve-product-dependencies': dependency 'gptencoder' 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/alfianlosari/GPTEncoder.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
Building for debugging...
[0/4] Write sources
[1/4] Copying vocab.bpe
[1/4] Copying encoder.json
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/11] Compiling GPTEncoder resource_bundle_accessor.swift
[6/11] Compiling GPTEncoder GPTEncoderResources.swift
[7/11] Compiling GPTEncoder Atomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/GPTEncoder/Atomic.swift:22:61: warning: capture of 'self' with non-sendable type 'AtomicDict<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | /// Based on https://www.donnywals.com/why-your-atomic-property-wrapper-doesnt-work-for-collection-types/
11 |
12 | public class AtomicDict<Key: Hashable, Value>: CustomDebugStringConvertible {
| `- note: generic class 'AtomicDict' does not conform to the 'Sendable' protocol
13 | private var dictStorage = [Key: Value]()
14 |
:
20 | public subscript(key: Key) -> Value? {
21 | get { queue.sync { dictStorage[key] }}
22 | set { queue.async(flags: .barrier) { [weak self] in self?.dictStorage[key] = newValue } }
| `- warning: capture of 'self' with non-sendable type 'AtomicDict<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/GPTEncoder/Atomic.swift:22:79: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | /// Based on https://www.donnywals.com/why-your-atomic-property-wrapper-doesnt-work-for-collection-types/
11 |
12 | public class AtomicDict<Key: Hashable, Value>: CustomDebugStringConvertible {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
13 | private var dictStorage = [Key: Value]()
14 |
:
20 | public subscript(key: Key) -> Value? {
21 | get { queue.sync { dictStorage[key] }}
22 | set { queue.async(flags: .barrier) { [weak self] in self?.dictStorage[key] = newValue } }
| `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/GPTEncoder/Atomic.swift:22:86: warning: capture of 'newValue' with non-sendable type 'Value?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | /// Based on https://www.donnywals.com/why-your-atomic-property-wrapper-doesnt-work-for-collection-types/
11 |
12 | public class AtomicDict<Key: Hashable, Value>: CustomDebugStringConvertible {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
13 | private var dictStorage = [Key: Value]()
14 |
:
20 | public subscript(key: Key) -> Value? {
21 | get { queue.sync { dictStorage[key] }}
22 | set { queue.async(flags: .barrier) { [weak self] in self?.dictStorage[key] = newValue } }
| `- warning: capture of 'newValue' with non-sendable type 'Value?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | }
24 |
[8/11] Compiling GPTEncoder Helper.swift
[9/11] Compiling GPTEncoder GPTEncoder.swift
[10/11] Emitting module GPTEncoder
[11/11] Compiling GPTEncoder Extensions.swift
Build complete! (8.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GPTEncoder",
"name" : "GPTEncoder",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GPTEncoder",
"targets" : [
"GPTEncoder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GPTEncoderTests",
"module_type" : "SwiftTarget",
"name" : "GPTEncoderTests",
"path" : "Tests/GPTEncoderTests",
"sources" : [
"GPTEncoderTests.swift"
],
"target_dependencies" : [
"GPTEncoder"
],
"type" : "test"
},
{
"c99name" : "GPTEncoder",
"module_type" : "SwiftTarget",
"name" : "GPTEncoder",
"path" : "Sources/GPTEncoder",
"product_memberships" : [
"GPTEncoder"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GPTEncoder/Resources/encoder.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GPTEncoder/Resources/vocab.bpe",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Atomic.swift",
"Extensions.swift",
"GPTEncoder.swift",
"GPTEncoderResources.swift",
"Helper.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.