The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Y_SwiftUIAlert, reference master (81551d), with Swift 6.1 for macOS (SPM) on 29 Aug 2025 17:35:09 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1ilI/Y_SwiftUIAlert.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/1ilI/Y_SwiftUIAlert
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 81551d9 统一命名
Cloned https://github.com/1ilI/Y_SwiftUIAlert.git
Revision (git rev-parse @):
81551d9f01cd2c73bfc7da7e174af3e73012e1c9
SUCCESS checkout https://github.com/1ilI/Y_SwiftUIAlert.git at master
========================================
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": "y_swiftuialert",
      "name": "Y_SwiftUIAlert",
      "url": "https://github.com/1ilI/Y_SwiftUIAlert.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Y_SwiftUIAlert",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/1ilI/Y_SwiftUIAlert.git
[1/66] Fetching y_swiftuialert
Fetched https://github.com/1ilI/Y_SwiftUIAlert.git from cache (1.09s)
Creating working copy for https://github.com/1ilI/Y_SwiftUIAlert.git
Working copy of https://github.com/1ilI/Y_SwiftUIAlert.git resolved at master (81551d9)
warning: '.resolve-product-dependencies': dependency 'y_swiftuialert' 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/1ilI/Y_SwiftUIAlert.git
https://github.com/1ilI/Y_SwiftUIAlert.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Y_SwiftUIAlert",
  "name" : "Y_SwiftUIAlert",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Y_SwiftUIAlert",
      "targets" : [
        "Y_SwiftUIAlert"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Y_SwiftUIAlertTests",
      "module_type" : "SwiftTarget",
      "name" : "Y_SwiftUIAlertTests",
      "path" : "Tests/Y_SwiftUIAlertTests",
      "sources" : [
        "Y_SwiftUIAlertTests.swift"
      ],
      "target_dependencies" : [
        "Y_SwiftUIAlert"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Y_SwiftUIAlert",
      "module_type" : "SwiftTarget",
      "name" : "Y_SwiftUIAlert",
      "path" : "Sources/Y_SwiftUIAlert",
      "product_memberships" : [
        "Y_SwiftUIAlert"
      ],
      "sources" : [
        "Y_AlertAction.swift",
        "Y_AlertConfig.swift",
        "Y_AlertConstants.swift",
        "Y_AlertManager.swift",
        "Y_AlertModifier.swift",
        "Y_AlertValidation.swift",
        "Y_TextFieldConfig.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
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/10] Emitting module Y_SwiftUIAlert
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[4/10] Compiling Y_SwiftUIAlert Y_TextFieldConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[5/10] Compiling Y_SwiftUIAlert Y_AlertAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[6/10] Compiling Y_SwiftUIAlert Y_AlertConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[7/10] Compiling Y_SwiftUIAlert Y_AlertManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[8/10] Compiling Y_SwiftUIAlert Y_AlertValidation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[9/10] Compiling Y_SwiftUIAlert Y_AlertConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[10/10] Compiling Y_SwiftUIAlert Y_AlertModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Emitting module Y_SwiftUIAlert
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[3/9] Compiling Y_SwiftUIAlert Y_AlertManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[4/9] Compiling Y_SwiftUIAlert Y_AlertModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[5/9] Compiling Y_SwiftUIAlert Y_AlertConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[6/9] Compiling Y_SwiftUIAlert Y_TextFieldConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[7/9] Compiling Y_SwiftUIAlert Y_AlertValidation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[8/9] Compiling Y_SwiftUIAlert Y_AlertConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
[9/9] Compiling Y_SwiftUIAlert Y_AlertAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - Alert动作类型
BUILD FAILURE 6.1 macosSpm