The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GemCommonsKit, reference 1.3.0 (e19c29), with Swift 6.1 for Wasm on 28 May 2025 11:22:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/gematik/ref-GemCommonsKit.git
Reference: 1.3.0
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/gematik/ref-GemCommonsKit
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at e19c296 Version 1.3.0
Cloned https://github.com/gematik/ref-GemCommonsKit.git
Revision (git rev-parse @):
e19c2961ad48cf8897b679bde109988cf96fbb59
SUCCESS checkout https://github.com/gematik/ref-GemCommonsKit.git at 1.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gematik/ref-GemCommonsKit.git
https://github.com/gematik/ref-GemCommonsKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "http://github.com/Quick/Nimble"
    }
  ],
  "manifest_display_name" : "GemCommonsKit",
  "name" : "GemCommonsKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "GemCommonsKit",
      "targets" : [
        "GemCommonsKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ObjCCommonsKit",
      "targets" : [
        "ObjCCommonsKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ObjCCommonsKit",
      "module_type" : "ClangTarget",
      "name" : "ObjCCommonsKit",
      "path" : "Sources/ObjCCommonsKit",
      "product_memberships" : [
        "ObjCCommonsKit"
      ],
      "sources" : [
        "ExceptionCatcher.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GemCommonsKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GemCommonsKitTests",
      "path" : "Tests/GemCommonsKitTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "BlockingVarTest.swift",
        "Extension/DataExtIOTest.swift",
        "Extension/StringExtDigitsTest.swift",
        "Extension/ThreadExtInternalTest.swift",
        "ResourceLoaderTest.swift",
        "SynchronizedVarTest.swift",
        "WeakArrayTest.swift",
        "WeakRefTest.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "GemCommonsKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GemCommonsKit",
      "module_type" : "SwiftTarget",
      "name" : "GemCommonsKit",
      "path" : "Sources/GemCommonsKit",
      "product_memberships" : [
        "GemCommonsKit"
      ],
      "sources" : [
        "AnyWrapper.swift",
        "BlockingVar.swift",
        "CommonError.swift",
        "DLog.swift",
        "Extension/Array+Data.swift",
        "Extension/Data+IO.swift",
        "Extension/Data+empty.swift",
        "Extension/String+Digits.swift",
        "Extension/Thread+Internal.swift",
        "ResourceLoader.swift",
        "Synchronized.swift",
        "SynchronizedVar.swift",
        "WeakArray.swift",
        "WeakRef.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching http://github.com/Quick/Nimble
[1/19584] Fetching nimble
Fetched http://github.com/Quick/Nimble from cache (1.21s)
Computing version for http://github.com/Quick/Nimble
Computed http://github.com/Quick/Nimble at 9.2.1 (1.83s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.40s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.23s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.31s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.81s)
Creating working copy for http://github.com/Quick/Nimble
Working copy of http://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Building for debugging...
[0/3] Write sources
In file included from /host/spi-builder-workspace/Sources/ObjCCommonsKit/ExceptionCatcher.m:17:
/host/spi-builder-workspace/Sources/ObjCCommonsKit/include/ExceptionCatcher.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling ObjCCommonsKit ExceptionCatcher.m
[1/3] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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...
In file included from /host/spi-builder-workspace/Sources/ObjCCommonsKit/ExceptionCatcher.m:17:
/host/spi-builder-workspace/Sources/ObjCCommonsKit/include/ExceptionCatcher.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling ObjCCommonsKit ExceptionCatcher.m
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm