Build Information
Failed to build AsyncFileMonitor, reference main (ec258d
), with Swift 6.2 (beta) for Wasm on 6 Sep 2025 09:15:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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/CleanCocoa/AsyncFileMonitor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ec258da docs: update documentation for multicast approach
Cloned https://github.com/CleanCocoa/AsyncFileMonitor.git
Revision (git rev-parse @):
ec258da8a7a2fcd5d5f8db3a913ca4c1b6dfc79a
SUCCESS checkout https://github.com/CleanCocoa/AsyncFileMonitor.git at main
========================================
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-2":/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/19504] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (1.16s)
Fetched https://github.com/apple/swift-collections.git from cache (1.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.84s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.14s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3504] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.99s)
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 _UnsafeBitSet.swift
[15/39] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/40] Compiling InternalCollectionsUtilities Debugging.swift
[18/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/40] Compiling InternalCollectionsUtilities Descriptions.swift
[20/40] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[21/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/40] Emitting module InternalCollectionsUtilities
[23/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/40] Compiling InternalCollectionsUtilities Integer rank.swift
[25/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[26/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[27/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[28/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/41] Wrapping AST for InternalCollectionsUtilities for debugging
[31/284] Compiling HeapModule Heap+Invariants.swift
[32/315] Compiling HeapModule _HeapNode.swift
[33/315] Compiling _RopeModule BigString+Debugging.swift
[34/315] Compiling _RopeModule BigString+Index.swift
[35/317] Compiling _RopeModule BigString+Chunk+Counts.swift
[36/317] Compiling _RopeModule BigString+Chunk+Description.swift
[37/317] Compiling HeapModule Heap.swift
[38/317] Emitting module HeapModule
[39/317] Compiling HeapModule Heap+Descriptions.swift
[40/317] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[41/317] Compiling HeapModule Heap+UnsafeHandle.swift
[43/318] Compiling _RopeModule BigString+Iterators.swift
[44/318] Compiling _RopeModule BigString+Metrics.swift
[45/318] Compiling _RopeModule BigString+Ingester.swift
[46/318] Compiling _RopeModule BigString+Invariants.swift
[46/318] Wrapping AST for HeapModule for debugging
[48/318] Compiling HashTreeCollections TreeSet+Hashable.swift
[49/318] Compiling HashTreeCollections TreeSet+Sendable.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 DequeModule _DequeSlot.swift
[59/328] Compiling DequeModule _UnsafeWrappedBuffer.swift
[60/328] Compiling HashTreeCollections _HashNode.swift
[61/328] Compiling HashTreeCollections _HashNodeHeader.swift
[62/328] Compiling HashTreeCollections _HashSlot.swift
[63/328] Compiling HashTreeCollections _HashStack.swift
[64/328] Compiling HashTreeCollections TreeDictionary.swift
[65/328] Compiling HashTreeCollections TreeSet+Codable.swift
[66/328] Compiling HashTreeCollections TreeSet+Collection.swift
[67/328] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[68/328] Compiling HashTreeCollections TreeSet+Debugging.swift
[69/328] Compiling HashTreeCollections TreeSet+Descriptions.swift
[70/328] Compiling HashTreeCollections TreeSet+Equatable.swift
[71/328] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[72/328] Compiling HashTreeCollections TreeSet+Extras.swift
[73/328] Compiling HashTreeCollections TreeSet+Filter.swift
[84/335] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[85/335] Compiling _RopeModule BigString+Chunk+Breaks.swift
[86/335] Compiling _RopeModule BigString+Summary.swift
[87/335] Compiling _RopeModule BigString.swift
[88/335] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[89/335] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[90/335] Compiling HashTreeCollections TreeDictionary+Filter.swift
[91/335] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[92/335] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[93/335] Compiling HashTreeCollections TreeDictionary+Keys.swift
[94/335] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[95/335] Compiling HashTreeCollections TreeDictionary+Merge.swift
[96/335] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[97/335] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[98/335] Compiling HashTreeCollections TreeDictionary+Values.swift
[99/335] Compiling _RopeModule BigString+Builder.swift
[100/335] Compiling _RopeModule BigString+Contents.swift
[101/335] Compiling _RopeModule BigSubstring.swift
[102/335] Compiling _RopeModule Rope+Builder.swift
[103/335] Compiling _RopeModule Rope+Debugging.swift
[104/335] Compiling _RopeModule Rope+Invariants.swift
[105/335] Compiling _RopeModule Rope+_Node.swift
[106/335] Compiling _RopeModule BigString+Comparable.swift
[107/335] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[108/335] Compiling _RopeModule BigString+CustomStringConvertible.swift
[109/335] Compiling _RopeModule BigString+Equatable.swift
[110/335] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[111/335] Compiling _RopeModule BigString+Hashing.swift
[112/335] Compiling HashTreeCollections _HashNode+Structural union.swift
[113/335] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[114/335] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[115/335] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[116/335] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[125/335] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[126/335] Compiling _RopeModule BigString+Chunk+Splitting.swift
[127/335] Compiling _RopeModule BigString+Chunk.swift
[128/335] Compiling _RopeModule BigString+BidirectionalCollection.swift
[129/335] Compiling _RopeModule BigString+UnicodeScalarView.swift
[130/335] Compiling _RopeModule BigSubstring+UTF16View.swift
[131/335] Compiling _RopeModule BigSubstring+UTF8View.swift
[132/335] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[133/335] Emitting module DequeModule
[148/343] Wrapping AST for DequeModule for debugging
[150/343] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[151/343] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[152/343] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[153/343] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[154/343] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[155/343] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[156/343] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[157/343] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[158/343] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[159/343] Compiling HashTreeCollections TreeSet.swift
[174/343] Emitting module BitCollections
[231/343] Compiling BitCollections BitSet.Index.swift
[232/343] Compiling BitCollections BitSet._UnsafeHandle.swift
[233/343] Compiling BitCollections BitSet.swift
[234/343] Compiling BitCollections Range+Utilities.swift
[235/343] Compiling BitCollections Slice+Utilities.swift
[239/352] Compiling BitCollections UInt+Tricks.swift
[240/352] Compiling BitCollections _Word.swift
[241/352] Compiling OrderedCollections OrderedSet.swift
[242/352] Compiling OrderedCollections _UnsafeBitset.swift
[243/352] Emitting module OrderedCollections
[262/354] Wrapping AST for OrderedCollections for debugging
[273/354] Wrapping AST for BitCollections for debugging
[275/354] Emitting module _RopeModule
[309/354] Emitting module HashTreeCollections
[310/355] Wrapping AST for HashTreeCollections for debugging
[341/355] Compiling _RopeModule Rope+Join.swift
[342/355] Compiling _RopeModule Rope+MutatingForEach.swift
[343/355] Compiling _RopeModule Rope+Remove.swift
[344/355] Compiling _RopeModule Rope+RemoveSubrange.swift
[345/355] Compiling _RopeModule Rope+Split.swift
[346/355] Compiling _RopeModule Optional Utilities.swift
[347/355] Compiling _RopeModule String Utilities.swift
[348/355] Compiling _RopeModule String.Index+ABI.swift
[349/355] Compiling _RopeModule _CharacterRecognizer.swift
[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 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.
[358/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.
[359/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.
[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