Build Information
Failed to build Elephant, reference 0.1.2 (c6cb1d
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 08:53:19 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/s2mr/Elephant.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/s2mr/Elephant
* tag 0.1.2 -> FETCH_HEAD
HEAD is now at c6cb1d4 Update README
Cloned https://github.com/s2mr/Elephant.git
Revision (git rev-parse @):
c6cb1d4e39a3cceadf44c0b95e11230e3eec0904
SUCCESS checkout https://github.com/s2mr/Elephant.git at 0.1.2
========================================
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": "elephant",
"name": "Elephant",
"url": "https://github.com/s2mr/Elephant.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Elephant",
"dependencies": [
]
}
]
}
Fetching https://github.com/s2mr/Elephant.git
[1/325] Fetching elephant
Fetched https://github.com/s2mr/Elephant.git from cache (0.88s)
Creating working copy for https://github.com/s2mr/Elephant.git
Working copy of https://github.com/s2mr/Elephant.git resolved at 0.1.2 (c6cb1d4)
warning: '.resolve-product-dependencies': dependency 'elephant' 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/s2mr/Elephant.git
https://github.com/s2mr/Elephant.git
{
"dependencies" : [
],
"manifest_display_name" : "Elephant",
"name" : "Elephant",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "Elephant",
"targets" : [
"Elephant"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ElephantTests",
"module_type" : "SwiftTarget",
"name" : "ElephantTests",
"path" : "Tests/ElephantTests",
"sources" : [
"ElephantTests.swift"
],
"target_dependencies" : [
"Elephant"
],
"type" : "test"
},
{
"c99name" : "Elephant",
"module_type" : "SwiftTarget",
"name" : "Elephant",
"path" : "Sources/Elephant",
"product_memberships" : [
"Elephant"
],
"sources" : [
"AnimationOwner.swift",
"JavaScriptExecutor.swift",
"SVGLoader.swift",
"SVGView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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
[3/7] Compiling Elephant JavaScriptExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Compiling Elephant SVGView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
[5/7] Compiling Elephant AnimationOwner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
[6/7] Emitting module Elephant
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
[7/7] Compiling Elephant SVGLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
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/Elephant/Info.plist
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 Elephant
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
[3/6] Compiling Elephant SVGLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
[4/6] Compiling Elephant JavaScriptExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
[5/6] Compiling Elephant SVGView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
[6/6] Compiling Elephant AnimationOwner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elephant/SVGView.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 | import WebKit
3 |
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/Elephant/Info.plist
BUILD FAILURE 6.1 macosSpm