The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziHealthKit, reference 1.4.2 (a86db5), with Swift 6.2 for Wasm on 9 Apr 2026 19:13:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziHealthKit.git
Reference: 1.4.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/StanfordSpezi/SpeziHealthKit
 * tag               1.4.2      -> FETCH_HEAD
HEAD is now at a86db5c general maintenance (#84)
Cloned https://github.com/StanfordSpezi/SpeziHealthKit.git
Revision (git rev-parse @):
a86db5cf2a6fbc62a9c161b135d87a97911d2533
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziHealthKit.git at 1.4.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziHealthKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/1715] Fetching spezistorage
[1716/4680] Fetching spezistorage, spezifoundation
[4474/10738] Fetching spezistorage, spezifoundation, swift-algorithms
[5408/16962] Fetching spezistorage, spezifoundation, swift-algorithms, swift-async-algorithms
[5531/34474] Fetching spezistorage, spezifoundation, swift-algorithms, swift-async-algorithms, swift-argument-parser
[34475/50520] Fetching spezistorage, spezifoundation, swift-algorithms, swift-async-algorithms, swift-argument-parser, swift-snapshot-testing
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (0.87s)
[33080/48805] Fetching spezifoundation, swift-algorithms, swift-async-algorithms, swift-argument-parser, swift-snapshot-testing
Fetching https://github.com/StanfordSpezi/Spezi.git
[33563/59138] Fetching spezifoundation, swift-algorithms, swift-async-algorithms, swift-argument-parser, swift-snapshot-testing, spezi
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.55s)
[37092/48805] Fetching spezifoundation, swift-algorithms, swift-async-algorithms, swift-argument-parser, swift-snapshot-testing
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (2.94s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (2.94s)
Fetched https://github.com/apple/swift-algorithms.git from cache (2.94s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.95s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.03s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (3.73s)
Fetching https://github.com/apple/swift-collections.git
[1/23523] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.04s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (6.32s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.54s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (1.51s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/735] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.45s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.5 (1.13s)
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-atomics.git
[1/171] Fetching threadlocal
[172/63328] Fetching threadlocal, zstd
[173/65148] Fetching threadlocal, zstd, swift-atomics
[3955/71611] Fetching threadlocal, zstd, swift-atomics, swift-log
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (0.56s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
Fetched https://github.com/apple/swift-log from cache (0.56s)
[12632/63157] Fetching zstd
Fetched https://github.com/StanfordBDHG/zstd.git from cache (4.25s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (7.40s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (0.74s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.63s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.2 (0.98s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74932] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.85s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (5.43s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.38s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.59s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.36s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.2 (0.33s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5443] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.34s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.66s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.69s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.02s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.38s)
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.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/StanfordBDHG/ThreadLocal.git
Working copy of https://github.com/StanfordBDHG/ThreadLocal.git resolved at 0.1.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.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/StanfordBDHG/zstd.git
Working copy of https://github.com/StanfordBDHG/zstd.git resolved at 1.5.8-beta.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.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.3.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.5
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.19.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/StanfordSpezi/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.4
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.38s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/67] Write sources
[7/67] Compiling threading.c
[8/67] Compiling pool.c
[8/67] Write swift-version-24593BA9C3E375BF.txt
[10/67] Compiling zstd_compress_sequences.c
[11/67] Compiling zdict.c
[11/67] Compiling fastcover.c
[13/67] Compiling cover.c
[14/67] Compiling zstd_ddict.c
[15/71] Compiling huf_decompress_amd64.S
[16/71] Compiling divsufsort.c
[17/71] Compiling zstd_decompress.c
[18/71] Compiling zstd_preSplit.c
[19/71] Compiling zstd_decompress_block.c
[20/71] Compiling zstd_ldm.c
[21/71] Compiling zstdmt_compress.c
[22/71] Compiling huf_decompress.c
[23/71] Compiling zstd_compress_literals.c
[24/71] Compiling zstd_compress_superblock.c
[25/71] Compiling zstd_opt.c
[26/71] Compiling hist.c
[27/71] Compiling zstd_fast.c
[28/71] Compiling zstd_double_fast.c
[29/71] Compiling fse_compress.c
[30/71] Compiling zstd_common.c
[31/71] Compiling error_private.c
[32/71] Compiling xxhash.c
[33/71] Compiling fse_decompress.c
[34/71] Compiling debug.c
[35/71] Compiling huf_compress.c
[36/71] Write sources
[37/71] Copying Localizable-HKTypes.strings
[40/71] Compiling entropy_common.c
[41/71] Copying Localizable-HKTypes.strings
[43/71] Copying Info.plist
[44/71] Write sources
[45/71] Compiling _NumericsShims _NumericsShims.c
[45/71] Write sources
[45/71] Copying Localizable.xcstrings.license
[45/71] Copying Localizable.xcstrings
[45/71] Copying Info.plist
[45/71] Copying Localizable-HKTypes.strings
[45/71] Write sources
[60/71] Compiling _AtomicsShims.c
[61/71] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/81] Emitting module RuntimeAssertions
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/Counter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 |
[63/81] Compiling zstd_compress.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/81] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:48:8: error: The concurrency lock module was unable to identify your C library.
 46 | #endif
 47 | #else
 48 | #error("The concurrency lock module was unable to identify your C library.")
    |        `- error: The concurrency lock module was unable to identify your C library.
 49 | #endif
 50 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:8: error: Unsupported runtime
  26 | import WASILibc
  27 | #else
  28 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  29 | #endif
  30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1510:16: error: Unsupported runtime
1508 |         )
1509 |         #else
1510 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1511 |         #endif
1512 |     }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1582:16: error: Unsupported runtime
1580 |         )
1581 |         #else
1582 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1583 |         #endif
1584 |     }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:194:50: error: cannot find type 'pthread_rwlock_t' in scope
192 |         UnsafeMutablePointer.allocate(capacity: 1)
193 |     #else
194 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
195 |         UnsafeMutablePointer.allocate(capacity: 1)
196 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:990:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 988 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 989 |     /// `.critical` being the most severe.
 990 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 991 |         /// Appropriate for messages that contain information normally of use only when
 992 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1442:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1440 |     }
1441 |
1442 |     internal static let stderr: StdioOutputStream = {
     |                                                     `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1443 |         #if canImport(Darwin)
1444 |         return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1514:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1512 |     }()
1513 |
1514 |     internal static let stdout: StdioOutputStream = {
     |                                                     `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1515 |         #if canImport(Darwin)
1516 |         return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:25: error: cannot find 'time' in scope
1768 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 |         #else
1770 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1771 |         guard let localTime = localtime(&timestamp) else {
1772 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:30: error: 'nil' requires a contextual type
1768 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 |         #else
1770 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1771 |         guard let localTime = localtime(&timestamp) else {
1772 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1771:31: error: cannot find 'localtime' in scope
1769 |         #else
1770 |         var timestamp = time(nil)
1771 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1772 |             return "<unknown>"
1773 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1774:9: error: cannot find 'strftime' in scope
1772 |             return "<unknown>"
1773 |         }
1774 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1775 |         #endif
1776 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1895:54: error: 'description' is unavailable: unavailable in embedded Swift
1893 |         switch self {
1894 |         case .dictionary(let dict):
1895 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1896 |         case .array(let list):
1897 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1897:48: error: 'description' is unavailable: unavailable in embedded Swift
1895 |             return dict.mapValues { $0.description }.description
1896 |         case .array(let list):
1897 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1898 |         case .string(let str):
1899 |             return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
[66/81] Compiling RuntimeAssertions Assert.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/Counter.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 |
[66/81] Compiling zstd_lazy.c
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:48:8: error: The concurrency lock module was unable to identify your C library.
 46 | #endif
 47 | #else
 48 | #error("The concurrency lock module was unable to identify your C library.")
    |        `- error: The concurrency lock module was unable to identify your C library.
 49 | #endif
 50 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:8: error: Unsupported runtime
  26 | import WASILibc
  27 | #else
  28 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  29 | #endif
  30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1510:16: error: Unsupported runtime
1508 |         )
1509 |         #else
1510 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1511 |         #endif
1512 |     }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1582:16: error: Unsupported runtime
1580 |         )
1581 |         #else
1582 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1583 |         #endif
1584 |     }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:194:50: error: cannot find type 'pthread_rwlock_t' in scope
192 |         UnsafeMutablePointer.allocate(capacity: 1)
193 |     #else
194 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
195 |         UnsafeMutablePointer.allocate(capacity: 1)
196 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:990:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 988 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 989 |     /// `.critical` being the most severe.
 990 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 991 |         /// Appropriate for messages that contain information normally of use only when
 992 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1442:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1440 |     }
1441 |
1442 |     internal static let stderr: StdioOutputStream = {
     |                                                     `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1443 |         #if canImport(Darwin)
1444 |         return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1514:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1512 |     }()
1513 |
1514 |     internal static let stdout: StdioOutputStream = {
     |                                                     `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1515 |         #if canImport(Darwin)
1516 |         return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:25: error: cannot find 'time' in scope
1768 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 |         #else
1770 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1771 |         guard let localTime = localtime(&timestamp) else {
1772 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:30: error: 'nil' requires a contextual type
1768 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 |         #else
1770 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1771 |         guard let localTime = localtime(&timestamp) else {
1772 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1771:31: error: cannot find 'localtime' in scope
1769 |         #else
1770 |         var timestamp = time(nil)
1771 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1772 |             return "<unknown>"
1773 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1774:9: error: cannot find 'strftime' in scope
1772 |             return "<unknown>"
1773 |         }
1774 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1775 |         #endif
1776 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1895:54: error: 'description' is unavailable: unavailable in embedded Swift
1893 |         switch self {
1894 |         case .dictionary(let dict):
1895 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1896 |         case .array(let list):
1897 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
BUILD FAILURE 6.2 wasm