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 swift-inotify, reference main (3cf850), with Swift 6.2 (beta) for Wasm on 4 Aug 2025 10:44:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/swift-inotify.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/sersoft-gmbh/swift-inotify
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3cf850e Bump github.com/apple/swift-system from 1.6.1 to 1.6.2
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
3cf850edb5cbb2d34f008b2c2cee2c023f8245ac
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sersoft-gmbh/swift-inotify.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
[1/1716] Fetching swift-filestreamer
[1666/6547] Fetching swift-filestreamer, swift-system
[2635/8641] Fetching swift-filestreamer, swift-system, swift-docc-plugin
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.45s)
Fetched https://github.com/apple/swift-system from cache (0.45s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.45s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.10.0 (0.81s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3442] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (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.5
Creating working copy for https://github.com/sersoft-gmbh/swift-filestreamer
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer resolved at 0.10.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[5/7] Compiling CSystem shims.c
[5/7] Write swift-version-24593BA9C3E375BF.txt
[8/38] Compiling SystemPackage FilePathSyntax.swift
[9/38] Compiling SystemPackage FilePathTemp.swift
[10/38] Compiling SystemPackage FilePathTempPosix.swift
[11/38] Compiling SystemPackage FilePathTempWindows.swift
[12/42] Compiling SystemPackage FilePath.swift
[13/42] Compiling SystemPackage FilePathComponentView.swift
[14/42] Compiling SystemPackage FilePathComponents.swift
[15/42] Compiling SystemPackage FilePathParsing.swift
[16/42] Compiling SystemPackage FilePathString.swift
[17/42] Compiling SystemPackage Errno.swift
[18/42] Compiling SystemPackage ErrnoWindows.swift
[19/42] Compiling SystemPackage FileDescriptor.swift
[20/42] Compiling SystemPackage FileHelpers.swift
[21/42] Compiling SystemPackage FileOperations.swift
[22/42] Emitting module SystemPackage
[23/42] Compiling SystemPackage Constants.swift
[24/42] Compiling SystemPackage Exports.swift
[25/42] Compiling SystemPackage Mocking.swift
[26/42] Compiling SystemPackage RawBuffer.swift
[27/42] Compiling SystemPackage Syscalls.swift
[28/42] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/42] Compiling SystemPackage MachPort.swift
[30/42] Compiling SystemPackage PlatformString.swift
[31/42] Compiling SystemPackage IORing.swift
[32/42] Compiling SystemPackage RawIORequest.swift
[33/42] Compiling SystemPackage Backcompat.swift
[34/42] Compiling SystemPackage CInterop.swift
[35/42] Compiling SystemPackage FilePathWindows.swift
[36/42] Compiling SystemPackage FilePermissions.swift
[37/42] Compiling SystemPackage IOCompletion.swift
[38/42] Compiling SystemPackage IORequest.swift
[39/42] Compiling SystemPackage SystemString.swift
[40/42] Compiling SystemPackage Util+StringArray.swift
[41/42] Compiling SystemPackage Util.swift
[42/42] Compiling SystemPackage UtilConsumers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/45] Emitting module FileStreamer
/host/spi-builder-workspace/.build/checkouts/swift-filestreamer/Sources/FileStreamer/FileStream.swift:2:20: error: no such module 'Foundation'
  1 | #if swift(>=6.0) // Currently fails to build otherwise
  2 | fileprivate import Foundation
    |                    `- error: no such module 'Foundation'
  3 | #endif
  4 | fileprivate import Dispatch
[45/45] Compiling FileStreamer FileStream.swift
/host/spi-builder-workspace/.build/checkouts/swift-filestreamer/Sources/FileStreamer/FileStream.swift:2:20: error: no such module 'Foundation'
  1 | #if swift(>=6.0) // Currently fails to build otherwise
  2 | fileprivate import Foundation
    |                    `- error: no such module 'Foundation'
  3 | #endif
  4 | fileprivate import Dispatch
BUILD FAILURE 6.2 wasm