Build Information
Failed to build Inotify, reference 2.2.0 (10943f), with Swift 6.1 for Wasm on 23 Mar 2026 22:45:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 2.2.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/astzweig/swift-inotify
* tag 2.2.0 -> FETCH_HEAD
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 2.2.0
========================================
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-4606859-3":/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-nio
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/tuist/Noora
Fetching https://github.com/apple/swift-log
[1/17414] Fetching swift-argument-parser
[524/23015] Fetching swift-argument-parser, swift-system
[5184/41775] Fetching swift-argument-parser, swift-system, noora
[5988/48036] Fetching swift-argument-parser, swift-system, noora, swift-log
[10647/50722] Fetching swift-argument-parser, swift-system, noora, swift-log, swift-subprocess
[24058/133627] Fetching swift-argument-parser, swift-system, noora, swift-log, swift-subprocess, swift-nio
Fetched https://github.com/apple/swift-log from cache (0.99s)
[28232/127366] Fetching swift-argument-parser, swift-system, noora, swift-subprocess, swift-nio
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (9.18s)
Fetched https://github.com/apple/swift-system from cache (9.18s)
Fetched https://github.com/tuist/Noora from cache (9.37s)
Fetched https://github.com/apple/swift-argument-parser from cache (9.94s)
Fetched https://github.com/apple/swift-nio from cache (10.05s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (10.75s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (3.79s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (0.87s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.64s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (0.62s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/path
[1/1427] Fetching rainbow
[16/1822] Fetching rainbow, path
Fetched https://github.com/tuist/path from cache (0.23s)
Fetched https://github.com/onevcat/Rainbow from cache (0.27s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (3.62s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (4.21s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.0 (1.69s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[19/1820] Fetching swift-atomics
[602/24448] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
[2037/22628] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.25s)
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.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
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/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.0
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/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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
[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 CNIOWindows shim.c
[22/61] Compiling CNIOOpenBSD shim.c
[22/61] Compiling CNIOPosix event_loop_id.c
[24/61] Compiling CNIOWASI CNIOWASI.c
[25/61] Compiling CNIOWindows WSAStartup.c
[26/61] Compiling CNIODarwin shim.c
[26/61] Write sources
[30/61] Compiling _AtomicsShims.c
[31/61] Compiling CNIOLinux shim.c
[32/61] Compiling CNIOLinux liburing_shims.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.
[33/61] Compiling _SubprocessCShims process_shims.c
[33/61] Compiling c-nioatomics.c
[33/61] Compiling c-atomics.c
[33/61] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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...
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.
[2/30] Compiling _SubprocessCShims process_shims.c
[2/30] Compiling c-nioatomics.c
[2/30] Compiling c-atomics.c
[2/30] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm