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 main (e9cb90), with Swift 6.0 for macOS (SPM) on 25 Mar 2025 20:05:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/snacker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/snacker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e9cb90e Bump actions/checkout from 2 to 4 (#3)
Cloned https://github.com/space-code/snacker.git
Revision (git rev-parse @):
e9cb90e857300d688b674e8ba58395900d48a08c
SUCCESS checkout https://github.com/space-code/snacker.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": "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.57s)
Creating working copy for https://github.com/space-code/snacker.git
Working copy of https://github.com/space-code/snacker.git resolved at main (e9cb90e)
warning: '.resolve-product-dependencies': dependency 'snacker' 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/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.2.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-5BDAB9E9C0126B9D.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 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
[7/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
[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.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/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
[3/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
[4/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
[5/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
[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
[7/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
[8/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
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.0 macosSpm