Build Information
Successful build of MNISTKit, reference 0.0.7 (15ba9b
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 17:05:33 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/octadero/mnistkit.git
Reference: 0.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/octadero/mnistkit
* tag 0.0.7 -> FETCH_HEAD
HEAD is now at 15ba9ba Update DataSetProvider.swift
Cloned https://github.com/octadero/mnistkit.git
Revision (git rev-parse @):
15ba9ba1a7e216ba427fbc994e842bed2137142c
SUCCESS checkout https://github.com/octadero/mnistkit.git at 0.0.7
Fetching https://github.com/Octadero/Unarchiver.git
[1/24] Fetching unarchiver
Fetched https://github.com/Octadero/Unarchiver.git from cache (0.59s)
Computing version for https://github.com/Octadero/Unarchiver.git
Computed https://github.com/Octadero/Unarchiver.git at 0.0.5 (0.54s)
Fetching https://github.com/Octadero/CZlib.git
[1/15] Fetching czlib
Fetched https://github.com/Octadero/CZlib.git from cache (0.57s)
Computing version for https://github.com/Octadero/CZlib.git
Computed https://github.com/Octadero/CZlib.git at 0.0.5 (0.54s)
Creating working copy for https://github.com/Octadero/CZlib.git
Working copy of https://github.com/Octadero/CZlib.git resolved at 0.0.5
Creating working copy for https://github.com/Octadero/Unarchiver.git
Working copy of https://github.com/Octadero/Unarchiver.git resolved at 0.0.5
========================================
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": "mnistkit",
"name": "MNISTKit",
"url": "https://github.com/octadero/mnistkit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mnistkit",
"dependencies": [
{
"identity": "unarchiver",
"name": "Unarchiver",
"url": "https://github.com/Octadero/Unarchiver.git",
"version": "0.0.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Unarchiver",
"dependencies": [
{
"identity": "czlib",
"name": "CZlib",
"url": "https://github.com/Octadero/CZlib.git",
"version": "0.0.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CZlib",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/octadero/mnistkit.git
[1/138] Fetching mnistkit
Fetched https://github.com/octadero/mnistkit.git from cache (0.88s)
Fetching https://github.com/Octadero/Unarchiver.git from cache
Fetched https://github.com/Octadero/Unarchiver.git from cache (0.46s)
Computing version for https://github.com/Octadero/Unarchiver.git
Computed https://github.com/Octadero/Unarchiver.git at 0.0.5 (0.02s)
Fetching https://github.com/Octadero/CZlib.git from cache
Fetched https://github.com/Octadero/CZlib.git from cache (0.46s)
Computing version for https://github.com/Octadero/CZlib.git
Computed https://github.com/Octadero/CZlib.git at 0.0.5 (0.02s)
Creating working copy for https://github.com/Octadero/CZlib.git
Working copy of https://github.com/Octadero/CZlib.git resolved at 0.0.5
Creating working copy for https://github.com/Octadero/Unarchiver.git
Working copy of https://github.com/Octadero/Unarchiver.git resolved at 0.0.5
Creating working copy for https://github.com/octadero/mnistkit.git
Working copy of https://github.com/octadero/mnistkit.git resolved at 0.0.7 (15ba9ba)
warning: 'czlib': ignoring declared target(s) 'CZlib' in the system package
warning: '.resolve-product-dependencies': dependency 'mnistkit' is not used by any target
Found 1 product dependencies
- Unarchiver
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/octadero/mnistkit.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/6] Emitting module Unarchiver
[5/6] Compiling Unarchiver Unarchiver.swift
[6/6] Compiling Unarchiver Data.swift
[7/10] Compiling MNISTKit MNISTKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/MNISTKit/MNISTKit.swift:39:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'MNISTFileKind' to 'Hashable' by implementing 'hash(into:)' instead
37 |
38 | /// Simple, but fast work.
39 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'MNISTFileKind' to 'Hashable' by implementing 'hash(into:)' instead
40 | switch self {
41 | case .label(stride: .train):
/Users/admin/builder/spi-builder-workspace/Sources/MNISTKit/MNISTKit.swift:90:21: warning: capture of 'self' with non-sendable type 'MNISTDataset' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 |
75 | /// Represents list of MNIST files in dataset.
76 | public class MNISTDataset {
| `- note: class 'MNISTDataset' does not conform to the 'Sendable' protocol
77 | public private(set) var files = [MNISTFile]()
78 |
:
88 | DispatchQueue.global().async {
89 | do {
90 | try self.prepare()
| `- warning: capture of 'self' with non-sendable type 'MNISTDataset' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 | } catch {
92 | self.loadCallback(error)
[8/10] Emitting module MNISTKit
/Users/admin/builder/spi-builder-workspace/Sources/MNISTKit/MNISTKit.swift:39:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'MNISTFileKind' to 'Hashable' by implementing 'hash(into:)' instead
37 |
38 | /// Simple, but fast work.
39 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'MNISTFileKind' to 'Hashable' by implementing 'hash(into:)' instead
40 | switch self {
41 | case .label(stride: .train):
[9/10] Compiling MNISTKit DataSetProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/MNISTKit/DataSetProvider.swift:55:21: warning: capture of 'callback' with non-sendable type '(String?, URL?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | let task = urlSession.downloadTask(with: url, completionHandler: { (localFileURL, response, error) in
54 | if let error = error {
55 | callback(path, nil, error)
| |- warning: capture of 'callback' with non-sendable type '(String?, URL?, (any Error)?) -> Void' 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'
56 | return
57 | }
[10/10] Compiling MNISTKit MNISTFile.swift
Build complete! (7.23s)
warning: 'czlib': ignoring declared target(s) 'CZlib' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for libz
Build complete.
{
"dependencies" : [
{
"identity" : "unarchiver",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Octadero/Unarchiver.git"
}
],
"manifest_display_name" : "MNISTKit",
"name" : "MNISTKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MNISTKit",
"targets" : [
"MNISTKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MNISTKitTests",
"module_type" : "SwiftTarget",
"name" : "MNISTKitTests",
"path" : "Tests/MNISTKitTests",
"sources" : [
"MNISTKitTests.swift"
],
"target_dependencies" : [
"MNISTKit"
],
"type" : "test"
},
{
"c99name" : "MNISTKit",
"module_type" : "SwiftTarget",
"name" : "MNISTKit",
"path" : "Sources/MNISTKit",
"product_dependencies" : [
"Unarchiver"
],
"product_memberships" : [
"MNISTKit"
],
"sources" : [
"DataSetProvider.swift",
"MNISTFile.swift",
"MNISTKit.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.