The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-elk, reference develop (335687), with Swift 6.1 for Android on 28 May 2025 07:59:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: develop
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
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 3356875 Adapt Swift tools
Cloned https://github.com/Apodini/swift-log-elk.git
Revision (git rev-parse @):
33568756dd46d00b7b3da63f11bd16c909df633b
SUCCESS checkout https://github.com/Apodini/swift-log-elk.git at develop
========================================
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"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "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.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[3837/17850] Fetching swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
Fetched https://github.com/swift-server/async-http-client.git from cache (0.84s)
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.34s)
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
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.36s)
[1/76055] Fetching swift-nio
[762/90898] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.90s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.14s)
Fetched https://github.com/apple/swift-nio.git from cache (5.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (5.73s)
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.74s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.25s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[397/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (3.15s)
Fetched https://github.com/apple/swift-collections.git from cache (3.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (6.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.79s)
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.52s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/904] Fetching swift-http-types
[905/6863] Fetching swift-http-types, swift-algorithms
[1025/8004] Fetching swift-http-types, swift-algorithms, swift-http-structured-headers
[4251/19531] Fetching swift-http-types, swift-algorithms, swift-http-structured-headers, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (1.02s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.02s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.02s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.04s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.55s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.39s)
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.36s)
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.46s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.93s)
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.94s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.12s)
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-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.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-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-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
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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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-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-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Building for debugging...
[0/434] Write sources
[14/434] Compiling CNIOLLHTTP c_nio_http.c
[15/434] Write sources
[17/434] Compiling CNIOLLHTTP c_nio_api.c
[17/434] Write sources
[20/434] Compiling _AtomicsShims.c
[21/434] Compiling ghash-x86-linux.S
[22/434] Compiling CNIOWindows shim.c
[22/434] Compiling ghash-x86_64-apple.S
[22/434] Compiling ghash-x86_64-linux.S
[25/434] Compiling CNIOWindows WSAStartup.c
[25/434] Compiling sha512-586-apple.S
[27/434] Compiling CNIOWASI CNIOWASI.c
[28/434] Compiling CNIODarwin shim.c
[28/434] Compiling CNIOLinux liburing_shims.c
[30/434] Compiling CNIOExtrasZlib empty.c
[31/434] Compiling CNIOLinux shim.c
[32/434] Compiling fiat_p256_adx_sqr.S
[33/434] Compiling fiat_curve25519_adx_square.S
[34/434] Compiling fiat_p256_adx_mul.S
[35/434] Compiling fiat_curve25519_adx_mul.S
[36/434] Write swift-version-24593BA9C3E375BF.txt
[37/434] Compiling CNIOLLHTTP c_nio_llhttp.c
[38/438] Compiling CNIOBoringSSLShims shims.c
[39/440] Compiling tls13_both.cc
[40/441] Compiling tls_record.cc
[41/444] Compiling tls13_client.cc
[42/453] Compiling tls_method.cc
[43/458] Compiling tls13_enc.cc
[44/458] Compiling tls13_server.cc
[45/458] Compiling t1_enc.cc
[46/458] Compiling ssl_versions.cc
[47/458] Compiling ssl_transcript.cc
[49/458] Emitting module _NIOBase64
[50/458] Compiling _NIOBase64 Base64.swift
[51/459] Compiling InternalCollectionsUtilities Descriptions.swift
[52/459] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[53/459] Emitting module InternalCollectionsUtilities
[54/460] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[55/460] Compiling InternalCollectionsUtilities UInt+reversed.swift
[56/460] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[57/460] Compiling InternalCollectionsUtilities Integer rank.swift
[58/460] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[59/460] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[60/460] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[61/460] Compiling InternalCollectionsUtilities Debugging.swift
[62/460] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[63/460] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[64/460] Compiling InternalCollectionsUtilities _SortedCollection.swift
[66/460] Compiling _NIODataStructures _TinyArray.swift
[67/460] Compiling _NIODataStructures PriorityQueue.swift
[68/460] Compiling Logging LogHandler.swift
[69/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 {
[70/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/460] 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 |
[72/460] Compiling _NIODataStructures Heap.swift
[73/460] Emitting module _NIODataStructures
[73/461] Compiling ssl_lib.cc
[73/461] Compiling ssl_session.cc
[73/461] Compiling ssl_privkey.cc
[73/461] Compiling ssl_stat.cc
[73/461] Compiling ssl_x509.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/386] Write sources
[1/387] Compiling ssl_file.cc
[2/387] Write swift-version-24593BA9C3E375BF.txt
[3/387] Compiling ssl_privkey.cc
[4/387] Compiling ssl_x509.cc
[5/393] Compiling ssl_session.cc
[7/393] Compiling _NIODataStructures Heap.swift
[7/393] Compiling ssl_key_share.cc
[9/394] Emitting module _NIOBase64
[10/394] Compiling _NIOBase64 Base64.swift
[10/394] Compiling ssl_stat.cc
[12/398] Emitting module _NIODataStructures
[13/398] Compiling _NIODataStructures PriorityQueue.swift
[14/398] Compiling _NIODataStructures _TinyArray.swift
[16/413] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/428] 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 |
[19/432] Compiling Atomics AtomicReference.swift
[20/432] Compiling Atomics AtomicStorage.swift
[21/432] Compiling Logging LogHandler.swift
[22/433] 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 {
[23/433] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/433] Compiling ssl_cert.cc
[23/433] Compiling ssl_cipher.cc
[23/433] Compiling ssl_lib.cc
[23/433] Compiling c-nioatomics.c
[23/433] Compiling ssl_credential.cc
BUILD FAILURE 6.1 android