The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build iOSMcuManagerLibrary, reference main (81a0a9), with Swift 6.1 for Wasm on 11 Sep 2025 22:10:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Reference: main
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/NordicSemiconductor/IOS-nRF-Connect-Device-Manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 81a0a90 Merge pull request #422 from NordicSemiconductor/onDFU
Cloned https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Revision (git rev-parse @):
81a0a90813da15c65c28b6d68715d894422adda1
SUCCESS checkout https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftcbor",
      "requirement" : {
        "exact" : [
          "0.4.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/valpackett/SwiftCBOR.git"
    },
    {
      "identity" : "zipfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/weichsel/ZIPFoundation.git"
    },
    {
      "identity" : "ios-ble-library",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NordicSemiconductor/IOS-BLE-Library"
    }
  ],
  "manifest_display_name" : "iOSMcuManagerLibrary",
  "name" : "iOSMcuManagerLibrary",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "iOSMcuManagerLibrary",
      "targets" : [
        "iOSMcuManagerLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "iOSOtaLibrary",
      "targets" : [
        "iOSOtaLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iOSOtaLibrary",
      "module_type" : "SwiftTarget",
      "name" : "iOSOtaLibrary",
      "path" : "iOSOtaLibrary/Source",
      "product_dependencies" : [
        "iOS-BLE-Library-Mock"
      ],
      "product_memberships" : [
        "iOSOtaLibrary"
      ],
      "sources" : [
        "Network/HTTPRequest.swift",
        "Network/Network.swift",
        "Network/URLSession.swift",
        "OTA/GetLatestReleaseInfoRequest.swift",
        "OTA/OTAManager+Tokens.swift",
        "OTA/OTAManager.swift",
        "OTA/Tokens/DeviceInfoToken.swift",
        "OTA/Tokens/ProjectKey.swift",
        "Observability/Data Structures/CBUUID+MDS.swift",
        "Observability/Data Structures/ObservabilityChunk.swift",
        "Observability/Data Structures/ObservabilityDevice.swift",
        "Observability/Data Structures/ObservabilityDeviceEvent.swift",
        "Observability/Data Structures/ObservabilityError.swift",
        "Observability/ObservabilityManager+Internal.swift",
        "Observability/ObservabilityManager.swift",
        "Observability/ObservabilityManagerError.swift",
        "Observability/PostChunkRequest.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "iOSMcuManagerLibrary",
      "module_type" : "SwiftTarget",
      "name" : "iOSMcuManagerLibrary",
      "path" : "iOSMcuManagerLibrary/Source",
      "product_dependencies" : [
        "SwiftCBOR",
        "ZIPFoundation"
      ],
      "product_memberships" : [
        "iOSMcuManagerLibrary"
      ],
      "sources" : [
        "Bluetooth/McuMgrBleROBWriteBuffer.swift",
        "Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift",
        "Bluetooth/McuMgrBleTransport+CBPeripheralDelegate.swift",
        "Bluetooth/McuMgrBleTransport.swift",
        "Bluetooth/McuMgrBleTransportConfguration.swift",
        "Bluetooth/McuMgrBleTransportWriteState.swift",
        "Extensions/CBOR+McuManager.swift",
        "Extensions/Data+McuManager.swift",
        "Extensions/String+McuManager.swift",
        "Managers/BasicManager.swift",
        "Managers/CrashManager.swift",
        "Managers/DFU/FirmwareUpgradeController.swift",
        "Managers/DFU/FirmwareUpgradeManager.swift",
        "Managers/DefaultManager.swift",
        "Managers/FileSystemManager.swift",
        "Managers/ImageManager.swift",
        "Managers/LogManager.swift",
        "Managers/RunTestManager.swift",
        "Managers/SettingsManager.swift",
        "Managers/ShellManager.swift",
        "Managers/StatsManager.swift",
        "Managers/SuitManager.swift",
        "McuManager.swift",
        "McuMgrCallbackOoOBuffer.swift",
        "McuMgrHeader.swift",
        "McuMgrImage.swift",
        "McuMgrLogDelegate.swift",
        "McuMgrManifest.swift",
        "McuMgrPackage.swift",
        "McuMgrResponse.swift",
        "McuMgrSuitEnvelope.swift",
        "McuMgrSuitManifest.swift",
        "McuMgrTransport.swift",
        "McuMgrUploadPipeline.swift",
        "Utils/CBOR+String.swift",
        "Utils/ResultLock.swift",
        "Utils/UTI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/NordicSemiconductor/IOS-BLE-Library
[1/3305] Fetching ios-ble-library
Fetched https://github.com/NordicSemiconductor/IOS-BLE-Library from cache (0.81s)
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Fetching https://github.com/valpackett/SwiftCBOR.git
[1/1401] Fetching swiftcbor
[520/7948] Fetching swiftcbor, ios-corebluetooth-mock
[2385/13547] Fetching swiftcbor, ios-corebluetooth-mock, zipfoundation
Fetched https://github.com/valpackett/SwiftCBOR.git from cache (0.30s)
[3095/12146] Fetching ios-corebluetooth-mock, zipfoundation
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache (0.81s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.81s)
Computing version for https://github.com/valpackett/SwiftCBOR.git
Computed https://github.com/valpackett/SwiftCBOR.git at 0.4.7 (2.35s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
warning: 'ios-corebluetooth-mock': /Package.swift:12:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
10 |   platforms: [
11 |     .macOS(.v10_13),
12 |     .iOS(.v11),
   |           `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
/Package.swift:14:12: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
12 |     .iOS(.v11),
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
   |            `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
15 |   ],
16 |   products: [
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 1.0.1 (0.53s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (1.29s)
Creating working copy for https://github.com/valpackett/SwiftCBOR.git
Working copy of https://github.com/valpackett/SwiftCBOR.git resolved at 0.4.7
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
Creating working copy for https://github.com/NordicSemiconductor/IOS-BLE-Library
Working copy of https://github.com/NordicSemiconductor/IOS-BLE-Library resolved at main (dbb8a25)
Creating working copy for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git resolved at 1.0.1
warning: 'ios-corebluetooth-mock': /host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/Package.swift:12:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
10 |   platforms: [
11 |     .macOS(.v10_13),
12 |     .iOS(.v11),
   |           `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/Package.swift:14:12: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
12 |     .iOS(.v11),
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
   |            `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
15 |   ],
16 |   products: [
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/iOSMcuManagerLibrary/Source/PrivacyInfo.xcprivacy
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/79] Emitting module ZIPFoundation
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[10/81] Emitting module SwiftCBOR
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/83] Emitting module CoreBluetoothMock
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[12/85] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
[13/85] Compiling SwiftCBOR Util.swift
[14/85] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[16/85] Compiling ZIPFoundation Archive+Deprecated.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[17/85] Compiling ZIPFoundation Archive+Helpers.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[18/85] Compiling ZIPFoundation Entry+Serialization.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[19/85] Compiling ZIPFoundation Entry+ZIP64.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[20/87] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[21/87] Compiling ZIPFoundation Archive+Writing.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[22/87] Compiling ZIPFoundation Archive+WritingDeprecated.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[23/87] Compiling ZIPFoundation Archive+ZIP64.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[24/87] Compiling ZIPFoundation Archive.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[25/87] Compiling ZIPFoundation Data+CompressionDeprecated.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[26/87] Compiling ZIPFoundation Data+Serialization.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[27/87] Compiling ZIPFoundation Date+ZIP.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[32/87] Compiling ZIPFoundation Archive+MemoryFile.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:259:53: error: cannot find 'NSEC_PER_SEC' in scope
257 |
258 |         let seconds = Int64(integral)
259 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
260 |
261 |         switch options.dateStrategy {
[33/87] Compiling ZIPFoundation Archive+Progress.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:259:53: error: cannot find 'NSEC_PER_SEC' in scope
257 |
258 |         let seconds = Int64(integral)
259 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
260 |
261 |         switch options.dateStrategy {
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[56/87] Compiling ZIPFoundation Archive+BackingConfiguration.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[61/87] Compiling ZIPFoundation Archive+Reading.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[68/87] Compiling iOS_BLE_Library RSSI.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[69/87] Compiling iOS_BLE_Library UnimplementedError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'ios-corebluetooth-mock': /host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/Package.swift:12:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
10 |   platforms: [
11 |     .macOS(.v10_13),
12 |     .iOS(.v11),
   |           `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/Package.swift:14:12: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
12 |     .iOS(.v11),
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
   |            `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
15 |   ],
16 |   products: [
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/iOSMcuManagerLibrary/Source/PrivacyInfo.xcprivacy
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/72] Compiling SwiftCBOR CBOROptions.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[3/72] Compiling SwiftCBOR CodableCBORDecoder.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[4/74] Compiling SwiftCBOR KeyedDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[5/74] Compiling SwiftCBOR CodableCBOREncoder.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[6/74] Compiling iOS_BLE_Library Publishers+GuestList.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[7/74] Compiling iOS_BLE_Library Queue.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[8/74] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[9/74] Compiling ZIPFoundation Archive+BackingConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[10/76] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[11/76] Compiling SwiftCBOR SingleValueEncodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[12/76] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[13/76] Compiling SwiftCBOR CBOREncodable.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/76] Emitting module iOS_BLE_Library
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[17/76] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/76] Emitting module ZIPFoundation
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[21/78] Compiling SwiftCBOR SingleValueDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[26/78] Compiling SwiftCBOR KeyedEncodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[27/78] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[28/78] Compiling ZIPFoundation URL+ZIP.swift
/host/spi-builder-workspace/.build/checkouts/IOS-BLE-Library/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/78] Emitting module CoreBluetoothMock
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[32/78] Compiling SwiftCBOR CBORInputStream.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[35/78] Compiling ZIPFoundation Archive+MemoryFile.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[36/78] Compiling ZIPFoundation Archive+Progress.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[37/78] Compiling ZIPFoundation Archive+Reading.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[43/80] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[46/80] Compiling SwiftCBOR Util.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:259:53: error: cannot find 'NSEC_PER_SEC' in scope
257 |
258 |         let seconds = Int64(integral)
259 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
260 |
261 |         switch options.dateStrategy {
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:259:53: error: cannot find 'NSEC_PER_SEC' in scope
257 |
258 |         let seconds = Int64(integral)
259 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
260 |
261 |         switch options.dateStrategy {
[68/80] Emitting module SwiftCBOR
BUILD FAILURE 6.1 wasm