The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWMachineLearning_MNIST, reference 1.0.1 (e719c4), with Swift 6.1 for macOS (SPM) on 3 Sep 2025 04:20:51 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/William-Weng/WWMachineLearning_MNIST.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWMachineLearning_MNIST
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at e719c49 - update WWMachineLearning
Cloned https://github.com/William-Weng/WWMachineLearning_MNIST.git
Revision (git rev-parse @):
e719c497db4fc79bf92885699bab1a6eb2f75e3c
SUCCESS checkout https://github.com/William-Weng/WWMachineLearning_MNIST.git at 1.0.1
Fetching https://github.com/William-Weng/WWMachineLearning_Resnet50
[1/121] Fetching wwmachinelearning_resnet50
Fetched https://github.com/William-Weng/WWMachineLearning_Resnet50 from cache (1.22s)
Computing version for https://github.com/William-Weng/WWMachineLearning_Resnet50
Computed https://github.com/William-Weng/WWMachineLearning_Resnet50 at 1.1.3 (1.83s)
Fetching https://github.com/William-Weng/WWNetworking
[1/421] Fetching wwnetworking
Fetched https://github.com/William-Weng/WWNetworking from cache (1.18s)
Computing version for https://github.com/William-Weng/WWNetworking
Computed https://github.com/William-Weng/WWNetworking at 1.8.0 (1.77s)
Creating working copy for https://github.com/William-Weng/WWMachineLearning_Resnet50
Working copy of https://github.com/William-Weng/WWMachineLearning_Resnet50 resolved at 1.1.3
Creating working copy for https://github.com/William-Weng/WWNetworking
Working copy of https://github.com/William-Weng/WWNetworking resolved at 1.8.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": "wwmachinelearning_mnist",
      "name": "WWMachineLearning_MNIST",
      "url": "https://github.com/William-Weng/WWMachineLearning_MNIST.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWMachineLearning_MNIST",
      "dependencies": [
        {
          "identity": "wwmachinelearning_resnet50",
          "name": "WWMachineLearning_Resnet50",
          "url": "https://github.com/William-Weng/WWMachineLearning_Resnet50",
          "version": "1.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWMachineLearning_Resnet50",
          "dependencies": [
            {
              "identity": "wwnetworking",
              "name": "WWNetworking",
              "url": "https://github.com/William-Weng/WWNetworking",
              "version": "1.8.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWNetworking",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/William-Weng/WWMachineLearning_MNIST.git
[1/80] Fetching wwmachinelearning_mnist
Fetched https://github.com/William-Weng/WWMachineLearning_MNIST.git from cache (0.84s)
Fetching https://github.com/William-Weng/WWMachineLearning_Resnet50 from cache
Fetched https://github.com/William-Weng/WWMachineLearning_Resnet50 from cache (0.48s)
Computing version for https://github.com/William-Weng/WWMachineLearning_Resnet50
Computed https://github.com/William-Weng/WWMachineLearning_Resnet50 at 1.1.3 (0.54s)
Fetching https://github.com/William-Weng/WWNetworking from cache
Fetched https://github.com/William-Weng/WWNetworking from cache (0.42s)
Computing version for https://github.com/William-Weng/WWNetworking
Computed https://github.com/William-Weng/WWNetworking at 1.8.0 (0.48s)
Creating working copy for https://github.com/William-Weng/WWMachineLearning_Resnet50
Working copy of https://github.com/William-Weng/WWMachineLearning_Resnet50 resolved at 1.1.3
Creating working copy for https://github.com/William-Weng/WWMachineLearning_MNIST.git
Working copy of https://github.com/William-Weng/WWMachineLearning_MNIST.git resolved at 1.0.1 (e719c49)
Creating working copy for https://github.com/William-Weng/WWNetworking
Working copy of https://github.com/William-Weng/WWNetworking resolved at 1.8.0
warning: '.resolve-product-dependencies': dependency 'wwmachinelearning_mnist' is not used by any target
Found 1 product dependencies
  - WWMachineLearning_Resnet50
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWMachineLearning_MNIST.git
https://github.com/William-Weng/WWMachineLearning_MNIST.git
{
  "dependencies" : [
    {
      "identity" : "wwmachinelearning_resnet50",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/William-Weng/WWMachineLearning_Resnet50"
    }
  ],
  "manifest_display_name" : "WWMachineLearning_MNIST",
  "name" : "WWMachineLearning_MNIST",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WWMachineLearning_MNIST",
      "targets" : [
        "WWMachineLearning_MNIST"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWMachineLearning_MNIST",
      "module_type" : "SwiftTarget",
      "name" : "WWMachineLearning_MNIST",
      "path" : "Sources/WWMachineLearning_MNIST",
      "product_dependencies" : [
        "WWMachineLearning_Resnet50"
      ],
      "product_memberships" : [
        "WWMachineLearning_MNIST"
      ],
      "sources" : [
        "WWMachineLearning+MNIST.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/6] Write sources
[3/6] Copying Privacy
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/11] Compiling WWNetworking resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/11] Emitting module WWNetworking
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[9/11] Compiling WWNetworking Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[10/11] Compiling WWNetworking Extension.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[11/11] Compiling WWNetworking Networking.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
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/6] Emitting module WWNetworking
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[3/6] Compiling WWNetworking Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[4/6] Compiling WWNetworking Extension.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[5/6] Compiling WWNetworking resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[6/6] Compiling WWNetworking Networking.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
BUILD FAILURE 6.1 macosSpm