Build Information
Failed to build Inotify, reference main (10943f), with Swift 6.1 for Wasm on 23 Mar 2026 22:45:39 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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/astzweig/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/astzweig/swift-inotify
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 10943f9 Make events property of Inotify nonisolated
Cloned https://github.com/astzweig/swift-inotify.git
Revision (git rev-parse @):
10943f9ce328786faef1cae2f680601b33d5a5ab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/astzweig/swift-inotify.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/astzweig/swift-inotify.git
https://github.com/astzweig/swift-inotify.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.10.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.95.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-subprocess",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-subprocess.git"
},
{
"identity" : "noora",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/Noora"
}
],
"manifest_display_name" : "Inotify",
"name" : "Inotify",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "Linux",
"version" : "4.4.302"
}
],
"products" : [
{
"name" : "Inotify",
"targets" : [
"Inotify"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InotifyTaskCLI",
"targets" : [
"InotifyTaskCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "InotifyTaskCLI",
"module_type" : "SwiftTarget",
"name" : "InotifyTaskCLI",
"path" : "Sources/TaskCLI",
"product_dependencies" : [
"ArgumentParser",
"Logging",
"_NIOFileSystem",
"Subprocess",
"Noora"
],
"product_memberships" : [
"InotifyTaskCLI"
],
"sources" : [
"Command.swift",
"DoccFinder.swift",
"Docker.swift",
"GenerateDocumentation Command.swift",
"Global Options.swift",
"Test Command.swift"
],
"type" : "executable"
},
{
"c99name" : "InotifyIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "InotifyIntegrationTests",
"path" : "Tests/InotifyIntegrationTests",
"product_dependencies" : [
"SystemPackage"
],
"sources" : [
"DirectoryResolverTests.swift",
"EventTests.swift",
"InitialisationTests.swift",
"InotifyLimitTests.swift",
"RecursiveEventTests.swift",
"Utilities/createFile.swift",
"Utilities/createSubdirectorytree.swift",
"Utilities/getEventsForTrigger.swift",
"Utilities/withLowInotifyWatchLimit.swift",
"Utilities/withTempDir.swift",
"WatchTests.swift"
],
"target_dependencies" : [
"Inotify"
],
"type" : "test"
},
{
"c99name" : "Inotify",
"module_type" : "SwiftTarget",
"name" : "Inotify",
"path" : "Sources/Inotify",
"product_dependencies" : [
"Logging",
"_NIOFileSystem",
"SystemPackage"
],
"product_memberships" : [
"Inotify"
],
"sources" : [
"DirectoryResolver.swift",
"DirectoryResolverErrror.swift",
"Inotify.swift",
"InotifyError.swift",
"InotifyEvent.swift",
"InotifyEventMask.swift",
"InotifyEventParser.swift",
"InotifyWatchManager.swift",
"RawInotifyEvent.swift"
],
"target_dependencies" : [
"CInotify"
],
"type" : "library"
},
{
"c99name" : "CInotify",
"module_type" : "SystemLibraryTarget",
"name" : "CInotify",
"path" : "Sources/CInotify",
"product_memberships" : [
"Inotify"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.0"
}
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Noora
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-argument-parser
[1/18760] Fetching noora
[377/36174] Fetching noora, swift-argument-parser
[1838/42435] Fetching noora, swift-argument-parser, swift-log
[2151/48036] Fetching noora, swift-argument-parser, swift-log, swift-system
[8494/50722] Fetching noora, swift-argument-parser, swift-log, swift-system, swift-subprocess
[29352/133627] Fetching noora, swift-argument-parser, swift-log, swift-system, swift-subprocess, swift-nio
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.02s)
Fetched https://github.com/apple/swift-system from cache (1.02s)
[41050/125340] Fetching noora, swift-argument-parser, swift-log, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (1.03s)
[24465/107926] Fetching noora, swift-log, swift-nio
Fetched https://github.com/tuist/Noora from cache (6.01s)
Fetched https://github.com/apple/swift-log from cache (6.51s)
Fetched https://github.com/apple/swift-nio from cache (6.63s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (7.39s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.72s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.60s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (0.64s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/1427] Fetching rainbow
[2/1822] Fetching rainbow, path
Fetched https://github.com/tuist/path from cache (0.39s)
Fetched https://github.com/onevcat/Rainbow from cache (0.39s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (3.42s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.34s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.0 (1.05s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[802/24448] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.32s)
Fetched https://github.com/apple/swift-collections.git from cache (1.35s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.90s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.87s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.1
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/61] Write sources
[20/61] Compiling CSystem shims.c
[21/61] Compiling _AtomicsShims.c
[22/61] Compiling CNIOWindows shim.c
[23/61] Compiling CNIOWASI CNIOWASI.c
[24/61] Compiling CNIOPosix event_loop_id.c
[25/61] Compiling CNIOOpenBSD shim.c
[26/61] Compiling CNIOWindows WSAStartup.c
[27/61] Write sources
[30/61] Compiling CNIOLinux shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:18:10: fatal error: 'pthread.h' file not found
18 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[31/61] Compiling _SubprocessCShims process_shims.c
[31/61] Compiling CNIOLinux liburing_shims.c
[31/61] Compiling c-atomics.c
[31/61] Compiling CNIODarwin shim.c
[31/61] Compiling c-nioatomics.c
[31/61] Write swift-version-24593BA9C3E375BF.txt
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/32] Compiling CNIOLinux liburing_shims.c
[3/32] Compiling CNIODarwin shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:18:10: fatal error: 'pthread.h' file not found
18 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[4/32] Compiling _SubprocessCShims process_shims.c
[4/32] Write swift-version-24593BA9C3E375BF.txt
[4/32] Compiling c-atomics.c
[4/32] Compiling c-nioatomics.c
BUILD FAILURE 6.1 wasm