The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWJavaScriptContext_Thumbnail, reference main (99254e), with Swift 6.1 for Android on 30 May 2025 14:02:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWJavaScriptContext_Thumbnail.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/William-Weng/WWJavaScriptContext_Thumbnail
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 99254e9 - iOS 15 / Swift 5.7
Cloned https://github.com/William-Weng/WWJavaScriptContext_Thumbnail.git
Revision (git rev-parse @):
99254e969997a016819713c8ac1fb2a03d7c3899
SUCCESS checkout https://github.com/William-Weng/WWJavaScriptContext_Thumbnail.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWJavaScriptContext_Thumbnail.git
https://github.com/William-Weng/WWJavaScriptContext_Thumbnail.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "wwjavascriptcontext",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/William-Weng/WWJavaScriptContext"
    },
    {
      "identity" : "wwnetworking",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/William-Weng/WWNetworking"
    }
  ],
  "manifest_display_name" : "WWJavaScriptContext_Thumbnail",
  "name" : "WWJavaScriptContext_Thumbnail",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "WWJavaScriptContext_Thumbnail",
      "targets" : [
        "WWJavaScriptContext_Thumbnail"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWJavaScriptContext_Thumbnail",
      "module_type" : "SwiftTarget",
      "name" : "WWJavaScriptContext_Thumbnail",
      "path" : "Sources/WWJavaScriptContext_Thumbnail",
      "product_dependencies" : [
        "WWJavaScriptContext",
        "WWNetworking"
      ],
      "product_memberships" : [
        "WWJavaScriptContext_Thumbnail"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/WWJavaScriptContext_Thumbnail/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/WWJavaScriptContext_Thumbnail/Script/jsSource.js",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Utility/Constant.swift",
        "Utility/Extension.swift",
        "WWJavaScriptContext_Thumbnail.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/William-Weng/WWNetworking
Fetching https://github.com/William-Weng/WWJavaScriptContext
[1/409] Fetching wwnetworking
[38/520] Fetching wwnetworking, wwjavascriptcontext
Fetched https://github.com/William-Weng/WWNetworking from cache (0.47s)
Fetched https://github.com/William-Weng/WWJavaScriptContext from cache (0.47s)
Computing version for https://github.com/William-Weng/WWJavaScriptContext
Computed https://github.com/William-Weng/WWJavaScriptContext at 1.1.0 (1.08s)
Computing version for https://github.com/William-Weng/WWNetworking
Computed https://github.com/William-Weng/WWNetworking at 1.7.6 (0.63s)
Creating working copy for https://github.com/William-Weng/WWNetworking
Working copy of https://github.com/William-Weng/WWNetworking resolved at 1.7.6
Creating working copy for https://github.com/William-Weng/WWJavaScriptContext
Working copy of https://github.com/William-Weng/WWJavaScriptContext resolved at 1.1.0
Building for debugging...
[0/8] Write sources
[0/8] Copying jsSource.js
[2/8] Write sources
[2/8] Copying Privacy
[5/8] Write sources
[5/8] Copying Privacy
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module WWNetworking
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[10/16] Compiling WWNetworking Constant.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[11/16] Compiling WWNetworking resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Emitting module WWJavaScriptContext
/host/spi-builder-workspace/.build/checkouts/WWJavaScriptContext/Sources/WWJavaScriptContext/JavaScriptContext.swift:9:8: error: no such module 'JavaScriptCore'
  7 | //  file:///Users/william/Desktop/WWJavaScriptContext
  8 |
  9 | import JavaScriptCore
    |        `- error: no such module 'JavaScriptCore'
 10 |
 11 | // MARK: - JavaScriptCore小工具
[13/16] Compiling WWJavaScriptContext resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWJavaScriptContext/Sources/WWJavaScriptContext/JavaScriptContext.swift:9:8: error: no such module 'JavaScriptCore'
  7 | //  file:///Users/william/Desktop/WWJavaScriptContext
  8 |
  9 | import JavaScriptCore
    |        `- error: no such module 'JavaScriptCore'
 10 |
 11 | // MARK: - JavaScriptCore小工具
[14/16] Compiling WWJavaScriptContext JavaScriptContext.swift
/host/spi-builder-workspace/.build/checkouts/WWJavaScriptContext/Sources/WWJavaScriptContext/JavaScriptContext.swift:9:8: error: no such module 'JavaScriptCore'
  7 | //  file:///Users/william/Desktop/WWJavaScriptContext
  8 |
  9 | import JavaScriptCore
    |        `- error: no such module 'JavaScriptCore'
 10 |
 11 | // MARK: - JavaScriptCore小工具
[15/16] Compiling WWNetworking Networking.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[16/16] Compiling WWNetworking Extension.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Emitting module WWJavaScriptContext
/host/spi-builder-workspace/.build/checkouts/WWJavaScriptContext/Sources/WWJavaScriptContext/JavaScriptContext.swift:9:8: error: no such module 'JavaScriptCore'
  7 | //  file:///Users/william/Desktop/WWJavaScriptContext
  8 |
  9 | import JavaScriptCore
    |        `- error: no such module 'JavaScriptCore'
 10 |
 11 | // MARK: - JavaScriptCore小工具
[3/9] Compiling WWJavaScriptContext resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWJavaScriptContext/Sources/WWJavaScriptContext/JavaScriptContext.swift:9:8: error: no such module 'JavaScriptCore'
  7 | //  file:///Users/william/Desktop/WWJavaScriptContext
  8 |
  9 | import JavaScriptCore
    |        `- error: no such module 'JavaScriptCore'
 10 |
 11 | // MARK: - JavaScriptCore小工具
[4/9] Compiling WWJavaScriptContext JavaScriptContext.swift
/host/spi-builder-workspace/.build/checkouts/WWJavaScriptContext/Sources/WWJavaScriptContext/JavaScriptContext.swift:9:8: error: no such module 'JavaScriptCore'
  7 | //  file:///Users/william/Desktop/WWJavaScriptContext
  8 |
  9 | import JavaScriptCore
    |        `- error: no such module 'JavaScriptCore'
 10 |
 11 | // MARK: - JavaScriptCore小工具
[5/9] Compiling WWNetworking resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Emitting module WWNetworking
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
BUILD FAILURE 6.1 android