The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPM, reference 1.0.8 (7df932), with Swift 6.2 for Android on 21 Jun 2025 17:13:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/art-divin/swift-package-manager.git
Reference: 1.0.8
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/art-divin/swift-package-manager
 * tag               1.0.8      -> FETCH_HEAD
HEAD is now at 7df9321 Possible fix for Docker
Cloned https://github.com/art-divin/swift-package-manager.git
Revision (git rev-parse @):
7df9321541e544d711dd93f5b97dd4e8bf7e100e
SUCCESS checkout https://github.com/art-divin/swift-package-manager.git at 1.0.8
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/art-divin/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/apple/swift-argument-parser.git
Fetching https://github.com/art-divin/swift-driver.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-collections.git
[1/23032] Fetching swift-driver
[2305/27468] Fetching swift-driver, swift-system
[2580/44108] Fetching swift-driver, swift-system, swift-collections
[4230/50292] Fetching swift-driver, swift-system, swift-collections, swift-certificates
[14665/65711] Fetching swift-driver, swift-system, swift-collections, swift-certificates, swift-crypto
[21696/81091] Fetching swift-driver, swift-system, swift-collections, swift-certificates, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-collections.git from cache (1.69s)
Fetching https://github.com/art-divin/swift-tools-support-core.git
[59672/64451] Fetching swift-driver, swift-system, swift-certificates, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.71s)
[55544/60015] Fetching swift-driver, swift-certificates, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.72s)
[40627/44635] Fetching swift-driver, swift-certificates, swift-crypto
Fetched https://github.com/art-divin/swift-driver.git from cache (1.73s)
[18211/21603] Fetching swift-certificates, swift-crypto
Fetching https://github.com/art-divin/swift-llbuild.git
[21604/25094] Fetching swift-certificates, swift-crypto, swift-tools-support-core
[21639/42531] Fetching swift-certificates, swift-crypto, swift-tools-support-core, swift-llbuild
Fetched https://github.com/art-divin/swift-tools-support-core.git from cache (0.44s)
[24742/39040] Fetching swift-certificates, swift-crypto, swift-llbuild
Fetched https://github.com/apple/swift-certificates.git from cache (2.33s)
[25882/32856] Fetching swift-crypto, swift-llbuild
Fetched https://github.com/apple/swift-crypto.git from cache (2.37s)
[14648/17437] Fetching swift-llbuild
Fetched https://github.com/art-divin/swift-llbuild.git from cache (1.08s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.0.1 (3.27s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.72s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.46s)
Computing version for https://github.com/art-divin/swift-driver.git
Computed https://github.com/art-divin/swift-driver.git at 1.0.1 (0.53s)
Fetching https://github.com/jpsim/Yams.git
[1/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.13s)
Computing version for https://github.com/art-divin/swift-tools-support-core.git
Computed https://github.com/art-divin/swift-tools-support-core.git at 1.0.0 (1.71s)
Computing version for https://github.com/art-divin/swift-llbuild.git
Computed https://github.com/art-divin/swift-llbuild.git at 1.0.0 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.62s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.66s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.62s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/art-divin/swift-tools-support-core.git
Working copy of https://github.com/art-divin/swift-tools-support-core.git resolved at 1.0.0
Creating working copy for https://github.com/art-divin/swift-llbuild.git
Working copy of https://github.com/art-divin/swift-llbuild.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/art-divin/swift-driver.git
Working copy of https://github.com/art-divin/swift-driver.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/PackageModel/InstalledLibrariesSupport/provided-libraries.json
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/664] Write sources
[49/664] Write swift-version-8C5A4AE7A8CE2BA.txt
[50/664] Compiling tsan_utils tsan_utils.c
[51/664] Compiling base64.c
[52/664] Compiling bio.c
[53/665] Compiling tasn_fre.c
[54/677] Compiling tasn_utl.c
[55/677] Compiling tasn_typ.c
[56/677] Compiling tasn_new.c
[57/692] Compiling llvmSupport Valgrind.cpp
[58/695] Compiling llvmSupport UnicodeCaseFold.cpp
[59/695] Compiling llvmSupport circular_raw_ostream.cpp
[60/695] Compiling llvmSupport Twine.cpp
[61/695] Compiling llvmSupport Unicode.cpp
[62/695] Compiling llvmSupport raw_ostream.cpp
[63/695] Compiling llvmSupport YAMLParser.cpp
[64/695] Compiling llvmSupport Threading.cpp
[65/695] Compiling llvmSupport TargetParser.cpp
[66/695] Compiling llvmSupport Triple.cpp
[67/695] Compiling llvmSupport StringSaver.cpp
[68/695] Compiling llvmSupport StringMap.cpp
[69/695] Compiling llvmSupport StringRef.cpp
[70/695] Compiling llvmSupport SmallVector.cpp
[71/695] Compiling llvmSupport StringExtras.cpp
[72/695] Compiling llvmSupport SmallPtrSet.cpp
[74/695] Compiling PackagePlugin Protocols.swift
[74/696] Compiling llvmSupport SourceMgr.cpp
[76/696] Compiling PackageDescription PackageRequirement.swift
[77/696] Compiling PackageDescription Product.swift
[78/697] Compiling PackageDescription Version.swift
[78/697] Compiling llvmSupport Signals.cpp
[80/697] Compiling PackagePlugin Utilities.swift
[80/697] Compiling llvmSupport Program.cpp
[81/697] Compiling llvmSupport Process.cpp
[82/697] Compiling llvmSupport Options.cpp
[83/697] Compiling llvmSupport NativeFormatting.cpp
[84/697] Compiling llvmSupport Mutex.cpp
[85/697] Compiling llvmSupport Path.cpp
[86/697] Compiling llvmSupport MathExtras.cpp
[88/697] Compiling PackageDescription BuildSettings.swift
[89/697] Compiling PackageDescription Context.swift
[90/697] Compiling PackageDescription Resource.swift
[91/697] Compiling PackageDescription SupportedPlatforms.swift
[92/697] Compiling PackageDescription Target.swift
/host/spi-builder-workspace/Sources/PackageDescription/Target.swift:13:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
  11 | //===----------------------------------------------------------------------===//
  12 |
  13 | @_implementationOnly import Foundation
     |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
  14 |
  15 | /// The basic building block of a Swift package.
[93/697] Compiling PackageDescription Version+StringLiteralConvertible.swift
/host/spi-builder-workspace/Sources/PackageDescription/Target.swift:13:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
  11 | //===----------------------------------------------------------------------===//
  12 |
  13 | @_implementationOnly import Foundation
     |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
  14 |
  15 | /// The basic building block of a Swift package.
[94/697] Compiling PackageDescription PackageDependency.swift
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:23:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 21 | @_implementationOnly import struct WinSDK.HANDLE
 22 | #endif
 23 | @_implementationOnly import Foundation
    |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 24 |
 25 | /// The configuration of a Swift package.
[95/697] Compiling PackageDescription PackageDescription.swift
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:23:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 21 | @_implementationOnly import struct WinSDK.HANDLE
 22 | #endif
 23 | @_implementationOnly import Foundation
    |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 24 |
 25 | /// The configuration of a Swift package.
[96/697] Compiling PackageDescription ContextModel.swift
/host/spi-builder-workspace/Sources/PackageDescription/ContextModel.swift:14:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
12 |
13 | #if USE_IMPL_ONLY_IMPORTS
14 | @_implementationOnly import Foundation
   |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
15 | #else
16 | import Foundation
[97/697] Compiling PackageDescription LanguageStandardSettings.swift
/host/spi-builder-workspace/Sources/PackageDescription/ContextModel.swift:14:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
12 |
13 | #if USE_IMPL_ONLY_IMPORTS
14 | @_implementationOnly import Foundation
   |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
15 | #else
16 | import Foundation
[98/697] Compiling PackageCollectionsModel PackageCollectionModel.swift
/host/spi-builder-workspace/Sources/PackagePlugin/Context.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Provides information about the package for which the plugin is invoked,
/host/spi-builder-workspace/Sources/PackagePlugin/Context.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Provides information about the package for which the plugin is invoked,
[101/697] Emitting module PackagePlugin
/host/spi-builder-workspace/Sources/PackagePlugin/Command.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// A command to run during the build, including executable, command lines,
/host/spi-builder-workspace/Sources/PackagePlugin/Context.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Provides information about the package for which the plugin is invoked,
/host/spi-builder-workspace/Sources/PackagePlugin/PackageManagerProxy.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Provides specialized information and services from the Swift Package Manager
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Represents a single package in the graph (either the root or a dependency).
/host/spi-builder-workspace/Sources/PackagePlugin/Path.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// A simple representation of a path in the file system.
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 | #if os(Windows)
 15 | @_implementationOnly import ucrt
/host/spi-builder-workspace/Sources/PackagePlugin/PluginContextDeserializer.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | typealias WireInput = HostToPluginMessage.InputContext
/host/spi-builder-workspace/Sources/PackagePlugin/PluginMessages.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// A message that the host can send to the plugin, including definitions of the corresponding serializable data structures.
/host/spi-builder-workspace/Sources/PackagePlugin/Command.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// A command to run during the build, including executable, command lines,
/host/spi-builder-workspace/Sources/PackagePlugin/Command.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// A command to run during the build, including executable, command lines,
[104/697] Compiling PackageDescription PackageDescriptionSerialization.swift
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescriptionSerialization.swift:14:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 12 |
 13 | #if USE_IMPL_ONLY_IMPORTS
 14 | @_implementationOnly import Foundation
    |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 15 | #else
 16 | import Foundation
[105/697] Compiling PackageDescription PackageDescriptionSerializationConversion.swift
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescriptionSerialization.swift:14:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 12 |
 13 | #if USE_IMPL_ONLY_IMPORTS
 14 | @_implementationOnly import Foundation
    |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 15 | #else
 16 | import Foundation
[106/697] Emitting module PackageDescription
/host/spi-builder-workspace/Sources/PackageDescription/ContextModel.swift:14:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
12 |
13 | #if USE_IMPL_ONLY_IMPORTS
14 | @_implementationOnly import Foundation
   |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
15 | #else
16 | import Foundation
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:23:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 21 | @_implementationOnly import struct WinSDK.HANDLE
 22 | #endif
 23 | @_implementationOnly import Foundation
    |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 24 |
 25 | /// The configuration of a Swift package.
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescriptionSerialization.swift:14:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 12 |
 13 | #if USE_IMPL_ONLY_IMPORTS
 14 | @_implementationOnly import Foundation
    |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
 15 | #else
 16 | import Foundation
/host/spi-builder-workspace/Sources/PackageDescription/Target.swift:13:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
  11 | //===----------------------------------------------------------------------===//
  12 |
  13 | @_implementationOnly import Foundation
     |                      `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
  14 |
  15 | /// The basic building block of a Swift package.
[106/699] Compiling llvmSupport Memory.cpp
[109/699] Compiling llvmSupport MemoryBuffer.cpp
[110/701] Compiling llvmSupport ManagedStatic.cpp
[112/701] Emitting module CompilerPluginSupport
[113/701] Compiling CompilerPluginSupport TargetExtensions.swift
[116/703] Compiling PackageCollectionsModel PackageCollectionModel+v1.swift
[117/703] Emitting module PackageCollectionsModel
[118/704] Compiling llvmSupport MD5.cpp
[119/704] Compiling llvmSupport Locale.cpp
[120/704] Compiling llvmSupport Hashing.cpp
[121/704] Compiling llvmSupport FoldingSet.cpp
[122/704] Compiling llvmSupport FormatVariadic.cpp
[123/704] Compiling llvmSupport Error.cpp
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 | #if os(Windows)
 15 | @_implementationOnly import ucrt
/host/spi-builder-workspace/Sources/PackagePlugin/PluginContextDeserializer.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | typealias WireInput = HostToPluginMessage.InputContext
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:84:23: error: cannot find 'dup' in scope
 82 |         // Duplicate the `stdin` file descriptor, which we will then use for
 83 |         // receiving messages from the plugin host.
 84 |         let inputFD = dup(fileno(stdin))
    |                       `- error: cannot find 'dup' in scope
 85 |         guard inputFD >= 0 else {
 86 |             internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:86:75: error: cannot find 'errno' in scope
 84 |         let inputFD = dup(fileno(stdin))
 85 |         guard inputFD >= 0 else {
 86 |             internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
    |                                                                           `- error: cannot find 'errno' in scope
 87 |         }
 88 |
/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/PackagePlugin/Plugin.swift:92:15: error: cannot find 'close' in scope
 90 |         // `stdin` so that attempts by the plugin to read console input (which
 91 |         // are usually a mistake) return errors instead of blocking.
 92 |         guard close(fileno(stdin)) >= 0 else {
    |               `- error: cannot find 'close' in scope
 93 |             internalError("Could not close `stdin`: \(describe(errno: errno)).")
 94 |         }
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:93:71: error: cannot find 'errno' in scope
 91 |         // are usually a mistake) return errors instead of blocking.
 92 |         guard close(fileno(stdin)) >= 0 else {
 93 |             internalError("Could not close `stdin`: \(describe(errno: errno)).")
    |                                                                       `- error: cannot find 'errno' in scope
 94 |         }
 95 |
/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/PackagePlugin/Plugin.swift:98:24: error: cannot find 'dup' in scope
 96 |         // Duplicate the `stdout` file descriptor, which we will then use for
 97 |         // sending messages to the plugin host.
 98 |         let outputFD = dup(fileno(stdout))
    |                        `- error: cannot find 'dup' in scope
 99 |         guard outputFD >= 0 else {
100 |             internalError("Could not dup `stdout`: \(describe(errno: errno)).")
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:100:70: error: cannot find 'errno' in scope
 98 |         let outputFD = dup(fileno(stdout))
 99 |         guard outputFD >= 0 else {
100 |             internalError("Could not dup `stdout`: \(describe(errno: errno)).")
    |                                                                      `- error: cannot find 'errno' in scope
101 |         }
102 |
/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/PackagePlugin/Plugin.swift:105:15: error: cannot find 'dup2' in scope
103 |         // Having duplicated the original standard-output descriptor, redirect
104 |         // `stdout` to `stderr` so that all free-form text output goes there.
105 |         guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
    |               `- error: cannot find 'dup2' in scope
106 |             internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
107 |         }
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:106:83: error: cannot find 'errno' in scope
104 |         // `stdout` to `stderr` so that all free-form text output goes there.
105 |         guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
106 |             internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
    |                                                                                   `- error: cannot find 'errno' in scope
107 |         }
108 |
/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/PackagePlugin/Plugin.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 | #if os(Windows)
 15 | @_implementationOnly import ucrt
/host/spi-builder-workspace/Sources/PackagePlugin/PluginContextDeserializer.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | typealias WireInput = HostToPluginMessage.InputContext
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:84:23: error: cannot find 'dup' in scope
 82 |         // Duplicate the `stdin` file descriptor, which we will then use for
 83 |         // receiving messages from the plugin host.
 84 |         let inputFD = dup(fileno(stdin))
    |                       `- error: cannot find 'dup' in scope
 85 |         guard inputFD >= 0 else {
 86 |             internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:86:75: error: cannot find 'errno' in scope
 84 |         let inputFD = dup(fileno(stdin))
 85 |         guard inputFD >= 0 else {
 86 |             internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
    |                                                                           `- error: cannot find 'errno' in scope
 87 |         }
 88 |
/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/PackagePlugin/Plugin.swift:92:15: error: cannot find 'close' in scope
 90 |         // `stdin` so that attempts by the plugin to read console input (which
 91 |         // are usually a mistake) return errors instead of blocking.
 92 |         guard close(fileno(stdin)) >= 0 else {
    |               `- error: cannot find 'close' in scope
 93 |             internalError("Could not close `stdin`: \(describe(errno: errno)).")
 94 |         }
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:93:71: error: cannot find 'errno' in scope
 91 |         // are usually a mistake) return errors instead of blocking.
 92 |         guard close(fileno(stdin)) >= 0 else {
 93 |             internalError("Could not close `stdin`: \(describe(errno: errno)).")
    |                                                                       `- error: cannot find 'errno' in scope
 94 |         }
 95 |
/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/PackagePlugin/Plugin.swift:98:24: error: cannot find 'dup' in scope
 96 |         // Duplicate the `stdout` file descriptor, which we will then use for
 97 |         // sending messages to the plugin host.
 98 |         let outputFD = dup(fileno(stdout))
    |                        `- error: cannot find 'dup' in scope
 99 |         guard outputFD >= 0 else {
100 |             internalError("Could not dup `stdout`: \(describe(errno: errno)).")
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:100:70: error: cannot find 'errno' in scope
 98 |         let outputFD = dup(fileno(stdout))
 99 |         guard outputFD >= 0 else {
100 |             internalError("Could not dup `stdout`: \(describe(errno: errno)).")
    |                                                                      `- error: cannot find 'errno' in scope
101 |         }
102 |
/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/PackagePlugin/Plugin.swift:105:15: error: cannot find 'dup2' in scope
103 |         // Having duplicated the original standard-output descriptor, redirect
104 |         // `stdout` to `stderr` so that all free-form text output goes there.
105 |         guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
    |               `- error: cannot find 'dup2' in scope
106 |             internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
107 |         }
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:106:83: error: cannot find 'errno' in scope
104 |         // `stdout` to `stderr` so that all free-form text output goes there.
105 |         guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
106 |             internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
    |                                                                                   `- error: cannot find 'errno' in scope
107 |         }
108 |
/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/PackagePlugin/PackageModel.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Represents a single package in the graph (either the root or a dependency).
/host/spi-builder-workspace/Sources/PackagePlugin/Path.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// A simple representation of a path in the file system.
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Represents a single package in the graph (either the root or a dependency).
/host/spi-builder-workspace/Sources/PackagePlugin/Path.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// A simple representation of a path in the file system.
[129/704] Compiling PackagePlugin PluginMessages.swift
/host/spi-builder-workspace/Sources/PackagePlugin/PluginMessages.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// A message that the host can send to the plugin, including definitions of the corresponding serializable data structures.
/host/spi-builder-workspace/Sources/PackagePlugin/PackageManagerProxy.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Provides specialized information and services from the Swift Package Manager
/host/spi-builder-workspace/Sources/PackagePlugin/PackageManagerProxy.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
 14 |
 15 | /// Provides specialized information and services from the Swift Package Manager
[131/704] Compiling llvmSupport ErrorHandling.cpp
[131/704] Compiling llvmSupport ConvertUTFWrapper.cpp
[131/704] Compiling llvmSupport Debug.cpp
[131/704] Compiling llvmSupport Host.cpp
[131/704] Compiling llvmSupport Errno.cpp
[131/704] Compiling llvmSupport DJB.cpp
[131/704] Compiling llvmSupport FileUtilities.cpp
BUILD FAILURE 6.2 android