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 swift-inotify, reference main (4095c3), with Swift 5.10 for macOS (SPM) on 5 Jun 2025 10:24:13 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/swift-inotify.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sersoft-gmbh/swift-inotify
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4095c35 Bump github.com/apple/swift-docc-plugin from 1.4.3 to 1.4.4
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
4095c35805b0412501ce10ca0221a479f605d1a2
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/sersoft-gmbh/swift-inotify.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/7] Write sources
[5/7] Compiling CSystem shims.c
[6/7] Write swift-version-33747A42983211AE.txt
[8/35] Emitting module SystemPackage
[9/38] Compiling SystemPackage FilePathComponentView.swift
[10/38] Compiling SystemPackage FilePathComponents.swift
[11/38] Compiling SystemPackage FilePathParsing.swift
[12/38] Compiling SystemPackage Errno.swift
[13/38] Compiling SystemPackage ErrnoWindows.swift
[14/38] Compiling SystemPackage FileDescriptor.swift
[15/38] Compiling SystemPackage Util+StringArray.swift
[16/38] Compiling SystemPackage Util.swift
[17/38] Compiling SystemPackage UtilConsumers.swift
[18/38] Compiling SystemPackage FilePathTempPosix.swift
[19/38] Compiling SystemPackage FilePathTempWindows.swift
[20/38] Compiling SystemPackage FilePathWindows.swift
[21/38] Compiling SystemPackage FileHelpers.swift
[22/38] Compiling SystemPackage FileOperations.swift
[23/38] Compiling SystemPackage FilePath.swift
[24/38] Compiling SystemPackage FilePathString.swift
[25/38] Compiling SystemPackage FilePathSyntax.swift
[26/38] Compiling SystemPackage FilePathTemp.swift
[27/38] Compiling SystemPackage FilePermissions.swift
[28/38] Compiling SystemPackage Backcompat.swift
[29/38] Compiling SystemPackage CInterop.swift
[30/38] Compiling SystemPackage RawBuffer.swift
[31/38] Compiling SystemPackage Syscalls.swift
[32/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[33/38] Compiling SystemPackage MachPort.swift
[34/38] Compiling SystemPackage PlatformString.swift
[35/38] Compiling SystemPackage SystemString.swift
[36/38] Compiling SystemPackage Constants.swift
[37/38] Compiling SystemPackage Exports.swift
[38/38] Compiling SystemPackage Mocking.swift
[39/40] Emitting module FileStreamer
[40/40] Compiling FileStreamer FileStream.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-filestreamer/Sources/FileStreamer/FileStream.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Dispatch
^
@preconcurrency
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/43] Emitting module Inotify
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shims.h"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/CInotify/shims.h:6:10: error: 'sys/inotify.h' file not found
#include <sys/inotify.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/Inotify/Inotifier.swift:15:17: error: could not build Objective-C module 'CInotify'
internal import CInotify
                ^
[42/43] Compiling Inotify Inotifier.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shims.h"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/CInotify/shims.h:6:10: error: 'sys/inotify.h' file not found
#include <sys/inotify.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/Inotify/Inotifier.swift:15:17: error: could not build Objective-C module 'CInotify'
internal import CInotify
                ^
[43/43] Compiling Inotify InotifyEvent.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shims.h"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/CInotify/shims.h:6:10: error: 'sys/inotify.h' file not found
#include <sys/inotify.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/Inotify/Inotifier.swift:15:17: error: could not build Objective-C module 'CInotify'
internal import CInotify
                ^
error: fatalError
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
[1/2068] Fetching swift-docc-plugin
[84/6459] Fetching swift-docc-plugin, swift-system
[216/8131] Fetching swift-docc-plugin, swift-system, swift-filestreamer
Fetched https://github.com/apple/swift-docc-plugin from cache (1.71s)
Fetched https://github.com/apple/swift-system from cache (1.71s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (1.71s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.8.1 (0.40s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.35s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (2.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3406] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.48s)
Creating working copy for https://github.com/sersoft-gmbh/swift-filestreamer
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer resolved at 0.8.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
BUILD FAILURE 5.10 macosSpm