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 Pin, reference main (33b3d3), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 19:11:07 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/mezhevikin/Pin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mezhevikin/Pin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 33b3d36 Fix mistake in README
Cloned https://github.com/mezhevikin/Pin.git
Revision (git rev-parse @):
33b3d364c344f2dbb712f02198cb54561b77d554
SUCCESS checkout https://github.com/mezhevikin/Pin.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": "pin",
      "name": "Pin",
      "url": "https://github.com/mezhevikin/Pin.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Pin",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mezhevikin/Pin.git
[1/78] Fetching pin
Fetched https://github.com/mezhevikin/Pin.git from cache (0.66s)
Creating working copy for https://github.com/mezhevikin/Pin.git
Working copy of https://github.com/mezhevikin/Pin.git resolved at main (33b3d36)
warning: '.resolve-product-dependencies': dependency 'pin' 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/mezhevikin/Pin.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/4] Emitting module Pin
/Users/admin/builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
  1 | // Mezhevikin Alexey https://github.com/mezhevikin/Pin
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public final class Pin {
[4/4] Compiling Pin Pin.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
  1 | // Mezhevikin Alexey https://github.com/mezhevikin/Pin
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public final class Pin {
BUILD FAILURE 6.0 macosSpm