Build Information
Failed to build swift-inotify, reference main (cc6af8), with Swift 6.1 for Android on 29 Sep 2026 10:21:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build 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.1
Building package at path: $PWD
https://github.com/sersoft-gmbh/swift-inotify.git
https://github.com/sersoft-gmbh/swift-inotify.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-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/2345] Fetching swift-docc-plugin
[236/4558] Fetching swift-docc-plugin, swift-filestreamer
Fetched https://github.com/apple/swift-docc-plugin from cache (0.58s)
[1/6986] Fetching swift-system
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.74s)
Fetched https://github.com/apple/swift-system from cache (0.74s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.11.2 (0.99s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.01s)
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.62s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.28s)
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
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
[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/44] Emitting module SystemPackage
<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
[9/49] Compiling SystemPackage IOCompletion.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
[10/49] Compiling SystemPackage IORequest.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
[11/49] Compiling SystemPackage IORing+Util.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
[12/49] Compiling SystemPackage IORing.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
[13/49] Compiling SystemPackage RawIORequest.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
[14/49] Compiling SystemPackage SystemString.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
[15/49] Compiling SystemPackage Util+StringArray.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
[16/49] Compiling SystemPackage Util.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
[17/49] Compiling SystemPackage UtilConsumers.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
[18/49] Compiling SystemPackage WinSDK+Overlay.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
[19/49] Compiling SystemPackage Errno.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
[20/49] Compiling SystemPackage ErrnoWindows.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
[21/49] Compiling SystemPackage FileDescriptor.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
[22/49] Compiling SystemPackage FileHelpers.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
[23/49] Compiling SystemPackage FileOperations.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
[24/49] Compiling SystemPackage FilePath.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
[25/49] Compiling SystemPackage FilePathTemp.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
[26/49] Compiling SystemPackage FilePathTempPosix.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
[27/49] Compiling SystemPackage FilePathTempWindows.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
[28/49] Compiling SystemPackage FilePathWindows.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
[29/49] Compiling SystemPackage FilePermissions.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
[30/49] Compiling SystemPackage Backcompat.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
[31/49] Compiling SystemPackage CInterop.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
[32/49] Compiling SystemPackage Constants.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
[33/49] Compiling SystemPackage Exports.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
[34/49] Compiling SystemPackage Mocking.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
[35/49] Compiling SystemPackage FileFlags.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
[36/49] Compiling SystemPackage FileMode.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
[37/49] Compiling SystemPackage FileType.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
[38/49] Compiling SystemPackage Identifiers.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
[39/49] Compiling SystemPackage Stat.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
[40/49] Compiling SystemPackage FilePathComponentView.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
[41/49] Compiling SystemPackage FilePathComponents.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
[42/49] Compiling SystemPackage FilePathParsing.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
[43/49] Compiling SystemPackage FilePathString.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
[44/49] Compiling SystemPackage FilePathSyntax.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
[45/49] Compiling SystemPackage RawBuffer.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
[46/49] Compiling SystemPackage Syscalls.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
[47/49] Compiling SystemPackage WindowsSyscallAdapters.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
[48/49] Compiling SystemPackage MachPort.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
[49/49] Compiling SystemPackage PlatformString.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
[51/53] 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
[52/53] Compiling FileStreamer AnyAsyncStream.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
[53/53] 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)
[55/57] 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
/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/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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: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 |
[56/57] 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
/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/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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:105:13: error: cannot find 'inotify_add_watch' in scope
103 | #else
104 | let wd = filePath.withCString {
105 | inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
| `- error: cannot find 'inotify_add_watch' in scope
106 | }
107 | #endif
/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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'
8 | import ucrt
9 | #else
10 | #error("Unsupported platform")
| `- note: add import of module 'posix_filesystem'
11 | #endif
12 | fileprivate import Foundation
:
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'
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'
8 | import ucrt
9 | #else
10 | #error("Unsupported platform")
| `- note: add import of module 'posix_filesystem'
11 | #endif
12 | fileprivate import Foundation
:
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'
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'
8 | import ucrt
9 | #else
10 | #error("Unsupported platform")
| `- note: add import of module 'posix_filesystem'
11 | #endif
12 | fileprivate import Foundation
:
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'
155 | }
156 | }
[57/57] 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
/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'
8 | import ucrt
9 | #else
10 | #error("Unsupported platform")
| `- note: add import of module 'posix_filesystem'
11 | #endif
12 | public import SystemPackage
:
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'
29 | }
30 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[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-24593BA9C3E375BF.txt
[4/40] Compiling SystemPackage IOCompletion.swift
[5/40] Compiling SystemPackage IORequest.swift
[6/40] Compiling SystemPackage IORing+Util.swift
[7/40] Compiling SystemPackage IORing.swift
[8/40] Compiling SystemPackage RawIORequest.swift
[9/45] Compiling SystemPackage RawBuffer.swift
[10/45] Compiling SystemPackage Syscalls.swift
[11/45] Compiling SystemPackage WindowsSyscallAdapters.swift
[12/45] Compiling SystemPackage MachPort.swift
[13/45] Compiling SystemPackage PlatformString.swift
[14/45] Emitting module SystemPackage
[15/45] Compiling SystemPackage FilePathTemp.swift
[16/45] Compiling SystemPackage FilePathTempPosix.swift
[17/45] Compiling SystemPackage FilePathTempWindows.swift
[18/45] Compiling SystemPackage FilePathWindows.swift
[19/45] Compiling SystemPackage FilePermissions.swift
[20/45] Compiling SystemPackage Errno.swift
[21/45] Compiling SystemPackage ErrnoWindows.swift
[22/45] Compiling SystemPackage FileDescriptor.swift
[23/45] Compiling SystemPackage FileHelpers.swift
[24/45] Compiling SystemPackage FileOperations.swift
[25/45] Compiling SystemPackage FilePath.swift
[26/45] Compiling SystemPackage SystemString.swift
[27/45] Compiling SystemPackage Util+StringArray.swift
[28/45] Compiling SystemPackage Util.swift
[29/45] Compiling SystemPackage UtilConsumers.swift
[30/45] Compiling SystemPackage WinSDK+Overlay.swift
[31/45] Compiling SystemPackage FileFlags.swift
[32/45] Compiling SystemPackage FileMode.swift
[33/45] Compiling SystemPackage FileType.swift
[34/45] Compiling SystemPackage Identifiers.swift
[35/45] Compiling SystemPackage Stat.swift
[36/45] Compiling SystemPackage FilePathComponentView.swift
[37/45] Compiling SystemPackage FilePathComponents.swift
[38/45] Compiling SystemPackage FilePathParsing.swift
[39/45] Compiling SystemPackage FilePathString.swift
[40/45] Compiling SystemPackage FilePathSyntax.swift
[41/45] Compiling SystemPackage Backcompat.swift
[42/45] Compiling SystemPackage CInterop.swift
[43/45] Compiling SystemPackage Constants.swift
[44/45] Compiling SystemPackage Exports.swift
[45/45] Compiling SystemPackage Mocking.swift
[47/49] Compiling FileStreamer FileStream.swift
[48/49] Compiling FileStreamer AnyAsyncStream.swift
[49/49] Emitting module FileStreamer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/53] 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/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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: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 |
[52/53] 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/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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:105:13: error: cannot find 'inotify_add_watch' in scope
103 | #else
104 | let wd = filePath.withCString {
105 | inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
| `- error: cannot find 'inotify_add_watch' in scope
106 | }
107 | #endif
/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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'
8 | import ucrt
9 | #else
10 | #error("Unsupported platform")
| `- note: add import of module 'posix_filesystem'
11 | #endif
12 | fileprivate import Foundation
:
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'
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'
8 | import ucrt
9 | #else
10 | #error("Unsupported platform")
| `- note: add import of module 'posix_filesystem'
11 | #endif
12 | fileprivate import Foundation
:
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'
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'
8 | import ucrt
9 | #else
10 | #error("Unsupported platform")
| `- note: add import of module 'posix_filesystem'
11 | #endif
12 | fileprivate import Foundation
:
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'
155 | }
156 | }
[53/53] Compiling Inotify InotifyEvent.swift
/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'
8 | import ucrt
9 | #else
10 | #error("Unsupported platform")
| `- note: add import of module 'posix_filesystem'
11 | #endif
12 | public import SystemPackage
:
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'
29 | }
30 | }
BUILD FAILURE 6.1 android