The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWAppFirstInstall, reference 1.1.1 (0ce2cb), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 04:05:12 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWAppFirstInstall.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWAppFirstInstall
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 0ce2cb5 - update Example.png
Cloned https://github.com/William-Weng/WWAppFirstInstall.git
Revision (git rev-parse @):
0ce2cb5e0266e2af802f6515517f59bef828fe10
SUCCESS checkout https://github.com/William-Weng/WWAppFirstInstall.git at 1.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/William-Weng/WWAppFirstInstall.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[3/7] Copying Privacy
[6/7] Write swift-version-1EA4D86E10B52AF.txt
[8/11] Compiling WWPrint resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Compiling WWPrint WWPrint.swift
[10/11] Emitting module WWPrint
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:35:25: error: 'Logger' is only available in macOS 11.0 or newer
 9 |
10 | // MARK: - WWLogger
11 | open class WWLogger {
   |            `- note: add @available attribute to enclosing class
12 |
13 |     /// Logger的等級
   :
33 |     }
34 |
35 |     private var logger: Logger?
   |                         `- error: 'Logger' is only available in macOS 11.0 or newer
36 |
37 |     private init() {}
[11/11] Compiling WWPrint WWLogger.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:35:25: error: 'Logger' is only available in macOS 11.0 or newer
 9 |
10 | // MARK: - WWLogger
11 | open class WWLogger {
   |            `- note: add @available attribute to enclosing class
12 |
13 |     /// Logger的等級
   :
33 |     }
34 |
35 |     private var logger: Logger?
   |                         `- error: 'Logger' is only available in macOS 11.0 or newer
36 |
37 |     private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:51:28: error: 'Logger' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
46 |     ///   - category: String
47 |     /// - Returns: WWLogger
48 |     static func build(subsystem: String, category: String = "Default") -> WWLogger {
   |                 `- note: add @available attribute to enclosing static method
49 |
50 |         let logger = WWLogger()
51 |         logger.logger = os.Logger(subsystem: subsystem, category: category)
   |                            |- error: 'Logger' is only available in macOS 11.0 or newer
   |                            `- note: add 'if #available' version check
52 |
53 |         return logger
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:75:35: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
73 |
74 |         switch level {
75 |         case .debug: logger.debug("\(message)")
   |                                   |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                   `- note: add 'if #available' version check
76 |         case .info: logger.info("\(message)")
77 |         case .notice: logger.notice("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:75:37: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
73 |
74 |         switch level {
75 |         case .debug: logger.debug("\(message)")
   |                                     |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                     `- note: add 'if #available' version check
76 |         case .info: logger.info("\(message)")
77 |         case .notice: logger.notice("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:76:33: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
   :
74 |         switch level {
75 |         case .debug: logger.debug("\(message)")
76 |         case .info: logger.info("\(message)")
   |                                 |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                 `- note: add 'if #available' version check
77 |         case .notice: logger.notice("\(message)")
78 |         case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:76:35: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
   :
74 |         switch level {
75 |         case .debug: logger.debug("\(message)")
76 |         case .info: logger.info("\(message)")
   |                                   |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                   `- note: add 'if #available' version check
77 |         case .notice: logger.notice("\(message)")
78 |         case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:77:37: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
   :
75 |         case .debug: logger.debug("\(message)")
76 |         case .info: logger.info("\(message)")
77 |         case .notice: logger.notice("\(message)")
   |                                     |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                     `- note: add 'if #available' version check
78 |         case .warning: logger.warning("\(message)")
79 |         case .critical: logger.critical("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:77:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
   :
75 |         case .debug: logger.debug("\(message)")
76 |         case .info: logger.info("\(message)")
77 |         case .notice: logger.notice("\(message)")
   |                                       |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
78 |         case .warning: logger.warning("\(message)")
79 |         case .critical: logger.critical("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:78:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
   :
76 |         case .info: logger.info("\(message)")
77 |         case .notice: logger.notice("\(message)")
78 |         case .warning: logger.warning("\(message)")
   |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
79 |         case .critical: logger.critical("\(message)")
80 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:78:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
   :
76 |         case .info: logger.info("\(message)")
77 |         case .notice: logger.notice("\(message)")
78 |         case .warning: logger.warning("\(message)")
   |                                         |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                         `- note: add 'if #available' version check
79 |         case .critical: logger.critical("\(message)")
80 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:79:41: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
   :
77 |         case .notice: logger.notice("\(message)")
78 |         case .warning: logger.warning("\(message)")
79 |         case .critical: logger.critical("\(message)")
   |                                         |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                         `- note: add 'if #available' version check
80 |         }
81 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:79:43: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
   |        `- note: add @available attribute to enclosing extension
42 |
43 |     /// 建立WWLogger
   :
68 |     ///   - message: OSLogMessage
69 |     ///   - level: LoggerLevel
70 |     func message(_ message: String, level: LoggerLevel = .notice) {
   |          `- note: add @available attribute to enclosing instance method
71 |
72 |         guard let logger = logger else { return }
   :
77 |         case .notice: logger.notice("\(message)")
78 |         case .warning: logger.warning("\(message)")
79 |         case .critical: logger.critical("\(message)")
   |                                           |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                           `- note: add 'if #available' version check
80 |         }
81 |     }
Fetching https://github.com/William-Weng/WWKeychain
[1/123] Fetching wwkeychain
Fetched https://github.com/William-Weng/WWKeychain from cache (0.92s)
Computing version for https://github.com/William-Weng/WWKeychain
Computed https://github.com/William-Weng/WWKeychain at 1.0.4 (1.45s)
Fetching https://github.com/William-Weng/WWPrint.git
[1/92] Fetching wwprint
Fetched https://github.com/William-Weng/WWPrint.git from cache (0.76s)
Computing version for https://github.com/William-Weng/WWPrint.git
Computed https://github.com/William-Weng/WWPrint.git at 1.3.1 (1.29s)
Creating working copy for https://github.com/William-Weng/WWKeychain
Working copy of https://github.com/William-Weng/WWKeychain resolved at 1.0.4
Creating working copy for https://github.com/William-Weng/WWPrint.git
Working copy of https://github.com/William-Weng/WWPrint.git resolved at 1.3.1
BUILD FAILURE 6.2 macosSpm