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 v0.1.1-b20230423-090254 (4f3ca2), 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-2":/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: v0.1.1-b20230423-090254
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
 * tag               v0.1.1-b20230423-090254 -> FETCH_HEAD
HEAD is now at 4f3ca2b fix missing bz2 linker option
Cloned https://github.com/kewlbear/Python-iOS.git
Revision (git rev-parse @):
4f3ca2bc0cff1ef2511555eb6114f9eb12e50412
SUCCESS checkout https://github.com/kewlbear/Python-iOS.git at v0.1.1-b20230423-090254
========================================
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-2":/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-053002/libssl.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libcrypto.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libpython3.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libffi.xcframework.zip
[1369/47987586] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libpython3.xcframework.zip
[35677/49707248] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libpython3.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libssl.xcframework.zip
[295373/49808382] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libpython3.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libssl.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libffi.xcframework.zip
Downloaded https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libffi.xcframework.zip (0.55s)
[3241793/49707248] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libpython3.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libssl.xcframework.zip
[4830544/57410933] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libpython3.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libssl.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libcrypto.xcframework.zip
[23268023/55691271] Downloading https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libpython3.xcframework.zip, https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libcrypto.xcframework.zip
Downloaded https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libssl.xcframework.zip (0.75s)
Downloaded https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libcrypto.xcframework.zip (1.38s)
Downloaded https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-053002/libpython3.xcframework.zip (4.93s)
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-2":/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