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 Python-iOS, reference kivy-ios (f0efaf), with Swift 6.1 for Wasm on 28 May 2025 14:44:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/kewlbear/Python-iOS.git
Reference: kivy-ios
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/kewlbear/Python-iOS
 * branch            kivy-ios   -> FETCH_HEAD
 * [new branch]      kivy-ios   -> origin/kivy-ios
HEAD is now at f0efaf3 add v0.1.1-b20230423-090254
Cloned https://github.com/kewlbear/Python-iOS.git
Revision (git rev-parse @):
f0efaf32ec2506ed2654051e5ab3dd06d4e78c29
SUCCESS checkout https://github.com/kewlbear/Python-iOS.git at kivy-ios
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kewlbear/Python-iOS.git
https://github.com/kewlbear/Python-iOS.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Python-iOS",
  "name" : "Python-iOS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "Python-iOS",
      "targets" : [
        "LinkPython",
        "libpython3",
        "libssl",
        "libcrypto",
        "libffi",
        "PythonSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libssl",
      "module_type" : "BinaryTarget",
      "name" : "libssl",
      "path" : "remote/archive/libssl.xcframework.zip",
      "product_memberships" : [
        "Python-iOS"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libpython3",
      "module_type" : "BinaryTarget",
      "name" : "libpython3",
      "path" : "remote/archive/libpython3.xcframework.zip",
      "product_memberships" : [
        "Python-iOS"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libffi",
      "module_type" : "BinaryTarget",
      "name" : "libffi",
      "path" : "remote/archive/libffi.xcframework.zip",
      "product_memberships" : [
        "Python-iOS"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libcrypto",
      "module_type" : "BinaryTarget",
      "name" : "libcrypto",
      "path" : "remote/archive/libcrypto.xcframework.zip",
      "product_memberships" : [
        "Python-iOS"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "PythonTests",
      "module_type" : "SwiftTarget",
      "name" : "PythonTests",
      "path" : "Tests/PythonTests",
      "sources" : [
        "PythonTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PythonSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PythonSupport",
      "module_type" : "SwiftTarget",
      "name" : "PythonSupport",
      "path" : "Sources/PythonSupport",
      "product_memberships" : [
        "Python-iOS"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PythonSupport/lib",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SwiftBundle.swift"
      ],
      "target_dependencies" : [
        "LinkPython"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LinkPython",
      "module_type" : "ClangTarget",
      "name" : "LinkPython",
      "path" : "Sources/LinkPython",
      "product_memberships" : [
        "Python-iOS"
      ],
      "sources" : [
        "PythonSupport.m"
      ],
      "target_dependencies" : [
        "libpython3",
        "libssl",
        "libcrypto",
        "libffi"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Downloading binary artifact https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libssl.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libcrypto.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libpython3.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libffi.xcframework.zip
[1397/7703896] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libcrypto.xcframework.zip
[79396/9423579] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libcrypto.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libssl.xcframework.zip
[95771/9524708] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libcrypto.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libssl.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libffi.xcframework.zip
Downloaded https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libffi.xcframework.zip (0.62s)
[2209325/9423579] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libcrypto.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libssl.xcframework.zip
[9424976/57410693] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libcrypto.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libssl.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libpython3.xcframework.zip
Downloaded https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libssl.xcframework.zip (0.82s)
[16393551/55691010] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libcrypto.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libpython3.xcframework.zip
Downloaded https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libcrypto.xcframework.zip (1.42s)
Downloaded https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-090254/libpython3.xcframework.zip (5.00s)
Building for debugging...
[0/4] Write sources
[1/4] Copying lib
In file included from /host/spi-builder-workspace/Sources/LinkPython/PythonSupport.m:25:
/host/spi-builder-workspace/Sources/LinkPython/include/PythonSupport.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
   25 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/4] Compiling LinkPython PythonSupport.m
[2/4] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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...
In file included from /host/spi-builder-workspace/Sources/LinkPython/PythonSupport.m:25:
/host/spi-builder-workspace/Sources/LinkPython/include/PythonSupport.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
   25 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling LinkPython PythonSupport.m
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm