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 MediaViewer, reference main (f7c26a), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 07:48:17 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jrsaruo/MediaViewer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jrsaruo/MediaViewer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f7c26ac Merge pull request #102 from jrsaruo/release-0.1.3
Cloned https://github.com/jrsaruo/MediaViewer.git
Revision (git rev-parse @):
f7c26ac985c2bcf8e177dd6b75332e76055ea49d
SUCCESS checkout https://github.com/jrsaruo/MediaViewer.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": "mediaviewer",
      "name": "MediaViewer",
      "url": "https://github.com/jrsaruo/MediaViewer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MediaViewer",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jrsaruo/MediaViewer.git
[1/4165] Fetching mediaviewer
Fetched https://github.com/jrsaruo/MediaViewer.git from cache (1.04s)
Creating working copy for https://github.com/jrsaruo/MediaViewer.git
Working copy of https://github.com/jrsaruo/MediaViewer.git resolved at main (f7c26ac)
warning: '.resolve-product-dependencies': dependency 'mediaviewer' 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/jrsaruo/MediaViewer.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/21] Emitting module MediaViewer
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[4/21] Compiling MediaViewer AnyMediaIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[5/21] Compiling MediaViewer MediaViewerViewController+UI.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[6/23] Compiling MediaViewer MediaViewerTransition.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[7/23] Compiling MediaViewer UIViewTransitioningConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[8/23] Compiling MediaViewer MediaViewerViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[9/23] Compiling MediaViewer MediaViewerViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[10/23] Compiling MediaViewer Sequence+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[11/23] Compiling MediaViewer UICollectionView+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[12/23] Compiling MediaViewer MediaViewerPageControlBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[13/23] Compiling MediaViewer MediaViewerPageControlBarLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[14/23] Compiling MediaViewer MediaViewerOnePageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[15/23] Compiling MediaViewer MediaViewerOnePageViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[16/23] Compiling MediaViewer UIViewControllerContextTransitioning+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[17/23] Compiling MediaViewer Media.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[18/23] Compiling MediaViewer UIImageView+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[19/23] Compiling MediaViewer UIView+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[20/23] Compiling MediaViewer PageControlBarThumbnailCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[21/23] Compiling MediaViewer MediaViewerInteractivePopTransition.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[22/23] Compiling MediaViewer MediaViewerDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
[23/23] Compiling MediaViewer MediaViewerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension MediaViewerViewController {
BUILD FAILURE 6.0 macosSpm