The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-inotify, reference 0.7.0 (031d66), with Swift 5.9 for macOS (SPM) on 24 Sep 2024 16:40:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/swift-inotify.git
Reference: 0.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sersoft-gmbh/swift-inotify
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at 031d665 Add Swift 6.0 support
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
031d6659d8f43b2ac95d0bad2a1ba567083fead0
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at 0.7.0
========================================
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/24] Emitting module SystemPackage
[5/26] Compiling SystemPackage Util.swift
[6/26] Compiling SystemPackage UtilConsumers.swift
[7/26] Compiling SystemPackage FilePathWindows.swift
[8/26] Compiling SystemPackage FilePermissions.swift
[9/26] Compiling SystemPackage FilePathString.swift
[10/26] Compiling SystemPackage FilePathSyntax.swift
[11/26] Compiling SystemPackage Syscalls.swift
[12/26] Compiling SystemPackage WindowsSyscallAdapters.swift
[13/26] Compiling SystemPackage Errno.swift
[14/26] Compiling SystemPackage FileDescriptor.swift
[15/26] Compiling SystemPackage FileHelpers.swift
[16/26] Compiling SystemPackage CInterop.swift
[17/26] Compiling SystemPackage Constants.swift
[18/26] Compiling SystemPackage FileOperations.swift
[19/26] Compiling SystemPackage FilePath.swift
[20/26] Compiling SystemPackage FilePathComponentView.swift
[21/26] Compiling SystemPackage FilePathComponents.swift
[22/26] Compiling SystemPackage FilePathParsing.swift
[23/26] Compiling SystemPackage PlatformString.swift
[24/26] Compiling SystemPackage SystemString.swift
[25/26] Compiling SystemPackage Exports.swift
[26/26] Compiling SystemPackage Mocking.swift
[27/28] 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
[28/28] Emitting module FileStreamer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/31] 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
                ^
[30/31] 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
                ^
[31/31] 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/apple/swift-system.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/sersoft-gmbh/swift-filestreamer.git
[1/1534] Fetching swift-filestreamer
[48/3572] Fetching swift-filestreamer, swift-docc-plugin
[145/7228] Fetching swift-filestreamer, swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-docc-plugin (2.07s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetched https://github.com/apple/swift-system.git (2.07s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer.git (2.07s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.8.0 (0.41s)
Computing version for https://github.com/apple/swift-system
[1/3080] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.23s)
Computed https://github.com/apple/swift-system at 1.2.1 (3.06s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
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.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.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
Creating working copy for https://github.com/sersoft-gmbh/swift-filestreamer.git
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer.git resolved at 0.8.0
BUILD FAILURE 5.9 macosSpm