Build Information
Failed to build swift-inotify, reference main (4095c3
), with Swift 6.2 (beta) for Android on 24 Jun 2025 02:44:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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 4095c35 Bump github.com/apple/swift-docc-plugin from 1.4.3 to 1.4.4
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
4095c35805b0412501ce10ca0221a479f605d1a2
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
[1/1672] Fetching swift-filestreamer
[938/3754] Fetching swift-filestreamer, swift-docc-plugin
[1923/8190] Fetching swift-filestreamer, swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-docc-plugin from cache (0.38s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.39s)
Fetched https://github.com/apple/swift-system from cache (0.39s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.10.0 (0.77s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (2.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.90s)
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/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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[5/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/7] Compiling CSystem shims.c
[8/35] Emitting module SystemPackage
[9/38] Compiling SystemPackage MachPort.swift
[10/38] Compiling SystemPackage PlatformString.swift
[11/38] Compiling SystemPackage SystemString.swift
[12/38] Compiling SystemPackage Errno.swift
[13/38] Compiling SystemPackage ErrnoWindows.swift
[14/38] Compiling SystemPackage FileDescriptor.swift
[15/38] Compiling SystemPackage FileHelpers.swift
[16/38] Compiling SystemPackage FileOperations.swift
[17/38] Compiling SystemPackage FilePath.swift
[18/38] Compiling SystemPackage FilePathComponentView.swift
[19/38] Compiling SystemPackage FilePathComponents.swift
[20/38] Compiling SystemPackage FilePathParsing.swift
[21/38] Compiling SystemPackage FilePathString.swift
[22/38] Compiling SystemPackage FilePathSyntax.swift
[23/38] Compiling SystemPackage FilePathTemp.swift
[24/38] Compiling SystemPackage Util+StringArray.swift
[25/38] Compiling SystemPackage Util.swift
[26/38] Compiling SystemPackage UtilConsumers.swift
[27/38] Compiling SystemPackage Mocking.swift
[28/38] Compiling SystemPackage RawBuffer.swift
[29/38] Compiling SystemPackage Syscalls.swift
[30/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[31/38] Compiling SystemPackage FilePathTempPosix.swift
[32/38] Compiling SystemPackage FilePathTempWindows.swift
[33/38] Compiling SystemPackage FilePathWindows.swift
[34/38] Compiling SystemPackage FilePermissions.swift
[35/38] Compiling SystemPackage Backcompat.swift
[36/38] Compiling SystemPackage CInterop.swift
[37/38] Compiling SystemPackage Constants.swift
[38/38] Compiling SystemPackage Exports.swift
[40/41] Compiling FileStreamer FileStream.swift
[41/41] Emitting module FileStreamer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/45] Emitting module Inotify
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:29: error: cannot find 'inotify_init1' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'inotify_init1' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:85: error: cannot find 'errno' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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:44:75: error: cannot find 'IN_ACCESS' in scope
42 | extension InotifyEvent.Flags {
43 | /// File was accessed.
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
| `- error: cannot find 'IN_ACCESS' in scope
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:46:75: error: cannot find 'IN_MODIFY' in scope
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
| `- error: cannot find 'IN_MODIFY' in scope
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:84: error: cannot find 'IN_ATTRIB' in scope
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
| `- error: cannot find 'IN_ATTRIB' in scope
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:85: error: cannot find 'IN_CLOSE_WRITE' in scope
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
| `- error: cannot find 'IN_CLOSE_WRITE' in scope
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
| `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:73: error: cannot find 'IN_OPEN' in scope
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
| `- error: cannot find 'IN_OPEN' in scope
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:76: error: cannot find 'IN_MOVED_FROM' in scope
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
| `- error: cannot find 'IN_MOVED_FROM' in scope
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:74: error: cannot find 'IN_MOVED_TO' in scope
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
| `- error: cannot find 'IN_MOVED_TO' in scope
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:78: error: cannot find 'IN_CREATE' in scope
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
| `- error: cannot find 'IN_CREATE' in scope
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:78: error: cannot find 'IN_DELETE' in scope
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
| `- error: cannot find 'IN_DELETE' in scope
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_DELETE_SELF' in scope
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
| `- error: cannot find 'IN_DELETE_SELF' in scope
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:76: error: cannot find 'IN_MOVE_SELF' in scope
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
| `- error: cannot find 'IN_MOVE_SELF' in scope
67 |
68 | /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:69:78: error: cannot find 'IN_ISDIR' in scope
67 |
68 | /// Event occurred against a directory.
69 | public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
| `- error: cannot find 'IN_ISDIR' in scope
70 | }
71 |
[44/45] Compiling Inotify InotifyEvent.swift
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:44:75: error: cannot find 'IN_ACCESS' in scope
42 | extension InotifyEvent.Flags {
43 | /// File was accessed.
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
| `- error: cannot find 'IN_ACCESS' in scope
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:46:75: error: cannot find 'IN_MODIFY' in scope
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
| `- error: cannot find 'IN_MODIFY' in scope
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:84: error: cannot find 'IN_ATTRIB' in scope
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
| `- error: cannot find 'IN_ATTRIB' in scope
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:85: error: cannot find 'IN_CLOSE_WRITE' in scope
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
| `- error: cannot find 'IN_CLOSE_WRITE' in scope
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
| `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:73: error: cannot find 'IN_OPEN' in scope
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
| `- error: cannot find 'IN_OPEN' in scope
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:76: error: cannot find 'IN_MOVED_FROM' in scope
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
| `- error: cannot find 'IN_MOVED_FROM' in scope
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:74: error: cannot find 'IN_MOVED_TO' in scope
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
| `- error: cannot find 'IN_MOVED_TO' in scope
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:78: error: cannot find 'IN_CREATE' in scope
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
| `- error: cannot find 'IN_CREATE' in scope
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:78: error: cannot find 'IN_DELETE' in scope
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
| `- error: cannot find 'IN_DELETE' in scope
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_DELETE_SELF' in scope
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
| `- error: cannot find 'IN_DELETE_SELF' in scope
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:76: error: cannot find 'IN_MOVE_SELF' in scope
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
| `- error: cannot find 'IN_MOVE_SELF' in scope
67 |
68 | /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:69:78: error: cannot find 'IN_ISDIR' in scope
67 |
68 | /// Event occurred against a directory.
69 | public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
| `- error: cannot find 'IN_ISDIR' in scope
70 | }
71 |
[45/45] Compiling Inotify Inotifier.swift
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:29: error: cannot find 'inotify_init1' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'inotify_init1' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:85: error: cannot find 'errno' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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:93:13: error: cannot find 'inotify_add_watch' in scope
91 | public func events(for filePath: FilePath) throws -> PathEvents {
92 | let wd = filePath.withCString {
93 | inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
| `- error: cannot find 'inotify_add_watch' in scope
94 | }
95 | guard wd != -1 else { throw Errno(rawValue: errno) }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:95:53: error: cannot find 'errno' in scope
93 | inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
94 | }
95 | guard wd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
96 | if streamTask == nil {
97 | startStreaming()
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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:155:22: error: cannot find 'inotify_rm_watch' in scope
153 |
154 | private func removeWatch(forDescriptor wd: CInt, sequenceID: UUID) throws {
155 | let status = inotify_rm_watch(fileDescriptor.rawValue, wd)
| `- error: cannot find 'inotify_rm_watch' in scope
156 | guard status != -1 else { throw Errno(rawValue: errno) }
157 | guard var watchSequences = watches[wd] else { return }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:156:57: error: cannot find 'errno' in scope
154 | private func removeWatch(forDescriptor wd: CInt, sequenceID: UUID) throws {
155 | let status = inotify_rm_watch(fileDescriptor.rawValue, wd)
156 | guard status != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
157 | guard var watchSequences = watches[wd] else { return }
158 | watchSequences.removeValue(forKey: sequenceID)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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
BUILD FAILURE 6.2 android