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 DeviceAuthority, reference v0.2.0 (44a5e0), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 02:11:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/getsidetrack/swift-device-authority.git
Reference: v0.2.0
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/getsidetrack/swift-device-authority
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 44a5e06 Move `numbits` parameters to end of command call
Cloned https://github.com/getsidetrack/swift-device-authority.git
Revision (git rev-parse @):
44a5e06e570bf6c987aa54289948208f12e4a5a0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsidetrack/swift-device-authority.git at v0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/getsidetrack/swift-device-authority.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/vapor/console-kit.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/980] Fetching shellout
[2/6998] Fetching shellout, console-kit
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.28s)
Fetched https://github.com/vapor/console-kit.git from cache (0.33s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.94s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.41s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3836] Fetching swift-log
[3837/80163] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (2.42s)
[68695/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (5.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.06s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[1511/6233] Fetching swift-atomics, swift-system
[2686/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.30s)
Fetched https://github.com/apple/swift-system.git from cache (1.30s)
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.82s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Building for debugging...
[0/20] Write sources
[8/20] Write swift-version-24593BA9C3E375BF.txt
[9/20] Compiling c-nioatomics.c
[10/29] Compiling c-atomics.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/35] Emitting module DeviceAuthority
/host/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | import Security
  9 |
[13/35] Compiling DeviceAuthority DeviceAuthority.swift
/host/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | import Security
  9 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/35] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | import Dispatch
  9 |
[15/35] Compiling Logging LogHandler.swift
BUILD FAILURE 6.2 wasm