Build Information
Failed to build swift-inotify, reference main (c96d4e
), with Swift 5.9 for macOS (SPM) on 5 Mar 2025 11:04:04 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.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 c96d4e0 Bump github.com/apple/swift-system from 1.4.1 to 1.4.2
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
c96d4e033b8040d85ff7ce470e71356d6cc7cce4
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/sersoft-gmbh/swift-inotify.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Compiling CSystem shims.c
[4/31] Emitting module SystemPackage
[5/34] Compiling SystemPackage FileHelpers.swift
[6/34] Compiling SystemPackage FileOperations.swift
[7/34] Compiling SystemPackage FilePath.swift
[8/34] Compiling SystemPackage Util+StringArray.swift
[9/34] Compiling SystemPackage Util.swift
[10/34] Compiling SystemPackage UtilConsumers.swift
[11/34] Compiling SystemPackage FilePathTempPosix.swift
[12/34] Compiling SystemPackage FilePathTempWindows.swift
[13/34] Compiling SystemPackage FilePathWindows.swift
[14/34] Compiling SystemPackage FilePermissions.swift
[15/34] Compiling SystemPackage Backcompat.swift
[16/34] Compiling SystemPackage CInterop.swift
[17/34] Compiling SystemPackage Errno.swift
[18/34] Compiling SystemPackage ErrnoWindows.swift
[19/34] Compiling SystemPackage FileDescriptor.swift
[20/34] Compiling SystemPackage FilePathString.swift
[21/34] Compiling SystemPackage FilePathSyntax.swift
[22/34] Compiling SystemPackage FilePathTemp.swift
[23/34] Compiling SystemPackage Constants.swift
[24/34] Compiling SystemPackage Exports.swift
[25/34] Compiling SystemPackage Mocking.swift
[26/34] Compiling SystemPackage RawBuffer.swift
[27/34] Compiling SystemPackage Syscalls.swift
[28/34] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/34] Compiling SystemPackage MachPort.swift
[30/34] Compiling SystemPackage PlatformString.swift
[31/34] Compiling SystemPackage SystemString.swift
[32/34] Compiling SystemPackage FilePathComponentView.swift
[33/34] Compiling SystemPackage FilePathComponents.swift
[34/34] Compiling SystemPackage FilePathParsing.swift
[35/36] 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
[36/36] Emitting module FileStreamer
[37/39] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[38/39] 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
^
[39/39] 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
^
error: fatalError
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
[1/1534] Fetching swift-filestreamer
[48/3584] Fetching swift-filestreamer, swift-docc-plugin
[130/7790] Fetching swift-filestreamer, swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-docc-plugin (1.89s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer (1.90s)
Fetched https://github.com/apple/swift-system (1.90s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.8.1 (0.36s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3320] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.55s)
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.3
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
BUILD FAILURE 5.9 macosSpm