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 0.8.0 (9ee459), with Swift 6.1 for macOS (SPM) on 15 May 2025 20:42:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/swift-inotify.git
Reference: 0.8.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sersoft-gmbh/swift-inotify
 * tag               0.8.0      -> FETCH_HEAD
HEAD is now at 9ee4599 Update package
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
9ee459997f1df455e58a2f3bcf81e2bd2d18d67d
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at 0.8.0
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-system from cache
[1/1650] Fetching swift-filestreamer
[18/3699] Fetching swift-filestreamer, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.23s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (1.23s)
Fetched https://github.com/apple/swift-system from cache (1.23s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
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/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
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer resolved at 0.10.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.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.4.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.10.0",
          "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.4.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/1942] Fetching swift-inotify
Fetched https://github.com/sersoft-gmbh/swift-inotify.git from cache (1.05s)
Fetching https://github.com/apple/swift-system from cache
Fetching https://github.com/sersoft-gmbh/swift-filestreamer from cache
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.43s)
Fetched https://github.com/apple/swift-system from cache (0.67s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.10.0 (1.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.45s)
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.8.0 (9ee4599)
Creating working copy for https://github.com/sersoft-gmbh/swift-filestreamer
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer resolved at 0.10.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
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:             6.1
Building package at path:  $PWD
https://github.com/sersoft-gmbh/swift-inotify.git
https://github.com/sersoft-gmbh/swift-inotify.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-filestreamer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "0.11.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sersoft-gmbh/swift-filestreamer"
    }
  ],
  "manifest_display_name" : "swift-inotify",
  "name" : "swift-inotify",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Inotify",
      "targets" : [
        "Inotify"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "InotifyTests",
      "module_type" : "SwiftTarget",
      "name" : "InotifyTests",
      "path" : "Tests/InotifyTests",
      "sources" : [
        "InotifyTests.swift"
      ],
      "target_dependencies" : [
        "Inotify"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Inotify",
      "module_type" : "SwiftTarget",
      "name" : "Inotify",
      "path" : "Sources/Inotify",
      "product_dependencies" : [
        "SystemPackage",
        "FileStreamer"
      ],
      "product_memberships" : [
        "Inotify"
      ],
      "sources" : [
        "Inotifier.swift",
        "InotifyEvent.swift"
      ],
      "target_dependencies" : [
        "CInotify"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CInotify",
      "module_type" : "SystemLibraryTarget",
      "name" : "CInotify",
      "path" : "Sources/CInotify",
      "product_memberships" : [
        "Inotify"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[5/7] Compiling CSystem shims.c
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/35] Emitting module SystemPackage
[9/38] Compiling SystemPackage Util+StringArray.swift
[10/38] Compiling SystemPackage Util.swift
[11/38] Compiling SystemPackage UtilConsumers.swift
[12/38] Compiling SystemPackage FilePermissions.swift
[13/38] Compiling SystemPackage Backcompat.swift
[14/38] Compiling SystemPackage CInterop.swift
[15/38] Compiling SystemPackage FileHelpers.swift
[16/38] Compiling SystemPackage FileOperations.swift
[17/38] Compiling SystemPackage FilePath.swift
[18/38] Compiling SystemPackage FilePathTempPosix.swift
[19/38] Compiling SystemPackage FilePathTempWindows.swift
[20/38] Compiling SystemPackage FilePathWindows.swift
[21/38] Compiling SystemPackage FilePathString.swift
[22/38] Compiling SystemPackage FilePathSyntax.swift
[23/38] Compiling SystemPackage FilePathTemp.swift
[24/38] Compiling SystemPackage Errno.swift
[25/38] Compiling SystemPackage ErrnoWindows.swift
[26/38] Compiling SystemPackage FileDescriptor.swift
[27/38] Compiling SystemPackage Constants.swift
[28/38] Compiling SystemPackage Exports.swift
[29/38] Compiling SystemPackage Mocking.swift
[30/38] Compiling SystemPackage FilePathComponentView.swift
[31/38] Compiling SystemPackage FilePathComponents.swift
[32/38] Compiling SystemPackage FilePathParsing.swift
[33/38] Compiling SystemPackage RawBuffer.swift
[34/38] Compiling SystemPackage Syscalls.swift
[35/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[36/38] Compiling SystemPackage MachPort.swift
[37/38] Compiling SystemPackage PlatformString.swift
[38/38] Compiling SystemPackage SystemString.swift
[39/40] Emitting module FileStreamer
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/40] Compiling FileStreamer FileStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/43] Emitting module Inotify
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<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.
[42/43] Compiling Inotify InotifyEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<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.
[43/43] Compiling Inotify Inotifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<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.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/31] Compiling SystemPackage FileHelpers.swift
[5/31] Compiling SystemPackage FileOperations.swift
[6/31] Compiling SystemPackage FilePath.swift
[7/34] Emitting module SystemPackage
[8/34] Compiling SystemPackage Errno.swift
[9/34] Compiling SystemPackage ErrnoWindows.swift
[10/34] Compiling SystemPackage FileDescriptor.swift
[11/34] Compiling SystemPackage RawBuffer.swift
[12/34] Compiling SystemPackage Syscalls.swift
[13/34] Compiling SystemPackage WindowsSyscallAdapters.swift
[14/34] Compiling SystemPackage Constants.swift
[15/34] Compiling SystemPackage Exports.swift
[16/34] Compiling SystemPackage Mocking.swift
[17/34] Compiling SystemPackage FilePathString.swift
[18/34] Compiling SystemPackage FilePathSyntax.swift
[19/34] Compiling SystemPackage FilePathTemp.swift
[20/34] Compiling SystemPackage FilePermissions.swift
[21/34] Compiling SystemPackage Backcompat.swift
[22/34] Compiling SystemPackage CInterop.swift
[23/34] Compiling SystemPackage FilePathTempPosix.swift
[24/34] Compiling SystemPackage FilePathTempWindows.swift
[25/34] Compiling SystemPackage FilePathWindows.swift
[26/34] Compiling SystemPackage MachPort.swift
[27/34] Compiling SystemPackage PlatformString.swift
[28/34] Compiling SystemPackage SystemString.swift
[29/34] Compiling SystemPackage FilePathComponentView.swift
[30/34] Compiling SystemPackage FilePathComponents.swift
[31/34] Compiling SystemPackage FilePathParsing.swift
[32/34] Compiling SystemPackage Util+StringArray.swift
[33/34] Compiling SystemPackage Util.swift
[34/34] Compiling SystemPackage UtilConsumers.swift
[35/36] Emitting module FileStreamer
[36/36] Compiling FileStreamer FileStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/39] 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.
[38/39] 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.
[39/39] 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.
BUILD FAILURE 6.1 macosSpm