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.2 (c0d923), with Swift 5.10 for macOS (SPM) on 1 Oct 2024 11:14:40 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sersoft-gmbh/swift-inotify
 * tag               0.7.2      -> FETCH_HEAD
HEAD is now at c0d9233 Add Swift 6.0 iterator method
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
c0d9233df3a1e87b323a4969933dfc06903ed14c
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at 0.7.2
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-system
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-docc-plugin
[1/1534] Fetching swift-filestreamer
[48/5190] Fetching swift-filestreamer, swift-system
[122/7228] Fetching swift-filestreamer, swift-system, swift-docc-plugin
[5340/10310] Fetching swift-filestreamer, swift-system, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-system from cache (1.97s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.97s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.97s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (1.97s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.3.2 (0.46s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.62s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.8.1 (0.45s)
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
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.3.2
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-inotify",
      "name": "swift-inotify",
      "url": "https://github.com/sersoft-gmbh/swift-inotify.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-inotify",
      "dependencies": [
        {
          "identity": "swift-system",
          "name": "swift-system",
          "url": "https://github.com/apple/swift-system",
          "version": "1.3.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-filestreamer",
          "name": "swift-filestreamer",
          "url": "https://github.com/sersoft-gmbh/swift-filestreamer",
          "version": "0.8.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-filestreamer",
          "dependencies": [
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system",
              "version": "1.3.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sersoft-gmbh/swift-inotify.git
[1/1737] Fetching swift-inotify
Fetched https://github.com/sersoft-gmbh/swift-inotify.git from cache (1.12s)
Fetching https://github.com/sersoft-gmbh/swift-filestreamer from cache
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.52s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.52s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.8.1 (0.03s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.3.2 (0.02s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.3.2
Creating working copy for https://github.com/sersoft-gmbh/swift-inotify.git
Working copy of https://github.com/sersoft-gmbh/swift-inotify.git resolved at 0.7.2 (c0d9233)
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
warning: '.resolve-product-dependencies': dependency 'swift-inotify' is not used by any target
Found 2 product dependencies
  - swift-system
  - swift-filestreamer
========================================
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] Write swift-version-33747A42983211AE.txt
[6/7] Compiling CSystem shims.c
[8/28] Emitting module SystemPackage
[9/30] Compiling SystemPackage FilePathString.swift
[10/30] Compiling SystemPackage FilePathSyntax.swift
[11/30] Compiling SystemPackage Util.swift
[12/30] Compiling SystemPackage UtilConsumers.swift
[13/30] Compiling SystemPackage PlatformString.swift
[14/30] Compiling SystemPackage SystemString.swift
[15/30] Compiling SystemPackage FilePathComponents.swift
[16/30] Compiling SystemPackage FilePathParsing.swift
[17/30] Compiling SystemPackage Errno.swift
[18/30] Compiling SystemPackage FileDescriptor.swift
[19/30] Compiling SystemPackage FileHelpers.swift
[20/30] Compiling SystemPackage FilePathWindows.swift
[21/30] Compiling SystemPackage FilePermissions.swift
[22/30] Compiling SystemPackage FileOperations.swift
[23/30] Compiling SystemPackage FilePath.swift
[24/30] Compiling SystemPackage FilePathComponentView.swift
[25/30] Compiling SystemPackage Syscalls.swift
[26/30] Compiling SystemPackage WindowsSyscallAdapters.swift
[27/30] Compiling SystemPackage CInterop.swift
[28/30] Compiling SystemPackage Constants.swift
[29/30] Compiling SystemPackage Exports.swift
[30/30] Compiling SystemPackage Mocking.swift
[31/32] 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
[32/32] Emitting module FileStreamer
[33/35] 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)
[34/35] 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
                ^
[35/35] 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
BUILD FAILURE 5.10 macosSpm