The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-inotify, reference main (cc6af8), with Swift 6.3 for Android on 29 Sep 2026 10:37:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/swift-inotify.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cc6af8a Add Swift 6.4 support, drop Swift 6.0 support
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
cc6af8aad72ee86ffedb524358cd5ef9163f8b9e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at main
========================================
Build
========================================
Selected platform:         android
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-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
[1/2213] Fetching swift-filestreamer
[2214/9199] Fetching swift-filestreamer, swift-system
[2215/11544] Fetching swift-filestreamer, swift-system, swift-docc-plugin
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.68s)
[3309/9331] Fetching swift-system, swift-docc-plugin
Fetched https://github.com/apple/swift-system from cache (0.83s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.84s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.11.2 (1.15s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3832] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.67s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.09s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.42s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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.5.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
[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-272D24FF697CF451.txt
[8/44] Emitting module SystemPackage
[9/49] Compiling SystemPackage IOCompletion.swift
[10/49] Compiling SystemPackage IORequest.swift
[11/49] Compiling SystemPackage IORing+Util.swift
[12/49] Compiling SystemPackage IORing.swift
[13/49] Compiling SystemPackage RawIORequest.swift
[14/49] Compiling SystemPackage Errno.swift
[15/49] Compiling SystemPackage ErrnoWindows.swift
[16/49] Compiling SystemPackage FileDescriptor.swift
[17/49] Compiling SystemPackage FileHelpers.swift
[18/49] Compiling SystemPackage FileOperations.swift
[19/49] Compiling SystemPackage FilePath.swift
[20/49] Compiling SystemPackage SystemString.swift
[21/49] Compiling SystemPackage Util+StringArray.swift
[22/49] Compiling SystemPackage Util.swift
[23/49] Compiling SystemPackage UtilConsumers.swift
[24/49] Compiling SystemPackage WinSDK+Overlay.swift
[25/49] Compiling SystemPackage RawBuffer.swift
[26/49] Compiling SystemPackage Syscalls.swift
[27/49] Compiling SystemPackage WindowsSyscallAdapters.swift
[28/49] Compiling SystemPackage MachPort.swift
[29/49] Compiling SystemPackage PlatformString.swift
[30/49] Compiling SystemPackage FilePathComponentView.swift
[31/49] Compiling SystemPackage FilePathComponents.swift
[32/49] Compiling SystemPackage FilePathParsing.swift
[33/49] Compiling SystemPackage FilePathString.swift
[34/49] Compiling SystemPackage FilePathSyntax.swift
[35/49] Compiling SystemPackage FileFlags.swift
[36/49] Compiling SystemPackage FileMode.swift
[37/49] Compiling SystemPackage FileType.swift
[38/49] Compiling SystemPackage Identifiers.swift
[39/49] Compiling SystemPackage Stat.swift
[40/49] Compiling SystemPackage FilePathTemp.swift
[41/49] Compiling SystemPackage FilePathTempPosix.swift
[42/49] Compiling SystemPackage FilePathTempWindows.swift
[43/49] Compiling SystemPackage FilePathWindows.swift
[44/49] Compiling SystemPackage FilePermissions.swift
[45/49] Compiling SystemPackage Backcompat.swift
[46/49] Compiling SystemPackage CInterop.swift
[47/49] Compiling SystemPackage Constants.swift
[48/49] Compiling SystemPackage Exports.swift
[49/49] Compiling SystemPackage Mocking.swift
[51/53] Emitting module FileStreamer
[52/53] Compiling FileStreamer FileStream.swift
[53/53] Compiling FileStreamer AnyAsyncStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/57] Emitting module Inotify
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unsupported platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unsupported platform
 8 | import ucrt
 9 | #else
10 | #error("Unsupported platform")
   |        `- error: Unsupported platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:77:29: error: cannot find 'inotify_init1' in scope
 75 |     /// Creates a new instance.
 76 |     public init() throws {
 77 |         guard case let fd = inotify_init1(0), fd != -1
    |                             `- error: cannot find 'inotify_init1' in scope
 78 |         else { throw Errno(rawValue: errno) }
 79 |         fileDescriptor = .init(rawValue: fd)
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:78:38: error: cannot find 'errno' in scope
 76 |     public init() throws {
 77 |         guard case let fd = inotify_init1(0), fd != -1
 78 |         else { throw Errno(rawValue: errno) }
    |                                      `- error: cannot find 'errno' in scope
 79 |         fileDescriptor = .init(rawValue: fd)
 80 |     }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:75: error: cannot find 'IN_ACCESS' in scope
46 | extension InotifyEvent.Flags {
47 |     /// File was accessed.
48 |     public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
   |                                                                           `- error: cannot find 'IN_ACCESS' in scope
49 |     /// File was modified.
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:75: error: cannot find 'IN_MODIFY' in scope
48 |     public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
49 |     /// File was modified.
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
   |                                                                           `- error: cannot find 'IN_MODIFY' in scope
51 |     /// Metadata changed.
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:84: error: cannot find 'IN_ATTRIB' in scope
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
51 |     /// Metadata changed.
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
   |                                                                                    `- error: cannot find 'IN_ATTRIB' in scope
53 |     /// A writeable file was closed.
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:85: error: cannot find 'IN_CLOSE_WRITE' in scope
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
53 |     /// A writeable file was closed.
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
   |                                                                                     `- error: cannot find 'IN_CLOSE_WRITE' in scope
55 |     /// A non-writable file was closed.
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
55 |     /// A non-writable file was closed.
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
   |                                                                                        `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
57 |     /// File was opened.
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:73: error: cannot find 'IN_OPEN' in scope
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
57 |     /// File was opened.
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
   |                                                                         `- error: cannot find 'IN_OPEN' in scope
59 |     /// File was moved from X.
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:76: error: cannot find 'IN_MOVED_FROM' in scope
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
59 |     /// File was moved from X.
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
   |                                                                            `- error: cannot find 'IN_MOVED_FROM' in scope
61 |     /// File was moved to Y.
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:74: error: cannot find 'IN_MOVED_TO' in scope
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
61 |     /// File was moved to Y.
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
   |                                                                          `- error: cannot find 'IN_MOVED_TO' in scope
63 |     /// File was created inside the watched path.
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_CREATE' in scope
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
63 |     /// File was created inside the watched path.
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
   |                                                                              `- error: cannot find 'IN_CREATE' in scope
65 |     /// File was deleted inside the watched path.
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:78: error: cannot find 'IN_DELETE' in scope
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
65 |     /// File was deleted inside the watched path.
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
   |                                                                              `- error: cannot find 'IN_DELETE' in scope
67 |     /// The watched path was deleted.
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:68:78: error: cannot find 'IN_DELETE_SELF' in scope
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
67 |     /// The watched path was deleted.
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
   |                                                                              `- error: cannot find 'IN_DELETE_SELF' in scope
69 |     /// The watched path was moved.
70 |     public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:70:76: error: cannot find 'IN_MOVE_SELF' in scope
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
69 |     /// The watched path was moved.
70 |     public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
   |                                                                            `- error: cannot find 'IN_MOVE_SELF' in scope
71 |
72 |     /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:73:78: error: cannot find 'IN_ISDIR' in scope
71 |
72 |     /// Event occurred against a directory.
73 |     public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
   |                                                                              `- error: cannot find 'IN_ISDIR' in scope
74 | }
75 |
[56/57] Compiling Inotify InotifyEvent.swift
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unsupported platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unsupported platform
 8 | import ucrt
 9 | #else
10 | #error("Unsupported platform")
   |        `- error: Unsupported platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:75: error: cannot find 'IN_ACCESS' in scope
46 | extension InotifyEvent.Flags {
47 |     /// File was accessed.
48 |     public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
   |                                                                           `- error: cannot find 'IN_ACCESS' in scope
49 |     /// File was modified.
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:75: error: cannot find 'IN_MODIFY' in scope
48 |     public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
49 |     /// File was modified.
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
   |                                                                           `- error: cannot find 'IN_MODIFY' in scope
51 |     /// Metadata changed.
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:84: error: cannot find 'IN_ATTRIB' in scope
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
51 |     /// Metadata changed.
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
   |                                                                                    `- error: cannot find 'IN_ATTRIB' in scope
53 |     /// A writeable file was closed.
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:85: error: cannot find 'IN_CLOSE_WRITE' in scope
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
53 |     /// A writeable file was closed.
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
   |                                                                                     `- error: cannot find 'IN_CLOSE_WRITE' in scope
55 |     /// A non-writable file was closed.
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
55 |     /// A non-writable file was closed.
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
   |                                                                                        `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
57 |     /// File was opened.
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:73: error: cannot find 'IN_OPEN' in scope
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
57 |     /// File was opened.
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
   |                                                                         `- error: cannot find 'IN_OPEN' in scope
59 |     /// File was moved from X.
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:76: error: cannot find 'IN_MOVED_FROM' in scope
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
59 |     /// File was moved from X.
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
   |                                                                            `- error: cannot find 'IN_MOVED_FROM' in scope
61 |     /// File was moved to Y.
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:74: error: cannot find 'IN_MOVED_TO' in scope
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
61 |     /// File was moved to Y.
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
   |                                                                          `- error: cannot find 'IN_MOVED_TO' in scope
63 |     /// File was created inside the watched path.
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_CREATE' in scope
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
63 |     /// File was created inside the watched path.
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
   |                                                                              `- error: cannot find 'IN_CREATE' in scope
65 |     /// File was deleted inside the watched path.
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:78: error: cannot find 'IN_DELETE' in scope
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
65 |     /// File was deleted inside the watched path.
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
   |                                                                              `- error: cannot find 'IN_DELETE' in scope
67 |     /// The watched path was deleted.
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:68:78: error: cannot find 'IN_DELETE_SELF' in scope
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
67 |     /// The watched path was deleted.
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
   |                                                                              `- error: cannot find 'IN_DELETE_SELF' in scope
69 |     /// The watched path was moved.
70 |     public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:70:76: error: cannot find 'IN_MOVE_SELF' in scope
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
69 |     /// The watched path was moved.
70 |     public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
   |                                                                            `- error: cannot find 'IN_MOVE_SELF' in scope
71 |
72 |     /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:73:78: error: cannot find 'IN_ISDIR' in scope
71 |
72 |     /// Event occurred against a directory.
73 |     public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
   |                                                                              `- error: cannot find 'IN_ISDIR' in scope
74 | }
75 |
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:28:39: error: property 'mask' is not available due to missing import of defining module 'posix_filesystem' [#MemberImportVisibility]
12 | public import SystemPackage
13 | internal import CInotify
14 |
   | `- note: add import of module 'posix_filesystem'
15 | /// An event sent by inotify.
16 | public struct InotifyEvent: Equatable, Sendable {
   :
26 |         path = cin_event_name(event).map { FilePath(platformString: $0) }
27 | #endif
28 |         flags = .init(rawValue: event.mask)
   |                                       `- error: property 'mask' is not available due to missing import of defining module 'posix_filesystem' [#MemberImportVisibility]
29 |     }
30 | }
[#MemberImportVisibility]: <https://docs.swift.org/compiler/documentation/diagnostics/member-import-visibility>
[57/57] Compiling Inotify Inotifier.swift
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unsupported platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unsupported platform
 8 | import ucrt
 9 | #else
10 | #error("Unsupported platform")
   |        `- error: Unsupported platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:77:29: error: cannot find 'inotify_init1' in scope
 75 |     /// Creates a new instance.
 76 |     public init() throws {
 77 |         guard case let fd = inotify_init1(0), fd != -1
    |                             `- error: cannot find 'inotify_init1' in scope
 78 |         else { throw Errno(rawValue: errno) }
 79 |         fileDescriptor = .init(rawValue: fd)
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:78:38: error: cannot find 'errno' in scope
 76 |     public init() throws {
 77 |         guard case let fd = inotify_init1(0), fd != -1
 78 |         else { throw Errno(rawValue: errno) }
    |                                      `- error: cannot find 'errno' in scope
 79 |         fileDescriptor = .init(rawValue: fd)
 80 |     }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:101:20: error: cannot find 'inotify_add_watch' in scope
 99 | #if compiler(>=6.2)
100 |         let wd = unsafe filePath.withCString {
101 |             unsafe inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
    |                    `- error: cannot find 'inotify_add_watch' in scope
102 |         }
103 | #else
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:108:53: error: cannot find 'errno' in scope
106 |         }
107 | #endif
108 |         guard wd != -1 else { throw Errno(rawValue: errno) }
    |                                                     `- error: cannot find 'errno' in scope
109 |         if streamTask == nil {
110 |             startStreaming()
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:172:22: error: cannot find 'inotify_rm_watch' in scope
170 |
171 |     private func removeWatch(forDescriptor wd: CInt, sequenceID: UUID) throws {
172 |         let status = inotify_rm_watch(fileDescriptor.rawValue, wd)
    |                      `- error: cannot find 'inotify_rm_watch' in scope
173 |         guard status != -1 else { throw Errno(rawValue: errno) }
174 |         guard var watchSequences = watches[wd] else { return }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:173:57: error: cannot find 'errno' in scope
171 |     private func removeWatch(forDescriptor wd: CInt, sequenceID: UUID) throws {
172 |         let status = inotify_rm_watch(fileDescriptor.rawValue, wd)
173 |         guard status != -1 else { throw Errno(rawValue: errno) }
    |                                                         `- error: cannot find 'errno' in scope
174 |         guard var watchSequences = watches[wd] else { return }
175 |         watchSequences.removeValue(forKey: sequenceID)
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:149:52: error: property 'wd' is not available due to missing import of defining module 'posix_filesystem' [#MemberImportVisibility]
 14 | fileprivate import FileStreamer
 15 | internal import CInotify
 16 |
    | `- note: add import of module 'posix_filesystem'
 17 | /// The notifier object.
 18 | public final actor Inotifier {
    :
147 |
148 |     private func handle(_ cEvent: cinotify_event) {
149 |         guard var watchesToNotify = watches[cEvent.wd] else { return }
    |                                                    `- error: property 'wd' is not available due to missing import of defining module 'posix_filesystem' [#MemberImportVisibility]
150 |         defer {
151 |             if watchesToNotify.isEmpty {
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:152:52: error: property 'wd' is not available due to missing import of defining module 'posix_filesystem' [#MemberImportVisibility]
 14 | fileprivate import FileStreamer
 15 | internal import CInotify
 16 |
    | `- note: add import of module 'posix_filesystem'
 17 | /// The notifier object.
 18 | public final actor Inotifier {
    :
150 |         defer {
151 |             if watchesToNotify.isEmpty {
152 |                 watches.removeValue(forKey: cEvent.wd)
    |                                                    `- error: property 'wd' is not available due to missing import of defining module 'posix_filesystem' [#MemberImportVisibility]
153 |             } else {
154 |                 watches[cEvent.wd] = watchesToNotify
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:154:32: error: property 'wd' is not available due to missing import of defining module 'posix_filesystem' [#MemberImportVisibility]
 14 | fileprivate import FileStreamer
 15 | internal import CInotify
 16 |
    | `- note: add import of module 'posix_filesystem'
 17 | /// The notifier object.
 18 | public final actor Inotifier {
    :
152 |                 watches.removeValue(forKey: cEvent.wd)
153 |             } else {
154 |                 watches[cEvent.wd] = watchesToNotify
    |                                `- error: property 'wd' is not available due to missing import of defining module 'posix_filesystem' [#MemberImportVisibility]
155 |             }
156 |         }
[#MemberImportVisibility]: <https://docs.swift.org/compiler/documentation/diagnostics/member-import-visibility>
BUILD FAILURE 6.3 android