The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWMachineLearning_MNIST, reference main (6f779c), with Swift 6.1 for macOS (SPM) on 3 Sep 2025 04:21:03 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWMachineLearning_MNIST
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6f779c4 - add Privacy
Cloned https://github.com/William-Weng/WWMachineLearning_MNIST.git
Revision (git rev-parse @):
6f779c4fb4377caaa3a7f3c7dd8e1dd487633f41
SUCCESS checkout https://github.com/William-Weng/WWMachineLearning_MNIST.git at main
Fetching https://github.com/William-Weng/WWMachineLearning_Resnet50
[1/121] Fetching wwmachinelearning_resnet50
Fetched https://github.com/William-Weng/WWMachineLearning_Resnet50 from cache (1.26s)
Computing version for https://github.com/William-Weng/WWMachineLearning_Resnet50
Computed https://github.com/William-Weng/WWMachineLearning_Resnet50 at 1.1.3 (1.84s)
Fetching https://github.com/William-Weng/WWNetworking
[1/421] Fetching wwnetworking
Fetched https://github.com/William-Weng/WWNetworking from cache (1.21s)
Computing version for https://github.com/William-Weng/WWNetworking
Computed https://github.com/William-Weng/WWNetworking at 1.8.0 (1.79s)
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
[2/80] Fetching wwmachinelearning_mnist
Fetched https://github.com/William-Weng/WWMachineLearning_MNIST.git from cache (0.90s)
Fetching https://github.com/William-Weng/WWMachineLearning_Resnet50 from cache
Fetched https://github.com/William-Weng/WWMachineLearning_Resnet50 from cache (0.45s)
Computing version for https://github.com/William-Weng/WWMachineLearning_Resnet50
Computed https://github.com/William-Weng/WWMachineLearning_Resnet50 at 1.1.3 (0.50s)
Fetching https://github.com/William-Weng/WWNetworking from cache
Fetched https://github.com/William-Weng/WWNetworking from cache (0.45s)
Computing version for https://github.com/William-Weng/WWNetworking
Computed https://github.com/William-Weng/WWNetworking at 1.8.0 (0.50s)
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 main (6f779c4)
Creating working copy for https://github.com/William-Weng/WWNetworking
Working copy of https://github.com/William-Weng/WWNetworking resolved at 1.8.0
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
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"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWMachineLearning_MNIST/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "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/7] Write sources
[3/7] Copying Privacy
[6/7] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] 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/12] 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
[10/12] 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
[11/12] 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
[12/12] 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 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
[4/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
[5/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
[6/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
BUILD FAILURE 6.1 macosSpm