Build Information
Failed to build FileMonitor, reference 1.2.1 (5adbe8), with Swift 6.1 for Wasm on 16 Jan 2026 09:13:17 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aus-der-Technik/FileMonitor.git
Reference: 1.2.1
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/aus-der-Technik/FileMonitor
* tag 1.2.1 -> FETCH_HEAD
HEAD is now at 5adbe8f Merge pull request #8 from oytech/fix-typo
Cloned https://github.com/aus-der-Technik/FileMonitor.git
Revision (git rev-parse @):
5adbe8f2383eac5148475ef84977806bbd33e8d7
SUCCESS checkout https://github.com/aus-der-Technik/FileMonitor.git at 1.2.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/aus-der-Technik/FileMonitor.git
https://github.com/aus-der-Technik/FileMonitor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "FileMonitor",
"name" : "FileMonitor",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FileMonitor",
"targets" : [
"FileMonitor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FileMonitorDelegateExample",
"targets" : [
"FileMonitorDelegateExample"
],
"type" : {
"executable" : null
}
},
{
"name" : "FileMonitorAsyncStreamExample",
"targets" : [
"FileMonitorAsyncStreamExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "FileMonitorTests",
"module_type" : "SwiftTarget",
"name" : "FileMonitorTests",
"path" : "Tests/FileMonitorTests",
"sources" : [
"Extensions/String+Random.swift",
"FileMonitorExplicitAddTests.swift",
"FileMonitorExplicitChangeTests.swift",
"FileMonitorExplicitDeleteTests.swift",
"FileMonitorFileHasPathTests.swift",
"FileMonitorTests.swift"
],
"target_dependencies" : [
"FileMonitor"
],
"type" : "test"
},
{
"c99name" : "FileMonitorShared",
"module_type" : "SwiftTarget",
"name" : "FileMonitorShared",
"path" : "Sources/FileMonitorShared",
"product_memberships" : [
"FileMonitor",
"FileMonitorDelegateExample",
"FileMonitorAsyncStreamExample"
],
"sources" : [
"FileChangeEvent.swift",
"URL+isDirectory.swift",
"Watcher.swift"
],
"type" : "library"
},
{
"c99name" : "FileMonitorMacOS",
"module_type" : "SwiftTarget",
"name" : "FileMonitorMacOS",
"path" : "Sources/FileMonitorMacOS",
"product_memberships" : [
"FileMonitor",
"FileMonitorDelegateExample",
"FileMonitorAsyncStreamExample"
],
"sources" : [
"FileWatcher+Action.swift",
"FileWatcher+Type.swift",
"FileWatcher.swift",
"FileWatcherEvent.swift",
"MacosWatcher.swift"
],
"target_dependencies" : [
"FileMonitorShared"
],
"type" : "library"
},
{
"c99name" : "FileMonitorLinux",
"module_type" : "SwiftTarget",
"name" : "FileMonitorLinux",
"path" : "Sources/FileMonitorLinux",
"product_memberships" : [
"FileMonitor",
"FileMonitorDelegateExample",
"FileMonitorAsyncStreamExample"
],
"sources" : [
"FileSystemWatcher.swift",
"InotifyEvent.swift",
"LinuxWatcher.swift"
],
"target_dependencies" : [
"CInotify",
"FileMonitorShared"
],
"type" : "library"
},
{
"c99name" : "FileMonitorDelegateExample",
"module_type" : "SwiftTarget",
"name" : "FileMonitorDelegateExample",
"path" : "Sources/FileMonitorDelegateExample",
"product_memberships" : [
"FileMonitorDelegateExample"
],
"sources" : [
"FileMonitorDelegateExample.swift"
],
"target_dependencies" : [
"FileMonitor"
],
"type" : "executable"
},
{
"c99name" : "FileMonitorAsyncStreamExample",
"module_type" : "SwiftTarget",
"name" : "FileMonitorAsyncStreamExample",
"path" : "Sources/FileMonitorAsyncStreamExample",
"product_memberships" : [
"FileMonitorAsyncStreamExample"
],
"sources" : [
"FileMonitorAsyncStreamExample.swift"
],
"target_dependencies" : [
"FileMonitor"
],
"type" : "executable"
},
{
"c99name" : "FileMonitor",
"module_type" : "SwiftTarget",
"name" : "FileMonitor",
"path" : "Sources/FileMonitor",
"product_memberships" : [
"FileMonitor",
"FileMonitorDelegateExample",
"FileMonitorAsyncStreamExample"
],
"sources" : [
"FileDidChangedDelegate.swift",
"FileMonitor.swift"
],
"target_dependencies" : [
"FileMonitorShared",
"FileMonitorMacOS",
"FileMonitorLinux"
],
"type" : "library"
},
{
"c99name" : "CInotify",
"module_type" : "SystemLibraryTarget",
"name" : "CInotify",
"path" : "Sources/Inotify",
"product_memberships" : [
"FileMonitor",
"FileMonitorDelegateExample",
"FileMonitorAsyncStreamExample"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.9"
}
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version-24593BA9C3E375BF.txt
[6/17] Emitting module FileMonitorShared
[7/17] Compiling FileMonitorShared FileChangeEvent.swift
[8/17] Compiling FileMonitorShared URL+isDirectory.swift
[9/17] Compiling FileMonitorShared Watcher.swift
[10/18] Wrapping AST for FileMonitorShared for debugging
[12/21] Compiling FileMonitor FileMonitor.swift
/host/spi-builder-workspace/Sources/FileMonitor/FileMonitor.swift:53:37: error: enum case 'unsupported_os' has no associated values
51 | watcher = try MacosWatcher(directory: url)
52 | #else
53 | throw FileMonitorErrors.unsupported_os()
| `- error: enum case 'unsupported_os' has no associated values
54 | #endif
55 |
[13/21] Compiling FileMonitor FileDidChangedDelegate.swift
[14/21] Emitting module FileMonitor
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling FileMonitorShared Watcher.swift
[3/13] Compiling FileMonitorShared URL+isDirectory.swift
[4/13] Emitting module FileMonitorShared
[5/13] Compiling FileMonitorShared FileChangeEvent.swift
[7/16] Emitting module FileMonitor
[8/16] Compiling FileMonitor FileDidChangedDelegate.swift
[9/16] Compiling FileMonitor FileMonitor.swift
/host/spi-builder-workspace/Sources/FileMonitor/FileMonitor.swift:53:37: error: enum case 'unsupported_os' has no associated values
51 | watcher = try MacosWatcher(directory: url)
52 | #else
53 | throw FileMonitorErrors.unsupported_os()
| `- error: enum case 'unsupported_os' has no associated values
54 | #endif
55 |
BUILD FAILURE 6.1 wasm