Build Information
Failed to build Factory, reference v2.4.11 (98e965
), with Swift 5.10 for macOS (SPM) on 5 May 2025 19:47:34 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Factory.git
Reference: v2.4.11
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hmlongco/Factory
* tag v2.4.11 -> FETCH_HEAD
HEAD is now at 98e965b Updates for 2.4.11
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
98e965ba52769132a298769894f9741f8c291509
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at v2.4.11
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/hmlongco/Factory.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[2/6] Copying PrivacyInfo.xcprivacy
[5/6] Write swift-version-33747A42983211AE.txt
[7/20] Compiling Factory Scopes.swift
[8/21] Compiling Factory Resolutions.swift
[9/21] Compiling Factory Resolver.swift
[10/21] Compiling Factory Contexts.swift
[11/21] Compiling Factory Factory.swift
[12/21] Compiling Factory Modifiers.swift
[13/21] Compiling Factory Registrations.swift
[14/21] Compiling Factory resource_bundle_accessor.swift
[15/21] Emitting module Factory
[16/21] Compiling Factory Aliases.swift
[17/21] Compiling Factory Containers.swift
[18/21] Compiling Factory Globals.swift
[19/21] Compiling Factory Injections.swift
[20/21] Compiling Factory Key.swift
[21/21] Compiling Factory Locking.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/23] Emitting module FactoryTesting
/Users/admin/builder/spi-builder-workspace/Sources/FactoryTesting/ContainerTrait.swift:31:8: error: no such module 'Testing'
import Testing
^
[23/23] Compiling FactoryTesting ContainerTrait.swift
/Users/admin/builder/spi-builder-workspace/Sources/FactoryTesting/ContainerTrait.swift:31:8: error: no such module 'Testing'
import Testing
^
error: fatalError
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.65s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.07s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.50s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
BUILD FAILURE 5.10 macosSpm