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 AlignedCollectionViewFlowLayout, reference master (49330e), with Swift 6.0 (beta) for macOS (SPM) on 16 Sep 2024 10:51:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mischa-hildebrand/AlignedCollectionViewFlowLayout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mischa-hildebrand/AlignedCollectionViewFlowLayout
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 49330ef Merge pull request #21 from Jeehut/master
Cloned https://github.com/mischa-hildebrand/AlignedCollectionViewFlowLayout.git
Revision (git rev-parse @):
49330ef67177dba5c9e1a3efdd0df93d83f12ee7
SUCCESS checkout https://github.com/mischa-hildebrand/AlignedCollectionViewFlowLayout.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mischa-hildebrand/AlignedCollectionViewFlowLayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module AlignedCollectionViewFlowLayout
/Users/admin/builder/spi-builder-workspace/AlignedCollectionViewFlowLayout/Classes/AlignedCollectionViewFlowLayout.swift:28:8: error: no such module 'UIKit'
 26 | //
 27 |
 28 | import UIKit
    |        `- error: no such module 'UIKit'
 29 |
 30 |
[4/4] Compiling AlignedCollectionViewFlowLayout AlignedCollectionViewFlowLayout.swift
/Users/admin/builder/spi-builder-workspace/AlignedCollectionViewFlowLayout/Classes/AlignedCollectionViewFlowLayout.swift:28:8: error: no such module 'UIKit'
 26 | //
 27 |
 28 | import UIKit
    |        `- error: no such module 'UIKit'
 29 |
 30 |
BUILD FAILURE 6.0 macosSpm