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 SCNViewController, reference 1.2.0 (84c029), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 21:22:06 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/capnslipp/SCNViewController.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/capnslipp/SCNViewController
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 84c029c Bumped version to 1.2.0
Cloned https://github.com/capnslipp/SCNViewController.git
Revision (git rev-parse @):
84c029cd3ef24ca725bdcf4d193bafb7b4fba116
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/capnslipp/SCNViewController.git at 1.2.0
========================================
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": "scnviewcontroller",
      "name": "SCNViewController",
      "url": "https://github.com/capnslipp/SCNViewController.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SCNViewController",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/capnslipp/SCNViewController.git
[1/250] Fetching scnviewcontroller
Fetched https://github.com/capnslipp/SCNViewController.git from cache (0.74s)
Creating working copy for https://github.com/capnslipp/SCNViewController.git
Working copy of https://github.com/capnslipp/SCNViewController.git resolved at 1.2.0 (84c029c)
warning: '.resolve-product-dependencies': dependency 'scnviewcontroller' 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/capnslipp/SCNViewController.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
[3/6] Compiling SCNViewController ViewOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
  3 | // @license: Public Domain per The Unlicense.  See accompanying LICENSE file or <http://unlicense.org/>.
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import SceneKit
  7 | import class AVFoundation.AVAudioEngine
[4/6] Compiling SCNViewController SCNViewExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
  3 | // @license: Public Domain per The Unlicense.  See accompanying LICENSE file or <http://unlicense.org/>.
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import SceneKit
  7 | import class AVFoundation.AVAudioEngine
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module SCNViewController
/Users/admin/builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
  3 | // @license: Public Domain per The Unlicense.  See accompanying LICENSE file or <http://unlicense.org/>.
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import SceneKit
  7 | import class AVFoundation.AVAudioEngine
[6/6] Compiling SCNViewController SCNViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SCNViewController.swift:5:8: error: no such module 'UIKit'
  3 | // @license: Public Domain per The Unlicense.  See accompanying LICENSE file or <http://unlicense.org/>.
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import SceneKit
  7 | import class AVFoundation.AVAudioEngine
BUILD FAILURE 6.0 macosSpm