The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWHUD, reference main (1397cb), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 10:45:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWHUD.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWHUD
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1397cb7 - update ReadMe
Cloned https://github.com/William-Weng/WWHUD.git
Revision (git rev-parse @):
1397cb7f22cd90c97325c1ccf47d0101281b9659
SUCCESS checkout https://github.com/William-Weng/WWHUD.git at main
Fetching https://github.com/William-Weng/WWSVGImageView
[1/163] Fetching wwsvgimageview
Fetched https://github.com/William-Weng/WWSVGImageView from cache (0.82s)
Computing version for https://github.com/William-Weng/WWSVGImageView
Computed https://github.com/William-Weng/WWSVGImageView at 1.0.2 (1.51s)
Creating working copy for https://github.com/William-Weng/WWSVGImageView
Working copy of https://github.com/William-Weng/WWSVGImageView resolved at 1.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "wwhud",
      "name": "WWHUD",
      "url": "https://github.com/William-Weng/WWHUD.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWHUD",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "wwsvgimageview",
          "name": "WWSVGImageView",
          "url": "https://github.com/William-Weng/WWSVGImageView",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWSVGImageView",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/William-Weng/WWHUD.git
[1/391] Fetching wwhud
Fetched https://github.com/William-Weng/WWHUD.git from cache (1.48s)
Fetching https://github.com/William-Weng/WWSVGImageView from cache
Fetched https://github.com/William-Weng/WWSVGImageView from cache (0.43s)
Computing version for https://github.com/William-Weng/WWSVGImageView
Computed https://github.com/William-Weng/WWSVGImageView at 1.0.2 (0.49s)
Creating working copy for https://github.com/William-Weng/WWHUD.git
Working copy of https://github.com/William-Weng/WWHUD.git resolved at main (1397cb7)
Creating working copy for https://github.com/William-Weng/WWSVGImageView
Working copy of https://github.com/William-Weng/WWSVGImageView resolved at 1.0.2
warning: '.resolve-product-dependencies': dependency 'wwhud' is not used by any target
Found 1 product dependencies
  - WWSVGImageView
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/William-Weng/WWHUD.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Copying HUDViewController.xib
[1/6] Write sources
[2/6] Copying Privacy
[5/6] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Emitting module WWSVGImageView
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/SwiftUI/WWSVGImage.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | // MARK: - 給SwiftUI用的
11 | public struct WWSVGImage: View {
   |               `- note: add '@available' attribute to enclosing struct
12 |
13 |     private let svg: String
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
22 |         SVGImage(svg: svg, useRWD: useRWD)
23 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/Utility/Model.swift:34:34: error: cannot find type 'Context' in scope
32 |         let useRWD: Bool
33 |
34 |         func makeUIView(context: Context) -> UIViewType {
   |                                  `- error: cannot find type 'Context' in scope
35 |             return WWSVGImageView.build()
36 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/Utility/Model.swift:37:59: error: cannot find type 'Context' in scope
35 |             return WWSVGImageView.build()
36 |         }
37 |         func updateUIView(_ webView: UIViewType, context: Context) {
   |                                                           `- error: cannot find type 'Context' in scope
38 |             webView.load(svg: svg)
39 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/Utility/Model.swift:27:23: error: cannot find type 'UIViewRepresentable' in scope
25 | extension WWSVGImage {
26 |
27 |     struct SVGImage : UIViewRepresentable {
   |                       `- error: cannot find type 'UIViewRepresentable' in scope
28 |
29 |         typealias UIViewType = WWSVGImageView
[8/13] Compiling WWSVGImageView Constant.swift
[9/13] Compiling WWSVGImageView resource_bundle_accessor.swift
[10/13] Compiling WWSVGImageView WWSVGImageView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/WWSVGImageView.swift:19:17: error: cannot assign to property: 'isOpaque' is a get-only property
 17 |         let webView: WWSVGImageView = WWSVGImageView._build(html: "")
 18 |
 19 |         webView.isOpaque = false
    |                 `- error: cannot assign to property: 'isOpaque' is a get-only property
 20 |         webView.backgroundColor = .clear
 21 |         webView.scrollView.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/WWSVGImageView.swift:20:17: error: value of type 'WWSVGImageView' has no member 'backgroundColor'
 18 |
 19 |         webView.isOpaque = false
 20 |         webView.backgroundColor = .clear
    |                 `- error: value of type 'WWSVGImageView' has no member 'backgroundColor'
 21 |         webView.scrollView.backgroundColor = .clear
 22 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/WWSVGImageView.swift:20:36: error: cannot infer contextual base in reference to member 'clear'
 18 |
 19 |         webView.isOpaque = false
 20 |         webView.backgroundColor = .clear
    |                                    `- error: cannot infer contextual base in reference to member 'clear'
 21 |         webView.scrollView.backgroundColor = .clear
 22 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/WWSVGImageView.swift:21:17: error: value of type 'WWSVGImageView' has no member 'scrollView'
 19 |         webView.isOpaque = false
 20 |         webView.backgroundColor = .clear
 21 |         webView.scrollView.backgroundColor = .clear
    |                 `- error: value of type 'WWSVGImageView' has no member 'scrollView'
 22 |
 23 |         return webView
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/WWSVGImageView.swift:21:47: error: cannot infer contextual base in reference to member 'clear'
 19 |         webView.isOpaque = false
 20 |         webView.backgroundColor = .clear
 21 |         webView.scrollView.backgroundColor = .clear
    |                                               `- error: cannot infer contextual base in reference to member 'clear'
 22 |
 23 |         return webView
[11/13] Compiling WWSVGImageView WWSVGImage.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/SwiftUI/WWSVGImage.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | // MARK: - 給SwiftUI用的
11 | public struct WWSVGImage: View {
   |               `- note: add '@available' attribute to enclosing struct
12 |
13 |     private let svg: String
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
22 |         SVGImage(svg: svg, useRWD: useRWD)
23 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/SwiftUI/WWSVGImage.swift:22:9: error: static method 'buildExpression' requires that 'WWSVGImage.SVGImage' conform to 'View'
20 |
21 |     public var body: some View {
22 |         SVGImage(svg: svg, useRWD: useRWD)
   |         `- error: static method 'buildExpression' requires that 'WWSVGImage.SVGImage' conform to 'View'
23 |     }
24 | }
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'WWSVGImage.SVGImage'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
  |                    `- note: where 'Content' = 'WWSVGImage.SVGImage'
3 |
[12/13] Compiling WWSVGImageView Extension.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/Utility/Extension.swift:48:17: error: value of type 'T' has no member 'backgroundColor'
46 |
47 |         webView.loadHTMLString(html, baseURL: nil)
48 |         webView.backgroundColor = .clear
   |                 `- error: value of type 'T' has no member 'backgroundColor'
49 |
50 |         return webView
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/Utility/Extension.swift:48:36: error: cannot infer contextual base in reference to member 'clear'
46 |
47 |         webView.loadHTMLString(html, baseURL: nil)
48 |         webView.backgroundColor = .clear
   |                                    `- error: cannot infer contextual base in reference to member 'clear'
49 |
50 |         return webView
[13/13] Compiling WWSVGImageView Model.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/Utility/Model.swift:34:34: error: cannot find type 'Context' in scope
32 |         let useRWD: Bool
33 |
34 |         func makeUIView(context: Context) -> UIViewType {
   |                                  `- error: cannot find type 'Context' in scope
35 |             return WWSVGImageView.build()
36 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/Utility/Model.swift:37:59: error: cannot find type 'Context' in scope
35 |             return WWSVGImageView.build()
36 |         }
37 |         func updateUIView(_ webView: UIViewType, context: Context) {
   |                                                           `- error: cannot find type 'Context' in scope
38 |             webView.load(svg: svg)
39 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWSVGImageView/Sources/WWSVGImageView/Utility/Model.swift:27:23: error: cannot find type 'UIViewRepresentable' in scope
25 | extension WWSVGImage {
26 |
27 |     struct SVGImage : UIViewRepresentable {
   |                       `- error: cannot find type 'UIViewRepresentable' in scope
28 |
29 |         typealias UIViewType = WWSVGImageView
BUILD FAILURE 6.3 macosSpm