The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyESBuild, reference 0.3.0 (046534), with Swift 6.1 for Android on 28 May 2025 23:22:21 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/SwiftyESBuild.git
Reference: 0.3.0
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/tuist/SwiftyESBuild
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 0465347 Fix the compatibility with the aarch64 architecture
Cloned https://github.com/tuist/SwiftyESBuild.git
Revision (git rev-parse @):
0465347bb0304c6a509cbb9914bed3f96f36564d
SUCCESS checkout https://github.com/tuist/SwiftyESBuild.git at 0.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tuist/SwiftyESBuild.git
https://github.com/tuist/SwiftyESBuild.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.2",
            "upper_bound" : "0.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "1.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.2",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.18.0",
            "upper_bound" : "1.19.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    }
  ],
  "manifest_display_name" : "SwiftyESBuild",
  "name" : "SwiftyESBuild",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyESBuild",
      "targets" : [
        "SwiftyESBuild"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyESBuildTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyESBuildTests",
      "path" : "Tests/SwiftyESBuildTests",
      "product_dependencies" : [
        "SwiftToolsSupport-auto"
      ],
      "sources" : [
        "SwiftyESBuildTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyESBuild"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyESBuild",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyESBuild",
      "path" : "Sources/SwiftyESBuild",
      "product_dependencies" : [
        "SwiftToolsSupport-auto",
        "Logging",
        "AsyncHTTPClient"
      ],
      "product_memberships" : [
        "SwiftyESBuild"
      ],
      "sources" : [
        "ArchitectureDetector.swift",
        "ChecksumValidator.swift",
        "Downloader.swift",
        "ESBuildVersion.swift",
        "Executor.swift",
        "SwiftyESBuild.swift",
        "Tar.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[270/5885] Fetching swift-log, swift-docc-plugin
[5333/19899] Fetching swift-log, swift-docc-plugin, async-http-client
[6587/26663] Fetching swift-log, swift-docc-plugin, async-http-client, swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.60s)
Fetched https://github.com/apple/swift-log.git from cache (0.83s)
Fetched https://github.com/swift-server/async-http-client.git from cache (0.83s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.83s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.18.0 (2.78s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/5914] Fetching swift-nio-extras
[61/7624] Fetching swift-nio-extras, swift-atomics
[172/10291] Fetching swift-nio-extras, swift-atomics, swift-nio-transport-services
[2167/21818] Fetching swift-nio-extras, swift-atomics, swift-nio-transport-services, swift-nio-http2
[11596/36661] Fetching swift-nio-extras, swift-atomics, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
[14313/112754] Fetching swift-nio-extras, swift-atomics, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.48s)
[11943/110087] Fetching swift-nio-extras, swift-atomics, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
[12282/108377] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.33s)
[65652/96850] Fetching swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (5.22s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.25s)
Fetched https://github.com/apple/swift-nio.git from cache (5.34s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (6.09s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (1.34s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.5.3 (1.03s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (1.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.44s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.78s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.72s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.46s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.56s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/904] Fetching swift-http-types
[896/2045] Fetching swift-http-types, swift-http-structured-headers
[2046/8004] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.28s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.28s)
[120/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.48s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.31s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.58s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.54s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.69s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.94s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (2.29s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
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
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.18.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.5.3
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/446] Write sources
[25/446] Compiling TSCclibc libc.c
[26/446] Write sources
[28/446] Compiling CNIOWindows shim.c
[29/446] Compiling CNIOWindows WSAStartup.c
[30/446] Compiling CNIOWASI CNIOWASI.c
[31/446] Compiling _AtomicsShims.c
[31/446] Compiling TSCclibc process.c
[33/446] Compiling CSystem shims.c
[34/446] Compiling CNIOLinux liburing_shims.c
[35/446] Compiling CNIOLLHTTP c_nio_http.c
[36/446] Compiling CNIOExtrasZlib empty.c
[37/446] Compiling CNIODarwin shim.c
[38/446] Compiling CNIOLinux shim.c
[39/446] Compiling CNIOLLHTTP c_nio_api.c
[40/446] Compiling fiat_p256_adx_sqr.S
[41/446] Compiling fiat_curve25519_adx_square.S
[41/446] Compiling fiat_p256_adx_mul.S
[43/446] Compiling fiat_curve25519_adx_mul.S
[44/446] Write swift-version-24593BA9C3E375BF.txt
[45/446] Compiling CNIOLLHTTP c_nio_llhttp.c
[46/450] Compiling CNIOBoringSSLShims shims.c
[47/452] Compiling tls_method.cc
[48/452] Compiling tls_record.cc
[49/452] Compiling tls13_server.cc
[50/479] Compiling tls13_enc.cc
[51/482] Compiling tls13_both.cc
[52/494] Compiling tls13_client.cc
[53/501] Compiling t1_enc.cc
[54/501] Compiling ssl_x509.cc
[56/501] Compiling _NIOBase64 Base64.swift
[57/501] Emitting module _NIOBase64
[58/502] Compiling Logging MetadataProvider.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:26:8: error: Unsupported runtime
 24 | import WASILibc
 25 | #else
 26 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 27 | #endif
 28 |
[59/502] Emitting module SystemPackage
[60/502] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/503] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
[62/503] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/503] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:40:8: error: Unsupported runtime
 38 | import Musl
 39 | #else
 40 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 41 | #endif
 42 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
 54 |         UnsafeMutablePointer.allocate(capacity: 1)
 55 |     #else
 56 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 57 |         UnsafeMutablePointer.allocate(capacity: 1)
 58 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:159:50: error: cannot find type 'pthread_rwlock_t' in scope
157 |     fileprivate var shared: Bool = true
158 |     #else
159 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
160 |         UnsafeMutablePointer.allocate(capacity: 1)
161 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:26:8: error: Unsupported runtime
  24 | import WASILibc
  25 | #else
  26 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  27 | #endif
  28 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1236:58: error: cannot find 'systemStderr' in scope
1234 |     }
1235 |
1236 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1237 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1238 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:58: error: cannot find 'systemStdout' in scope
1235 |
1236 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1237 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1238 |
1239 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1263:8: error: Unsupported runtime
1261 | let systemStdout = WASILibc.stdout!
1262 | #else
1263 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1264 | #endif
1265 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:26:8: error: Unsupported runtime
 24 | import WASILibc
 25 | #else
 26 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 27 | #endif
 28 |
[64/506] Compiling SystemPackage MachPort.swift
[65/506] Compiling SystemPackage PlatformString.swift
[66/506] Compiling SystemPackage SystemString.swift
[67/506] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[68/506] Compiling InternalCollectionsUtilities UInt+reversed.swift
[69/506] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[70/506] Compiling InternalCollectionsUtilities Integer rank.swift
[71/506] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[72/506] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[73/506] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[74/506] Compiling InternalCollectionsUtilities Debugging.swift
[75/506] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:40:8: error: Unsupported runtime
 38 | import Musl
 39 | #else
 40 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 41 | #endif
 42 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
 54 |         UnsafeMutablePointer.allocate(capacity: 1)
 55 |     #else
 56 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 57 |         UnsafeMutablePointer.allocate(capacity: 1)
 58 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:159:50: error: cannot find type 'pthread_rwlock_t' in scope
157 |     fileprivate var shared: Bool = true
158 |     #else
159 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
160 |         UnsafeMutablePointer.allocate(capacity: 1)
161 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:67:20: error: cannot find 'pthread_mutexattr_t' in scope
 65 |         InitializeSRWLock(self.mutex)
 66 |         #else
 67 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 68 |         pthread_mutexattr_init(&attr)
 69 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:68:9: error: cannot find 'pthread_mutexattr_init' in scope
 66 |         #else
 67 |         var attr = pthread_mutexattr_t()
 68 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 69 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 70 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:9: error: cannot find 'pthread_mutexattr_settype' in scope
 67 |         var attr = pthread_mutexattr_t()
 68 |         pthread_mutexattr_init(&attr)
 69 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 70 |
 71 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 67 |         var attr = pthread_mutexattr_t()
 68 |         pthread_mutexattr_init(&attr)
 69 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 70 |
 71 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:43: error: cannot infer contextual base in reference to member 'init'
 67 |         var attr = pthread_mutexattr_t()
 68 |         pthread_mutexattr_init(&attr)
 69 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 70 |
 71 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:19: error: cannot find 'pthread_mutex_init' in scope
 69 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 70 |
 71 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 72 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 73 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:83:19: error: cannot find 'pthread_mutex_destroy' in scope
 81 |         self.mutex.deallocate()
 82 |         #else
 83 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 84 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 85 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:99:19: error: cannot find 'pthread_mutex_lock' in scope
 97 |         AcquireSRWLockExclusive(self.mutex)
 98 |         #else
 99 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
100 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
101 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:114:19: error: cannot find 'pthread_mutex_unlock' in scope
112 |         ReleaseSRWLockExclusive(self.mutex)
113 |         #else
114 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
115 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
116 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:170:19: error: cannot find 'pthread_rwlock_init' in scope
168 |         InitializeSRWLock(self.rwlock)
169 |         #else
170 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
171 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:170:52: error: 'nil' requires a contextual type
168 |         InitializeSRWLock(self.rwlock)
169 |         #else
170 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
171 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:182:19: error: cannot find 'pthread_rwlock_destroy' in scope
180 |         self.rwlock.deallocate()
181 |         #else
182 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
183 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
184 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:199:19: error: cannot find 'pthread_rwlock_rdlock' in scope
197 |         self.shared = true
198 |         #else
199 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
200 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
201 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:215:19: error: cannot find 'pthread_rwlock_wrlock' in scope
213 |         self.shared = false
214 |         #else
215 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
216 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
217 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:235:19: error: cannot find 'pthread_rwlock_unlock' in scope
233 |         }
234 |         #else
235 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
236 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
237 |         #endif
[76/506] Emitting module _NIODataStructures
[77/506] Compiling _NIODataStructures PriorityQueue.swift
[77/506] Compiling ssl_transcript.cc
[77/506] Compiling ssl_versions.cc
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:26:8: error: Unsupported runtime
  24 | import WASILibc
  25 | #else
  26 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  27 | #endif
  28 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1236:58: error: cannot find 'systemStderr' in scope
1234 |     }
1235 |
1236 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1237 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1238 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:58: error: cannot find 'systemStdout' in scope
1235 |
1236 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1237 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1238 |
1239 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1263:8: error: Unsupported runtime
1261 | let systemStdout = WASILibc.stdout!
1262 | #else
1263 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1264 | #endif
1265 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1202:13: error: cannot find 'flockfile' in scope
1200 |             // no file locking on WASI
1201 |             #else
1202 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1203 |             #endif
1204 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1213:17: error: cannot find 'fwrite' in scope
1211 |                 #endif
1212 |             }
1213 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1214 |             if case .always = self.flushMode {
1215 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1223:13: error: cannot find 'fflush' in scope
1221 |     /// This has no effect when using the `.always` flush mode, which is the default
1222 |     internal func flush() {
1223 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1224 |     }
1225 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1395:25: error: cannot find 'time' in scope
1393 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1394 |         #else
1395 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1396 |         guard let localTime = localtime(&timestamp) else {
1397 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1395:30: error: 'nil' requires a contextual type
1393 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1394 |         #else
1395 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1396 |         guard let localTime = localtime(&timestamp) else {
1397 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1396:31: error: cannot find 'localtime' in scope
1394 |         #else
1395 |         var timestamp = time(nil)
1396 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1397 |             return "<unknown>"
1398 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1399:9: error: cannot find 'strftime' in scope
1397 |             return "<unknown>"
1398 |         }
1399 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1400 |         #endif
1401 |         return buffer.withUnsafeBufferPointer {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/394] Compiling ssl_stat.cc
[3/394] Compiling ssl_versions.cc
[4/394] Compiling ssl_file.cc
[5/394] Compiling ssl_transcript.cc
[6/394] Compiling ssl_privkey.cc
[7/394] Write swift-version-24593BA9C3E375BF.txt
[8/394] Compiling ssl_key_share.cc
[9/394] Compiling ssl_session.cc
[11/400] Compiling _NIODataStructures Heap.swift
[12/400] Emitting module _NIOBase64
[12/400] Compiling ssl_lib.cc
[14/400] Emitting module _NIODataStructures
[15/402] Compiling _NIODataStructures _TinyArray.swift
[16/402] Compiling _NIODataStructures PriorityQueue.swift
[18/403] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/403] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
[19/403] Compiling ssl_credential.cc
[19/403] Compiling ssl_cert.cc
[20/403] Compiling _NIOBase64 Base64.swift
[20/403] Compiling ssl_buffer.cc
[20/403] Compiling ssl_cipher.cc
[20/403] Compiling ssl_asn1.cc
BUILD FAILURE 6.1 android