The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TIMEncryptedStorage, reference main (b66641), with Swift 6.1 for Wasm on 29 May 2025 23:20:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/trifork/TIMEncryptedStorage-iOS.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/trifork/TIMEncryptedStorage-iOS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b666418 Merge pull request #11 from trifork/niha/request-retry
Cloned https://github.com/trifork/TIMEncryptedStorage-iOS.git
Revision (git rev-parse @):
b666418d052375516eb41e2eae26b154dd1d3681
SUCCESS checkout https://github.com/trifork/TIMEncryptedStorage-iOS.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/trifork/TIMEncryptedStorage-iOS.git
https://github.com/trifork/TIMEncryptedStorage-iOS.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TIMEncryptedStorage",
  "name" : "TIMEncryptedStorage",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "TIMEncryptedStorage",
      "targets" : [
        "TIMEncryptedStorage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TIMEncryptedStorageTests",
      "module_type" : "SwiftTarget",
      "name" : "TIMEncryptedStorageTests",
      "path" : "Tests/TIMEncryptedStorageTests",
      "sources" : [
        "IVGeneratorTests.swift",
        "KeychainStoreItemTests.swift",
        "OSStatusExtensionsTests.swift",
        "TIMCryptorTests.swift",
        "TIMEncryptedStorageTests.swift",
        "TIMKeyModelExtensionsTests.swift",
        "TIMKeyServiceErrorTests.swift",
        "TIMKeyServiceModelsTests.swift",
        "TIMKeyServiceTests.swift"
      ],
      "target_dependencies" : [
        "TIMEncryptedStorage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TIMEncryptedStorage",
      "module_type" : "SwiftTarget",
      "name" : "TIMEncryptedStorage",
      "path" : "Sources/TIMEncryptedStorage",
      "product_memberships" : [
        "TIMEncryptedStorage"
      ],
      "sources" : [
        "Cryptors/AES/CBC.swift",
        "Cryptors/AES/GCM.swift",
        "Cryptors/TIMESCryptor.swift",
        "Extensions/OSStatus+Extensions.swift",
        "Extensions/TIMKeyModel+Extensions.swift",
        "Helpers/IVGenerator.swift",
        "Helpers/Test/SecureStorageMock.swift",
        "Helpers/Test/URLSession+Extensions.swift",
        "Helpers/Test/URLSessionMockProtocol.swift",
        "Models/TIMESBiometricEnableResult.swift",
        "Models/TIMESEncryptionMethod.swift",
        "Models/TIMESKeyCreationResult.swift",
        "Models/TIMErrorModels.swift",
        "Models/TIMKeyServiceModels.swift",
        "TIM/KeyService/TIMKeyService.swift",
        "TIM/KeyService/TIMKeyServiceProtocol.swift",
        "TIM/Keychain/TIMKeychain.swift",
        "TIM/Keychain/TIMKeychainStoreItem.swift",
        "TIM/Keychain/TIMSecureStorage.swift",
        "TIM/Keychain/TIMSecureStorageItem.swift",
        "TIM/TIMEncryptedStorage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module TIMEncryptedStorage
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[4/24] Compiling TIMEncryptedStorage TIMSecureStorageItem.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[5/24] Compiling TIMEncryptedStorage TIMEncryptedStorage.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[6/24] Compiling TIMEncryptedStorage CBC.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[7/24] Compiling TIMEncryptedStorage GCM.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[8/24] Compiling TIMEncryptedStorage TIMESCryptor.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[9/24] Compiling TIMEncryptedStorage SecureStorageMock.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[10/24] Compiling TIMEncryptedStorage URLSession+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[11/24] Compiling TIMEncryptedStorage URLSessionMockProtocol.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[12/24] Compiling TIMEncryptedStorage TIMKeychainStoreItem.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[13/24] Compiling TIMEncryptedStorage TIMSecureStorage.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[14/24] Compiling TIMEncryptedStorage TIMESBiometricEnableResult.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[15/24] Compiling TIMEncryptedStorage TIMESEncryptionMethod.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[16/24] Compiling TIMEncryptedStorage TIMESKeyCreationResult.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[17/24] Compiling TIMEncryptedStorage OSStatus+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[18/24] Compiling TIMEncryptedStorage TIMKeyModel+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[19/24] Compiling TIMEncryptedStorage IVGenerator.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[20/24] Compiling TIMEncryptedStorage TIMKeyServiceProtocol.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[21/24] Compiling TIMEncryptedStorage TIMKeychain.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[22/24] Compiling TIMEncryptedStorage TIMErrorModels.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[23/24] Compiling TIMEncryptedStorage TIMKeyServiceModels.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[24/24] Compiling TIMEncryptedStorage TIMKeyService.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling TIMEncryptedStorage SecureStorageMock.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[3/21] Compiling TIMEncryptedStorage URLSession+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[4/21] Compiling TIMEncryptedStorage URLSessionMockProtocol.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[5/23] Compiling TIMEncryptedStorage TIMKeychainStoreItem.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[6/23] Compiling TIMEncryptedStorage TIMSecureStorage.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[7/23] Compiling TIMEncryptedStorage TIMKeyServiceProtocol.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[8/23] Compiling TIMEncryptedStorage TIMKeychain.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[9/23] Compiling TIMEncryptedStorage CBC.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[10/23] Compiling TIMEncryptedStorage GCM.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[11/23] Compiling TIMEncryptedStorage TIMESCryptor.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[12/23] Compiling TIMEncryptedStorage TIMESBiometricEnableResult.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[13/23] Compiling TIMEncryptedStorage TIMESEncryptionMethod.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[14/23] Compiling TIMEncryptedStorage TIMESKeyCreationResult.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[15/23] Compiling TIMEncryptedStorage TIMErrorModels.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[16/23] Compiling TIMEncryptedStorage TIMKeyServiceModels.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[17/23] Compiling TIMEncryptedStorage TIMKeyService.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/23] Emitting module TIMEncryptedStorage
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[19/23] Compiling TIMEncryptedStorage OSStatus+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[20/23] Compiling TIMEncryptedStorage TIMKeyModel+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[21/23] Compiling TIMEncryptedStorage IVGenerator.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[22/23] Compiling TIMEncryptedStorage TIMSecureStorageItem.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
[23/23] Compiling TIMEncryptedStorage TIMEncryptedStorage.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
 1 | import Foundation
 2 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
 3 |
 4 | extension TIMESCryptor.AES {
BUILD FAILURE 6.1 wasm