The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Hardware, reference main (d9c86f), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 14:47:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Hardware.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/elegantchaos/Hardware
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d9c86fd Updated header
Cloned https://github.com/elegantchaos/Hardware.git
Revision (git rev-parse @):
d9c86fdc42f14e5014e588d532df013f331ca9d7
SUCCESS checkout https://github.com/elegantchaos/Hardware.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/elegantchaos/Hardware.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
[1/144] Fetching actionbuilderplugin
[12/231] Fetching actionbuilderplugin, swiftformatterplugin
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (0.45s)
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.45s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (1.36s)
Fetching https://github.com/nicklockwood/SwiftFormat
[1/48941] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (29.81s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.8 (34.18s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/462] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (0.32s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 1.1.1 (0.83s)
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Versionator.git
[1/676] Fetching runner
[339/1060] Fetching runner, versionator
[1061/1212] Fetching runner, versionator, semanticversion
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.30s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.30s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.30s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 1.0.3 (0.80s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (0.46s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (0.50s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.27s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.70s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.24s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.78s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (0.53s)
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Working copy of https://github.com/elegantchaos/SwiftFormatterPlugin.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 1.0.8
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.4
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module Runner
[5/9] Compiling Runner Runner.swift
[6/10] Wrapping AST for Runner for debugging
[8/12] Emitting module VersionatorTool
[9/12] Compiling VersionatorTool VersionatorTool.swift
[10/13] Wrapping AST for VersionatorTool for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking VersionatorTool-tool
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin SwiftFormatPlugin
[3/3] Compiling plugin ActionBuilderPlugin
[4/4] Compiling plugin VersionatorPlugin
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/15] Compiling Hardware Platform.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
[8/16] Compiling Hardware MacAddress.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
[9/16] Compiling Hardware System.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
[10/16] Compiling Hardware IOIterator.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
[11/16] Compiling Hardware Device.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
[12/16] Compiling Hardware EthernetInterface.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/16] Emitting module Hardware
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
[14/16] Compiling Hardware IORegistryEntry.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
[15/16] Compiling Hardware IOObject.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
[16/16] Compiling Hardware IOService.swift
/host/spi-builder-workspace/Sources/Hardware/Device.swift:6:8: error: no such module 'Foundation'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | #if canImport(UIKit)
BUILD FAILURE 6.2 wasm