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

Failed to build MNISTKit, reference develop (0702b1), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 12:07:38 UTC.

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/cafielo/MNISTKit.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cafielo/MNISTKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 0702b14 remove forced unwrapping #4
Cloned https://github.com/cafielo/MNISTKit.git
Revision (git rev-parse @):
0702b1438e41eb502e1684b1b9c4d6301c773c20
SUCCESS checkout https://github.com/cafielo/MNISTKit.git at develop
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/cafielo/MNISTKit.git
[1/94] Fetching mnistkit
Fetched https://github.com/cafielo/MNISTKit.git from cache (1.13s)
Creating working copy for https://github.com/cafielo/MNISTKit.git
Working copy of https://github.com/cafielo/MNISTKit.git resolved at develop (0702b14)
error: 'mnistkit': Source files for target MNISTKit should be located under 'Sources/MNISTKit', or a custom sources path can be set with the 'path' property in Package.swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/cafielo/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
error: 'spi-builder-workspace': Source files for target MNISTKit should be located under 'Sources/MNISTKit', or a custom sources path can be set with the 'path' property in Package.swift
BUILD FAILURE 6.0 macosSpm