The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-elk, reference 0.2.2 (585e57), with Swift 6.1 for Android on 28 May 2025 07:58:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.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/Apodini/swift-log-elk.git
Reference: 0.2.2
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/Apodini/swift-log-elk
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at 585e574 Merge branch 'develop' of https://github.com/Apodini/swift-log-elk into develop
Cloned https://github.com/Apodini/swift-log-elk.git
Revision (git rev-parse @):
585e574ad949f421aa9eba5e8e121d95790f67f2
SUCCESS checkout https://github.com/Apodini/swift-log-elk.git at 0.2.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Apodini/swift-log-elk.git
https://github.com/Apodini/swift-log-elk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "1.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    }
  ],
  "manifest_display_name" : "swift-log-elk",
  "name" : "swift-log-elk",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "LoggingELK",
      "targets" : [
        "LoggingELK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingELKTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingELKTests",
      "path" : "Tests/LoggingELKTests",
      "sources" : [
        "LoggingELKTests.swift",
        "Util/XCTestCase+FatalError.swift"
      ],
      "target_dependencies" : [
        "LoggingELK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggingELK",
      "module_type" : "SwiftTarget",
      "name" : "LoggingELK",
      "path" : "Sources/LoggingELK",
      "product_dependencies" : [
        "Logging",
        "AsyncHTTPClient"
      ],
      "product_memberships" : [
        "LoggingELK"
      ],
      "sources" : [
        "LogstashLogHandler+Error.swift",
        "LogstashLogHandler+HTTPFormatting.swift",
        "LogstashLogHandler+LogFormatting.swift",
        "LogstashLogHandler+Uploading.swift",
        "LogstashLogHandler.swift",
        "Utils/Boxed.swift",
        "Utils/FatalErrorUtil.swift",
        "Utils/FixedWidthInteger+RoundUp.swift",
        "Utils/TimeAmout+Seconds.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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-log.git
Fetching https://github.com/swift-server/async-http-client.git
[1/3836] Fetching swift-log
[2687/17850] Fetching swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
[10791/14014] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (0.92s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.5.1 (1.41s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/5914] Fetching swift-nio-extras
[475/8581] Fetching swift-nio-extras, swift-nio-transport-services
[8582/23424] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.43s)
[6805/20757] Fetching swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.44s)
[1336/14843] Fetching swift-nio-ssl
[1337/90898] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.77s)
Fetched https://github.com/apple/swift-nio.git from cache (5.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (6.69s)
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.51s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.27s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (2.11s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[4392/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.09s)
Fetched https://github.com/apple/swift-collections.git from cache (1.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.63s)
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-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.62s)
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.60s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/904] Fetching swift-http-types
[905/2045] Fetching swift-http-types, swift-http-structured-headers
[1031/8004] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms
[6099/19531] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (0.42s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.42s)
[3793/12668] Fetching swift-http-structured-headers, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.01s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.03s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.72s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.88s)
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.50s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.55s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.60s)
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.58s)
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
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-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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.5.1
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-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-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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Building for debugging...
[0/434] Write sources
[18/434] Compiling CNIOWindows WSAStartup.c
[18/434] Compiling CNIOWindows shim.c
[18/434] Compiling CNIOLinux liburing_shims.c
[21/434] Compiling CNIOWASI CNIOWASI.c
[22/434] Compiling CNIOLinux shim.c
[23/434] Compiling CNIOLLHTTP c_nio_http.c
[24/434] Compiling CNIOExtrasZlib empty.c
[25/434] Compiling CNIODarwin shim.c
[26/434] Compiling CNIOLLHTTP c_nio_api.c
[27/434] Compiling fiat_curve25519_adx_square.S
[27/434] Compiling fiat_p256_adx_sqr.S
[29/434] Compiling _AtomicsShims.c
[29/434] Write swift-version-24593BA9C3E375BF.txt
[31/434] Compiling fiat_p256_adx_mul.S
[31/434] Compiling fiat_curve25519_adx_mul.S
[33/434] Compiling CNIOLLHTTP c_nio_llhttp.c
[34/434] Compiling CNIOBoringSSLShims shims.c
[35/458] Compiling tls_method.cc
[36/458] Compiling tls13_server.cc
[37/458] Compiling tls13_enc.cc
[38/458] Compiling tls_record.cc
[40/458] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[41/459] Compiling InternalCollectionsUtilities Descriptions.swift
[42/459] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[43/459] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[44/459] Compiling InternalCollectionsUtilities Debugging.swift
[45/459] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[46/459] Compiling InternalCollectionsUtilities Integer rank.swift
[47/459] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[48/459] Compiling InternalCollectionsUtilities UInt+reversed.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/459] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
[50/459] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[51/459] Compiling InternalCollectionsUtilities _SortedCollection.swift
[52/459] Emitting module _NIOBase64
[53/459] Compiling _NIOBase64 Base64.swift
[54/459] Emitting module InternalCollectionsUtilities
[55/459] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[56/459] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[57/459] Compiling _NIODataStructures PriorityQueue.swift
[58/459] Compiling _NIODataStructures _TinyArray.swift
[59/460] Compiling Logging LogHandler.swift
[60/460] Compiling Logging Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1018:13: error: cannot find 'flockfile' in scope
1016 |             // no file locking on WASI
1017 |             #else
1018 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1019 |             #endif
1020 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1029:17: error: cannot find 'fwrite' in scope
1027 |                 #endif
1028 |             }
1029 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1030 |             if case .always = self.flushMode {
1031 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1039:13: error: cannot find 'fflush' in scope
1037 |     /// This has no effect when using the `.always` flush mode, which is the default
1038 |     internal func flush() {
1039 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1040 |     }
1041 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:25: error: cannot find 'time' in scope
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:30: error: 'nil' requires a contextual type
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1158:25: error: cannot find 'localtime' in scope
1156 |         #else
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
     |                         `- error: cannot find 'localtime' in scope
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
1160 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1159:9: error: cannot find 'strftime' in scope
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1160 |         #endif
1161 |         return buffer.withUnsafeBufferPointer {
[61/460] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(self.mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:9: error: cannot find 'pthread_mutexattr_settype' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:43: error: cannot infer contextual base in reference to member 'init'
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:65:19: error: cannot find 'pthread_mutex_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 66 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 67 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:74:19: error: cannot find 'pthread_mutex_destroy' in scope
 72 |         // SRWLOCK does not need to be free'd
 73 |         #else
 74 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 75 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 76 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(self.mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_unlock' in scope
 99 |         ReleaseSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:19: error: cannot find 'pthread_rwlock_init' in scope
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:52: error: 'nil' requires a contextual type
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:168:19: error: cannot find 'pthread_rwlock_destroy' in scope
166 |         // SRWLOCK does not need to be free'd
167 |         #else
168 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
169 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
170 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:185:19: error: cannot find 'pthread_rwlock_rdlock' in scope
183 |         self.shared = true
184 |         #else
185 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
186 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
187 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_wrlock' in scope
199 |         self.shared = false
200 |         #else
201 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:221:19: error: cannot find 'pthread_rwlock_unlock' in scope
219 |         }
220 |         #else
221 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
222 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
223 |         #endif
[62/460] Emitting module _NIODataStructures
[63/460] Compiling _NIODataStructures Heap.swift
[64/461] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[67/462] Compiling tls13_both.cc
[68/462] Compiling ssl_versions.cc
[68/462] Compiling ssl_x509.cc
[68/462] Compiling t1_enc.cc
[68/462] Compiling tls13_client.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/395] Compiling ssl_versions.cc
[1/395] Compiling t1_enc.cc
[2/395] Compiling tls13_client.cc
[3/395] Compiling ssl_stat.cc
[4/395] Write swift-version-24593BA9C3E375BF.txt
[5/395] Compiling ssl_transcript.cc
[6/395] Compiling ssl_session.cc
[7/395] Compiling ssl_x509.cc
[9/405] Compiling Logging LogHandler.swift
[10/405] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(self.mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:9: error: cannot find 'pthread_mutexattr_settype' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:43: error: cannot infer contextual base in reference to member 'init'
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:65:19: error: cannot find 'pthread_mutex_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 66 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 67 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:74:19: error: cannot find 'pthread_mutex_destroy' in scope
 72 |         // SRWLOCK does not need to be free'd
 73 |         #else
 74 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 75 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 76 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(self.mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_unlock' in scope
 99 |         ReleaseSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:19: error: cannot find 'pthread_rwlock_init' in scope
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:52: error: 'nil' requires a contextual type
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:168:19: error: cannot find 'pthread_rwlock_destroy' in scope
166 |         // SRWLOCK does not need to be free'd
167 |         #else
168 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
169 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
170 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:185:19: error: cannot find 'pthread_rwlock_rdlock' in scope
183 |         self.shared = true
184 |         #else
185 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
186 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
187 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_wrlock' in scope
199 |         self.shared = false
200 |         #else
201 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:221:19: error: cannot find 'pthread_rwlock_unlock' in scope
219 |         }
220 |         #else
221 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
222 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
223 |         #endif
[11/405] Compiling _NIOBase64 Base64.swift
[12/405] Emitting module _NIOBase64
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/405] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
[14/406] Compiling Logging Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1018:13: error: cannot find 'flockfile' in scope
1016 |             // no file locking on WASI
1017 |             #else
1018 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1019 |             #endif
1020 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1029:17: error: cannot find 'fwrite' in scope
1027 |                 #endif
1028 |             }
1029 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1030 |             if case .always = self.flushMode {
1031 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1039:13: error: cannot find 'fflush' in scope
1037 |     /// This has no effect when using the `.always` flush mode, which is the default
1038 |     internal func flush() {
1039 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1040 |     }
1041 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:25: error: cannot find 'time' in scope
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:30: error: 'nil' requires a contextual type
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1158:25: error: cannot find 'localtime' in scope
1156 |         #else
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
     |                         `- error: cannot find 'localtime' in scope
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
1160 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1159:9: error: cannot find 'strftime' in scope
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1160 |         #endif
1161 |         return buffer.withUnsafeBufferPointer {
[16/406] Compiling _NIODataStructures PriorityQueue.swift
[17/406] Compiling _NIODataStructures _TinyArray.swift
[18/406] Emitting module _NIODataStructures
[19/406] Compiling _NIODataStructures Heap.swift
[20/407] Compiling ssl_key_share.cc
[20/407] Compiling c-nioatomics.c
[20/407] Compiling ssl_privkey.cc
[20/407] Compiling ssl_file.cc
[20/407] Compiling ssl_lib.cc
BUILD FAILURE 6.1 android