The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-elk, reference 0.2.2 (585e57), with Swift 6.3 for Wasm on 13 Apr 2026 05:31:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Apodini/swift-log-elk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-log.git
[1/6521] Fetching swift-log
[6522/22207] Fetching swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
[12236/15686] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.31s)
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.79s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2843] Fetching swift-nio-transport-services
[684/9353] Fetching swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.48s)
[1/15418] Fetching swift-nio-ssl
[1235/98529] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (7.16s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.18s)
Fetched https://github.com/apple/swift-nio.git from cache (7.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (8.53s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.48s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.88s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/23525] Fetching swift-collections
[1648/29126] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
[4941/23525] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.70s)
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.70s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1242] Fetching swift-http-structured-headers
[685/2255] Fetching swift-http-structured-headers, swift-http-types
[2054/8313] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.28s)
[2104/7071] Fetching swift-http-types, swift-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.29s)
[2484/6058] Fetching swift-algorithms
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.44s)
[1/12102] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.41s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.36s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.21s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.41s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.48s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (0.61s)
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.42.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.97.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.6.4
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.6.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.1.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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.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.4.1
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.36.1
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.5.1
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/437] Write sources
[7/437] Write swift-version-24593BA9C3E375BF.txt
[7/437] Write sources
[21/437] Compiling _AtomicsShims.c
[22/437] Compiling CNIOWindows shim.c
[23/437] Compiling CNIOWASI CNIOWASI.c
[24/437] Compiling CNIOWindows WSAStartup.c
[25/441] Compiling CNIOOpenBSD shim.c
[26/441] Compiling CNIOLinux liburing_shims.c
[27/442] Compiling CNIOPosix event_loop_id.c
[28/443] Compiling CNIOLinux shim.c
[29/447] Compiling CNIOExtrasZlib empty.c
[30/447] Compiling CNIOLLHTTP c_nio_http.c
[31/447] Compiling CNIODarwin shim.c
[32/448] Compiling CNIOLLHTTP c_nio_api.c
[33/448] Compiling fiat_p256_adx_sqr.S
[34/465] Compiling fiat_p256_adx_mul.S
[35/465] Compiling fiat_curve25519_adx_square.S
[36/465] Compiling fiat_curve25519_adx_mul.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/465] Emitting module Logging
/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
[38/465] Compiling CNIOBoringSSLShims shims.c
[40/465] Emitting module InternalCollectionsUtilities
[40/467] Compiling tls13_server.cc
[41/467] Compiling tls_record.cc
[42/467] Compiling tls_method.cc
[43/467] Compiling CNIOLLHTTP c_nio_llhttp.c
[44/467] Compiling tls13_enc.cc
[45/467] Compiling tls13_client.cc
[46/467] Compiling tls13_both.cc
[46/467] Compiling t1_enc.cc
[49/467] Compiling InternalCollectionsUtilities Debugging.swift
[50/467] Compiling InternalCollectionsUtilities Descriptions.swift
[51/467] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[52/467] Compiling InternalCollectionsUtilities _SortedCollection.swift
[53/467] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[54/467] Compiling _NIODataStructures PriorityQueue.swift
[55/467] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[56/467] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[57/467] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[58/467] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[59/467] Compiling InternalCollectionsUtilities Span+Extras.swift
[60/467] Compiling Logging Locks.swift
/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: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:171:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
169 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
170 |         #endif
171 |         self.rwlock.deallocate()
    |              `- error: value of type 'ReadWriteLock' has no member 'rwlock'
172 |     }
173 |
[61/467] Compiling InternalCollectionsUtilities String+Padding.swift
[62/467] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[63/467] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[64/467] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[65/467] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[66/467] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[67/467] Compiling InternalCollectionsUtilities Integer rank.swift
[68/467] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[69/467] Compiling InternalCollectionsUtilities UInt+reversed.swift
[71/468] Compiling _NIOBase64 Base64.swift
[72/468] Emitting module _NIOBase64
[74/469] Compiling _NIODataStructures _TinyArray.swift
[75/502] Compiling ContainersPreview RandomAccessContainer.swift
[76/502] Compiling ContainersPreview RangeExpression2.swift
[77/502] Compiling ContainersPreview RangeReplaceableContainer.swift
[78/502] Compiling ContainersPreview Drain+Map.swift
[79/502] Compiling ContainersPreview Producer+Map.swift
[80/502] Compiling ContainersPreview Producer+Reduce.swift
[81/502] Compiling ContainersPreview Producer.swift
[82/502] Compiling ContainersPreview Borrow.swift
[83/502] Compiling ContainersPreview Drain+Reduce.swift
[84/502] Compiling ContainersPreview Drain.swift
[85/502] Compiling ContainersPreview Producer+Collect.swift
[86/502] Compiling ContainersPreview Producer+Filter.swift
[87/506] Compiling ContainersPreview Container.swift
[88/506] Compiling ContainersPreview ContainerIterator.swift
[89/506] Compiling ContainersPreview DynamicContainer.swift
[90/506] Compiling ContainersPreview MutableContainer.swift
[91/506] Compiling ContainersPreview PermutableContainer.swift
[92/506] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[93/506] Compiling ContainersPreview BorrowingSequence.swift
[94/506] Compiling ContainersPreview BidirectionalContainer.swift
[95/506] Compiling ContainersPreview Container+Filter.swift
[96/506] Compiling ContainersPreview Container+SpanwiseZip.swift
[97/506] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[98/506] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[99/506] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[100/506] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[101/506] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[102/506] Compiling ContainersPreview Box.swift
[103/506] Compiling ContainersPreview Inout.swift
[104/506] Compiling ContainersPreview InputSpan.swift
[105/506] Compiling ContainersPreview Shared.swift
[106/506] Emitting module ContainersPreview
[107/506] Compiling ContainersPreview OutputSpan+Extras.swift
[108/506] Compiling ContainersPreview TemporaryAllocation.swift
[109/506] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[110/506] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[111/506] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[111/507] Compiling ssl_versions.cc
[113/507] Compiling ssl_stat.cc
[114/507] Compiling ssl_x509.cc
[115/507] Compiling ssl_transcript.cc
[117/547] Compiling _NIODataStructures Heap.swift
[118/547] Emitting module _NIODataStructures
[120/548] Compiling DequeModule UniqueDeque+Consumption.swift
[121/548] Compiling DequeModule UniqueDeque+Container.swift
[122/548] Compiling DequeModule UniqueDeque+Descriptions.swift
[123/548] Compiling DequeModule UniqueDeque+Equatable.swift
[124/548] Compiling DequeModule UniqueDeque+Experimental.swift
[125/553] Compiling DequeModule _DequeBuffer.swift
[126/553] Compiling DequeModule _DequeBufferHeader.swift
[127/553] Compiling DequeModule RigidDeque+Append.swift
[128/553] Compiling DequeModule RigidDeque+Consumption.swift
[129/553] Compiling DequeModule RigidDeque+Container.swift
[130/553] Compiling DequeModule RigidDeque+Descriptions.swift
[131/553] Compiling Logging LogHandler.swift
[132/553] Compiling Logging Logging.swift
[132/553] Compiling ssl_file.cc
[132/553] Compiling ssl_privkey.cc
[132/553] Compiling ssl_session.cc
[132/553] Compiling ssl_lib.cc
[132/553] Compiling ssl_credential.cc
[132/553] Compiling ssl_key_share.cc
BUILD FAILURE 6.3 wasm