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 main (031d66), with Swift 6.0 for macOS (SPM) on 24 Sep 2024 16:40:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
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 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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sersoft-gmbh/swift-inotify.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[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--4A847ED0836F2485.txt
[8/28] Emitting module SystemPackage
[9/30] Compiling SystemPackage PlatformString.swift
[10/30] Compiling SystemPackage SystemString.swift
[11/30] Compiling SystemPackage FilePathWindows.swift
[12/30] Compiling SystemPackage FilePermissions.swift
[13/30] Compiling SystemPackage FilePathString.swift
[14/30] Compiling SystemPackage FilePathSyntax.swift
[15/30] Compiling SystemPackage Syscalls.swift
[16/30] Compiling SystemPackage WindowsSyscallAdapters.swift
[17/30] Compiling SystemPackage CInterop.swift
[18/30] Compiling SystemPackage Constants.swift
[19/30] Compiling SystemPackage FileOperations.swift
[20/30] Compiling SystemPackage FilePath.swift
[21/30] Compiling SystemPackage FilePathComponentView.swift
[22/30] Compiling SystemPackage FilePathComponents.swift
[23/30] Compiling SystemPackage FilePathParsing.swift
[24/30] Compiling SystemPackage Exports.swift
[25/30] Compiling SystemPackage Mocking.swift
[26/30] Compiling SystemPackage Errno.swift
[27/30] Compiling SystemPackage FileDescriptor.swift
[28/30] Compiling SystemPackage FileHelpers.swift
[29/30] Compiling SystemPackage Util.swift
[30/30] Compiling SystemPackage UtilConsumers.swift
[31/32] Compiling FileStreamer FileStream.swift
[32/32] Emitting module FileStreamer
[33/35] Compiling Inotify InotifyEvent.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shims.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CInotify/shims.h:6:10: error: 'sys/inotify.h' file not found
 4 | #include <stdio.h>
 5 | #include <stdint.h>
 6 | #include <sys/inotify.h>
   |          `- error: 'sys/inotify.h' file not found
 7 |
 8 | typedef struct inotify_event cinotify_event;
/Users/admin/builder/spi-builder-workspace/Sources/Inotify/Inotifier.swift:15:17: error: could not build Objective-C module 'CInotify'
 13 | public import SystemPackage
 14 | fileprivate import FileStreamer
 15 | internal import CInotify
    |                 `- error: could not build Objective-C module 'CInotify'
 16 |
 17 | /// The notifier object.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/35] Emitting module Inotify
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shims.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CInotify/shims.h:6:10: error: 'sys/inotify.h' file not found
 4 | #include <stdio.h>
 5 | #include <stdint.h>
 6 | #include <sys/inotify.h>
   |          `- error: 'sys/inotify.h' file not found
 7 |
 8 | typedef struct inotify_event cinotify_event;
/Users/admin/builder/spi-builder-workspace/Sources/Inotify/Inotifier.swift:15:17: error: could not build Objective-C module 'CInotify'
 13 | public import SystemPackage
 14 | fileprivate import FileStreamer
 15 | internal import CInotify
    |                 `- error: could not build Objective-C module 'CInotify'
 16 |
 17 | /// The notifier object.
[35/35] Compiling Inotify Inotifier.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shims.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CInotify/shims.h:6:10: error: 'sys/inotify.h' file not found
 4 | #include <stdio.h>
 5 | #include <stdint.h>
 6 | #include <sys/inotify.h>
   |          `- error: 'sys/inotify.h' file not found
 7 |
 8 | typedef struct inotify_event cinotify_event;
/Users/admin/builder/spi-builder-workspace/Sources/Inotify/Inotifier.swift:15:17: error: could not build Objective-C module 'CInotify'
 13 | public import SystemPackage
 14 | fileprivate import FileStreamer
 15 | internal import CInotify
    |                 `- error: could not build Objective-C module 'CInotify'
 16 |
 17 | /// The notifier object.
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/sersoft-gmbh/swift-filestreamer.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-system.git
[1/2038] Fetching swift-docc-plugin
[83/3572] Fetching swift-docc-plugin, swift-filestreamer
[273/7228] Fetching swift-docc-plugin, swift-filestreamer, swift-system
[1637/10308] Fetching swift-docc-plugin, swift-filestreamer, swift-system, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.30s)
Fetched https://github.com/apple/swift-system.git from cache (1.30s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer.git from cache (1.30s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.30s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.8.0 (0.52s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.2.1 (3.26s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
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/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/sersoft-gmbh/swift-filestreamer.git
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer.git resolved at 0.8.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
BUILD FAILURE 6.0 macosSpm