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 Snacker, reference 1.0.0 (e537d7), with Swift 6.1 for macOS (SPM) on 1 May 2025 02:25:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/snacker.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/snacker
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at e537d7e Release `1.0.0` (#2)
Cloned https://github.com/space-code/snacker.git
Revision (git rev-parse @):
e537d7e0a0de4fb485bc31833ef582aaceba66df
SUCCESS checkout https://github.com/space-code/snacker.git at 1.0.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": "snacker",
      "name": "Snacker",
      "url": "https://github.com/space-code/snacker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/snacker",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/space-code/snacker.git
[1/81] Fetching snacker
Fetched https://github.com/space-code/snacker.git from cache (0.62s)
Creating working copy for https://github.com/space-code/snacker.git
Working copy of https://github.com/space-code/snacker.git resolved at 1.0.0 (e537d7e)
warning: '.resolve-product-dependencies': dependency 'snacker' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/space-code/snacker.git
https://github.com/space-code/snacker.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Snacker",
  "name" : "Snacker",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "Snacker",
      "targets" : [
        "Snacker"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnackerTests",
      "module_type" : "SwiftTarget",
      "name" : "SnackerTests",
      "path" : "Tests",
      "sources" : [
        "snackerTests/snackerTests.swift"
      ],
      "target_dependencies" : [
        "Snacker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Snacker",
      "module_type" : "SwiftTarget",
      "name" : "Snacker",
      "path" : "Sources",
      "product_memberships" : [
        "Snacker"
      ],
      "sources" : [
        "snacker/Classes/Core/Snacker/Snacker.swift",
        "snacker/Classes/Model/SnackbarAction.swift",
        "snacker/Classes/Model/SnackbarAlignment.swift",
        "snacker/Classes/Model/SnackbarData.swift",
        "snacker/Classes/Model/SnackbarInsets.swift",
        "snacker/Classes/Presentation/SnackbarController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Compiling Snacker SnackbarAlignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[4/9] Compiling Snacker SnackbarData.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[5/9] Emitting module Snacker
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[6/9] Compiling Snacker SnackbarController.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[7/9] Compiling Snacker SnackbarAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[8/9] Compiling Snacker Snacker.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[9/9] Compiling Snacker SnackbarInsets.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/snacker/Resources/Media.xcassets
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling Snacker SnackbarInsets.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[3/8] Compiling Snacker SnackbarAlignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[4/8] Compiling Snacker SnackbarData.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[5/8] Compiling Snacker SnackbarAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[6/8] Compiling Snacker SnackbarController.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module Snacker
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
[8/8] Compiling Snacker Snacker.swift
/Users/admin/builder/spi-builder-workspace/Sources/snacker/Classes/Core/Snacker/Snacker.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | // MARK: - ISnacker
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/snacker/Resources/Media.xcassets
BUILD FAILURE 6.1 macosSpm