Build Information
Successful build of SwifitLearn, reference master (259662
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 10:44:03 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/t-ae/swifit-learn.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/t-ae/swifit-learn
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 259662c Update for Swift4
Cloned https://github.com/t-ae/swifit-learn.git
Revision (git rev-parse @):
259662cff3c5cfcc627c48294e578884ed97a931
SUCCESS checkout https://github.com/t-ae/swifit-learn.git at master
Fetching https://github.com/t-ae/xorswift.git
Fetching https://github.com/t-ae/ndarray.git
[1/2231] Fetching ndarray
[358/3015] Fetching ndarray, xorswift
Fetched https://github.com/t-ae/xorswift.git from cache (0.95s)
Fetched https://github.com/t-ae/ndarray.git from cache (0.95s)
Computing version for https://github.com/t-ae/ndarray.git
Computed https://github.com/t-ae/ndarray.git at 0.0.14 (0.67s)
Computing version for https://github.com/t-ae/xorswift.git
Computed https://github.com/t-ae/xorswift.git at 0.0.10 (0.66s)
Creating working copy for https://github.com/t-ae/ndarray.git
Working copy of https://github.com/t-ae/ndarray.git resolved at 0.0.14
Creating working copy for https://github.com/t-ae/xorswift.git
Working copy of https://github.com/t-ae/xorswift.git resolved at 0.0.10
========================================
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": "swifit-learn",
"name": "SwifitLearn",
"url": "https://github.com/t-ae/swifit-learn.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifit-learn",
"dependencies": [
{
"identity": "ndarray",
"name": "NDArray",
"url": "https://github.com/t-ae/ndarray.git",
"version": "0.0.14",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ndarray",
"dependencies": [
{
"identity": "xorswift",
"name": "Xorswift",
"url": "https://github.com/t-ae/xorswift.git",
"version": "0.0.10",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xorswift",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/t-ae/swifit-learn.git
[1/148] Fetching swifit-learn
Fetched https://github.com/t-ae/swifit-learn.git from cache (0.76s)
Fetching https://github.com/t-ae/ndarray.git from cache
Fetched https://github.com/t-ae/ndarray.git from cache (0.50s)
Computing version for https://github.com/t-ae/ndarray.git
Computed https://github.com/t-ae/ndarray.git at 0.0.14 (0.03s)
Fetching https://github.com/t-ae/xorswift.git from cache
Fetched https://github.com/t-ae/xorswift.git from cache (0.48s)
Computing version for https://github.com/t-ae/xorswift.git
Computed https://github.com/t-ae/xorswift.git at 0.0.10 (0.02s)
Creating working copy for https://github.com/t-ae/xorswift.git
Working copy of https://github.com/t-ae/xorswift.git resolved at 0.0.10
Creating working copy for https://github.com/t-ae/ndarray.git
Working copy of https://github.com/t-ae/ndarray.git resolved at 0.0.14
Creating working copy for https://github.com/t-ae/swifit-learn.git
Working copy of https://github.com/t-ae/swifit-learn.git resolved at master (259662c)
warning: '.resolve-product-dependencies': dependency 'swifit-learn' is not used by any target
Found 1 product dependencies
- NDArray
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/t-ae/swifit-learn.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
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/10] Compiling Xorswift NextAfter.swift
[6/10] Compiling Xorswift State.swift
[7/10] Compiling Xorswift Xorswift.swift
[8/10] Compiling Xorswift Uniform.swift
[9/10] Emitting module Xorswift
[10/10] Compiling Xorswift Normal.swift
[11/36] Emitting module NDArray
[12/38] Compiling NDArray ArrayLiteral.swift
[13/38] Compiling NDArray Broadcast.swift
[14/38] Compiling NDArray Indexing.swift
[15/38] Compiling NDArray Select.swift
[16/38] Compiling NDArray Sort.swift
[17/38] Compiling NDArray Scalar.swift
[18/38] Compiling NDArray Sequence.swift
[19/38] Compiling NDArray Subscript.swift
[20/38] Compiling NDArray Power.swift
[21/38] Compiling NDArray Random.swift
[22/38] Compiling NDArray Reduce.swift
[23/38] Compiling NDArray CopySign.swift
[24/38] Compiling NDArray Creation.swift
[25/38] Compiling NDArray FloatingPointFunctions.swift
[26/38] Compiling NDArray Stack.swift
[27/38] Compiling NDArray Transformation.swift
[28/38] Compiling NDArray Arithmetic.swift
[29/38] Compiling NDArray Clip.swift
[30/38] Compiling NDArray CompoundAssignment.swift
[31/38] Compiling NDArray vDSPUtils.swift
[32/38] Compiling NDArray vecLibUtils.swift
[33/38] Compiling NDArray HigherOrderFunctions.swift
[34/38] Compiling NDArray LinearAlgebra.swift
[35/38] Compiling NDArray MatrixMultiplication.swift
[36/38] Compiling NDArray IterationUtils.swift
[37/38] Compiling NDArray NDArray.swift
[38/38] Compiling NDArray NDArrayUtils.swift
[39/45] Compiling SwifitLearn KNeighborClassifier.swift
[40/45] Compiling SwifitLearn KMeans.swift
[41/45] Emitting module SwifitLearn
[42/45] Compiling SwifitLearn DBSCAN.swift
[43/45] Compiling SwifitLearn Utils.swift
[44/45] Compiling SwifitLearn RandomForestClassifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/RandomForestClassifier.swift:55:13: warning: capture of 'self' with non-sendable type 'RandomForestClassifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public class RandomForestClassifier {
| `- note: class 'RandomForestClassifier' does not conform to the 'Sendable' protocol
15 |
16 | let numEstimators: Int
:
53 | self.trees = (0..<numEstimators).map { i in Node(x: samples[i].x, y: samples[i].y, criterion: criterion) }
54 | DispatchQueue.concurrentPerform(iterations: numEstimators) { i in
55 | self.trees![i].divide(maxDepth: maxDepth, maxFeatures: maxFeatures)
| `- warning: capture of 'self' with non-sendable type 'RandomForestClassifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | }
57 | }
[45/45] Compiling SwifitLearn MeanShift.swift
Build complete! (14.15s)
Build complete.
{
"dependencies" : [
{
"identity" : "ndarray",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.14",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/t-ae/ndarray.git"
}
],
"manifest_display_name" : "SwifitLearn",
"name" : "SwifitLearn",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwifitLearn",
"targets" : [
"SwifitLearn"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwifitLearnTests",
"module_type" : "SwiftTarget",
"name" : "SwifitLearnTests",
"path" : "Tests/SwifitLearnTests",
"sources" : [
"IrisClassificationTests.swift",
"IrisDataset.swift",
"UtilsTests.swift"
],
"target_dependencies" : [
"SwifitLearn"
],
"type" : "test"
},
{
"c99name" : "SwifitLearn",
"module_type" : "SwiftTarget",
"name" : "SwifitLearn",
"path" : "Sources",
"product_dependencies" : [
"NDArray"
],
"product_memberships" : [
"SwifitLearn"
],
"sources" : [
"DBSCAN.swift",
"KMeans.swift",
"KNeighborClassifier.swift",
"MeanShift.swift",
"RandomForestClassifier.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.