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 AsyncFileMonitor, reference 1.0.0 (df573c), with Swift 6.2 (beta) for Wasm on 5 Sep 2025 08:54:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/AsyncFileMonitor.git
Reference: 1.0.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/CleanCocoa/AsyncFileMonitor
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at df573cb chore: update docs and references
Cloned https://github.com/CleanCocoa/AsyncFileMonitor.git
Revision (git rev-parse @):
df573cba62a5845a1a98d96bef7a22b5ccb9557b
SUCCESS checkout https://github.com/CleanCocoa/AsyncFileMonitor.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/CleanCocoa/AsyncFileMonitor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
[1/2094] Fetching swift-docc-plugin
[2095/19488] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (2.21s)
Fetched https://github.com/apple/swift-collections.git from cache (2.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (3.03s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3503] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/25] Write sources
[12/25] Write swift-version-24593BA9C3E375BF.txt
[14/39] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/39] Compiling InternalCollectionsUtilities Descriptions.swift
[16/39] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/40] Emitting module InternalCollectionsUtilities
[18/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[19/40] Compiling InternalCollectionsUtilities Integer rank.swift
[20/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[21/40] Compiling InternalCollectionsUtilities Debugging.swift
[22/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[25/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[26/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[27/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/61] Wrapping AST for InternalCollectionsUtilities for debugging
[31/315] Compiling _RopeModule BigString+Debugging.swift
[32/315] Compiling _RopeModule BigString+Index.swift
[33/315] Compiling _RopeModule BigString+Ingester.swift
[34/315] Compiling _RopeModule BigString+Invariants.swift
[35/317] Compiling HeapModule Heap+Descriptions.swift
[36/317] Compiling _RopeModule BigString+CustomStringConvertible.swift
[37/317] Compiling _RopeModule BigString+Equatable.swift
[38/317] Compiling HeapModule _HeapNode.swift
[39/317] Compiling HeapModule Heap.swift
[40/317] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[41/317] Compiling HeapModule Heap+Invariants.swift
[42/317] Compiling HeapModule Heap+UnsafeHandle.swift
[43/317] Emitting module HeapModule
[44/318] Wrapping AST for HeapModule for debugging
[46/318] Compiling DequeModule _DequeSlot.swift
[47/318] Compiling DequeModule _UnsafeWrappedBuffer.swift
[48/318] Compiling _RopeModule Rope+ForEachWhile.swift
[49/318] Compiling _RopeModule Rope+Insert.swift
[50/318] Compiling HashTreeCollections TreeSet+Sequence.swift
[51/318] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[52/318] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[53/318] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[54/318] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[55/318] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[56/318] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[57/318] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[58/328] Compiling _RopeModule BigString+UnicodeScalarView.swift
[59/328] Compiling _RopeModule BigSubstring+UTF16View.swift
[60/328] Compiling _RopeModule BigSubstring+UTF8View.swift
[61/328] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[62/328] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[63/328] Compiling _RopeModule Rope+Builder.swift
[64/328] Compiling HashTreeCollections TreeDictionary+Filter.swift
[65/328] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[66/328] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[67/328] Compiling _RopeModule Rope+_Storage.swift
[68/328] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[69/328] Compiling _RopeModule Rope+_UnsafeHandle.swift
[70/328] Compiling _RopeModule Rope.swift
[71/328] Compiling _RopeModule RopeElement.swift
[72/335] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[73/335] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[74/335] Compiling _RopeModule BigString+Sequence.swift
[75/335] Compiling _RopeModule BigString+TextOutputStream.swift
[76/335] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[77/335] Compiling _RopeModule BigString+Chunk+Breaks.swift
[78/335] Compiling _RopeModule BigString+Chunk+Counts.swift
[79/335] Compiling _RopeModule BigString+Chunk+Description.swift
[80/335] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[81/335] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[82/335] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[83/335] Compiling _RopeModule BigString+Chunk+Splitting.swift
[84/335] Compiling _RopeModule BigString+Chunk.swift
[85/335] Compiling _RopeModule BigString+BidirectionalCollection.swift
[86/335] Compiling _RopeModule BigString+Append.swift
[87/342] Compiling _RopeModule BigString+Insert.swift
[88/342] Compiling _RopeModule BigString+Managing Breaks.swift
[89/342] Compiling _RopeModule BigString+RemoveSubrange.swift
[90/342] Compiling _RopeModule BigString+ReplaceSubrange.swift
[91/342] Compiling _RopeModule BigString+Split.swift
[92/342] Compiling _RopeModule Range+BigString.swift
[93/342] Compiling HashTreeCollections _UnsafePath.swift
[94/342] Compiling HashTreeCollections TreeDictionary+Codable.swift
[95/342] Compiling _RopeModule BigString+Summary.swift
[96/342] Compiling _RopeModule BigString.swift
[97/342] Compiling _RopeModule BigString+Iterators.swift
[98/342] Compiling _RopeModule BigString+Metrics.swift
[99/342] Compiling _RopeModule BigString+Comparable.swift
[100/342] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[101/342] Compiling BitCollections Range+Utilities.swift
[102/342] Compiling BitCollections Slice+Utilities.swift
[103/342] Compiling BitCollections UInt+Tricks.swift
[104/342] Compiling BitCollections _Word.swift
[105/342] Compiling OrderedCollections OrderedSet.swift
[106/342] Compiling OrderedCollections _UnsafeBitset.swift
[107/342] Compiling _RopeModule Rope+Sequence.swift
[108/342] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[109/342] Compiling HashTreeCollections TreeSet+Extras.swift
[110/342] Compiling HashTreeCollections TreeSet+Filter.swift
[119/342] Compiling BitCollections BitSet.Index.swift
[120/342] Compiling BitCollections BitSet._UnsafeHandle.swift
[121/342] Compiling BitCollections BitSet.swift
[122/342] Compiling _RopeModule BigString+Builder.swift
[123/342] Compiling _RopeModule BigString+Contents.swift
[140/342] Emitting module DequeModule
[156/343] Compiling HashTreeCollections _HashSlot.swift
[163/343] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[164/343] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[165/343] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[166/343] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[167/343] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[168/343] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[169/343] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[170/343] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[171/343] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[172/343] Compiling HashTreeCollections TreeSet.swift
[172/343] Wrapping AST for DequeModule for debugging
[233/352] Emitting module BitCollections
[281/353] Emitting module OrderedCollections
[303/354] Wrapping AST for OrderedCollections for debugging
[304/354] Wrapping AST for BitCollections for debugging
[328/354] Emitting module _RopeModule
[329/354] Compiling _RopeModule Rope+Join.swift
[330/354] Compiling _RopeModule Rope+MutatingForEach.swift
[331/354] Compiling _RopeModule Rope+Remove.swift
[332/354] Compiling _RopeModule Rope+RemoveSubrange.swift
[333/354] Compiling _RopeModule Rope+Split.swift
[334/354] Compiling _RopeModule Optional Utilities.swift
[335/354] Compiling _RopeModule String Utilities.swift
[336/354] Compiling _RopeModule String.Index+ABI.swift
[337/354] Compiling _RopeModule _CharacterRecognizer.swift
[338/354] Emitting module HashTreeCollections
[339/355] Wrapping AST for HashTreeCollections for debugging
[350/356] Wrapping AST for _RopeModule for debugging
[352/358] Emitting module Collections
[353/358] Compiling Collections Collections.swift
[354/359] Wrapping AST for Collections for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[356/365] Emitting module AsyncFileMonitor
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 |
 12 | /// Option set wrapper around some `FSEventStreamEventFlags` which are useful to monitor folders.
[357/365] Compiling AsyncFileMonitor FileSystemEventStream.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 |
 12 | /// Option set wrapper around some `FSEventStreamEventFlags` which are useful to monitor folders.
[358/365] Compiling AsyncFileMonitor FolderContentChangeEvent.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 |
 12 | /// Option set wrapper around some `FSEventStreamEventFlags` which are useful to monitor folders.
[359/365] Compiling AsyncFileMonitor Change.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 |
 12 | /// Option set wrapper around some `FSEventStreamEventFlags` which are useful to monitor folders.
[360/365] Compiling AsyncFileMonitor MulticastAsyncStream.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 |
 12 | /// Option set wrapper around some `FSEventStreamEventFlags` which are useful to monitor folders.
[361/365] Compiling AsyncFileMonitor FolderContentMonitor.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 |
 12 | /// Option set wrapper around some `FSEventStreamEventFlags` which are useful to monitor folders.
BUILD FAILURE 6.2 wasm