The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-inotify, reference 0.9.1 (9ce2e7), with Swift 6.3 for Linux on 19 Apr 2026 09:48:21 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/swift-inotify.git
Reference: 0.9.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/sersoft-gmbh/swift-inotify
 * tag               0.9.1      -> FETCH_HEAD
HEAD is now at 9ce2e7e Add support for Swift 6.3
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
9ce2e7ec5c34f3ee665f1c90d8fa0435df2d5372
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at 0.9.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/sersoft-gmbh/swift-inotify.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-system
[1/2022] Fetching swift-filestreamer
[2023/7623] Fetching swift-filestreamer, swift-system
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.48s)
[4705/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.61s)
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.44s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.11.2 (2.30s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.70s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.64s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.61s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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.11.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.6
[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-24593BA9C3E375BF.txt
[8/38] Compiling SystemPackage FilePathWindows.swift
[9/38] Compiling SystemPackage FilePermissions.swift
[10/38] Compiling SystemPackage IOCompletion.swift
[11/38] Compiling SystemPackage IORequest.swift
[12/38] Emitting module SystemPackage
[13/42] Compiling SystemPackage Constants.swift
[14/42] Compiling SystemPackage Exports.swift
[15/42] Compiling SystemPackage Mocking.swift
[16/42] Compiling SystemPackage RawBuffer.swift
[17/42] Compiling SystemPackage FilePathSyntax.swift
[18/42] Compiling SystemPackage FilePathTemp.swift
[19/42] Compiling SystemPackage FilePathTempPosix.swift
[20/42] Compiling SystemPackage FilePathTempWindows.swift
[21/42] Compiling SystemPackage Syscalls.swift
[22/42] Compiling SystemPackage WindowsSyscallAdapters.swift
[23/42] Compiling SystemPackage MachPort.swift
[24/42] Compiling SystemPackage PlatformString.swift
[25/42] Compiling SystemPackage SystemString.swift
[26/42] Compiling SystemPackage Util+StringArray.swift
[27/42] Compiling SystemPackage Util.swift
[28/42] Compiling SystemPackage UtilConsumers.swift
[29/42] Compiling SystemPackage Errno.swift
[30/42] Compiling SystemPackage ErrnoWindows.swift
[31/42] Compiling SystemPackage FileDescriptor.swift
[32/42] Compiling SystemPackage FileHelpers.swift
[33/42] Compiling SystemPackage FileOperations.swift
[34/42] Compiling SystemPackage FilePath.swift
[35/42] Compiling SystemPackage FilePathComponentView.swift
[36/42] Compiling SystemPackage FilePathComponents.swift
[37/42] Compiling SystemPackage FilePathParsing.swift
[38/42] Compiling SystemPackage FilePathString.swift
[39/42] Compiling SystemPackage IORing.swift
[40/42] Compiling SystemPackage RawIORequest.swift
[41/42] Compiling SystemPackage Backcompat.swift
[42/42] Compiling SystemPackage CInterop.swift
[44/46] Emitting module FileStreamer
[45/46] Compiling FileStreamer AnyAsyncStream.swift
[46/46] Compiling FileStreamer FileStream.swift
[48/50] Compiling Inotify InotifyEvent.swift
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:23:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
21 |
22 |     init(cEvent event: cinotify_event) {
23 |         path = cin_event_name(event).map { FilePath(platformString: $0) }
   |                |                     |   `- note: argument #0 in call to instance method 'map' has unsafe type '(UnsafePointer<CChar>) -> FilePath' (aka '(UnsafePointer<Int8>) -> FilePath')
   |                |                     |- note: reference to instance method 'map' involves unsafe type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>')
   |                |                     `- note: reference to unsafe type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>')
   |                |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
   |                |- note: argument 'self' in call to instance method 'map' has unsafe type 'UnsafePointer<CChar>?' (aka 'Optional<UnsafePointer<Int8>>')
   |                `- note: reference to global function 'cin_event_name' involves unsafe type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>')
24 |         flags = .init(rawValue: event.mask)
25 |     }
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:23:44: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
21 |
22 |     init(cEvent event: cinotify_event) {
23 |         path = cin_event_name(event).map { FilePath(platformString: $0) }
   |                                            |                        |- note: argument 'platformString' in call to initializer 'init' has unsafe type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>')
   |                                            |                        `- note: reference to parameter '$0' involves unsafe type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>')
   |                                            |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
   |                                            `- note: reference to initializer 'init(platformString:)' involves unsafe type 'UnsafePointer<CInterop.PlatformChar>' (aka 'UnsafePointer<Int8>')
24 |         flags = .init(rawValue: event.mask)
25 |     }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[49/50] Emitting module Inotify
[50/50] Compiling Inotify Inotifier.swift
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:90:18: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
 88 |     /// - Returns: The asynchronous sequence of events for the given file path.
 89 |     public func events(for filePath: FilePath) throws -> PathEvents {
 90 |         let wd = filePath.withCString {
    |                  |        |           `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<CChar>) throws -> Int32' (aka '(UnsafePointer<Int8>) throws -> Int32')
    |                  |        `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>')
    |                  `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
 91 |             inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
 92 |         }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:91:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
 89 |     public func events(for filePath: FilePath) throws -> PathEvents {
 90 |         let wd = filePath.withCString {
 91 |             inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
    |             |                                          |- note: argument #1 in call to global function 'inotify_add_watch' has unsafe type 'UnsafePointer<CChar>?' (aka 'Optional<UnsafePointer<Int8>>')
    |             |                                          `- note: reference to parameter '$0' involves unsafe type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>')
    |             `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
 92 |         }
 93 |         guard wd != -1 else { throw Errno(rawValue: errno) }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
Build complete! (34.93s)
Build complete.
{
  "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.11.2",
            "upper_bound" : "0.12.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sersoft-gmbh/swift-filestreamer"
    }
  ],
  "manifest_display_name" : "swift-inotify",
  "name" : "swift-inotify",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    },
    {
      "name" : "visionos",
      "version" : "1.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.3"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.