The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lexical, reference main (59a67a), with Swift 6.4 for macOS (SPM) on 28 Oct 2026 04:22:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/facebook/lexical-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/facebook/lexical-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 59a67a7 Fix unused_enumerated violations in fbobjc
Cloned https://github.com/facebook/lexical-ios.git
Revision (git rev-parse @):
59a67a7442e637ebaf08e1a5a3da2fb2e2df7b78
SUCCESS checkout https://github.com/facebook/lexical-ios.git at main
Fetching https://github.com/apple/swift-markdown.git
[1/7790] Fetching swift-markdown
Fetched https://github.com/apple/swift-markdown.git (1.62s)
Fetching https://github.com/apple/swift-cmark.git
[1/18667] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git (2.96s)
Fetching https://github.com/scinfu/SwiftSoup.git
[1/7132] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git (1.63s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.2 (2.34s)
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at main (737e34e)
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at gfm (2c47322)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.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": "lexical-ios",
      "name": "Lexical",
      "url": "https://github.com/facebook/lexical-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/lexical-ios",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swiftsoup",
          "name": "SwiftSoup",
          "url": "https://github.com/scinfu/SwiftSoup.git",
          "version": "2.14.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSoup",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swift-markdown",
          "name": "swift-markdown",
          "url": "https://github.com/apple/swift-markdown.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-markdown",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-cmark",
              "name": "cmark-gfm",
              "url": "https://github.com/swiftlang/swift-cmark.git",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cmark",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/facebook/lexical-ios.git
[1/6204] Fetching lexical-ios
Fetched https://github.com/facebook/lexical-ios.git (1.59s)
Fetching https://github.com/apple/swift-markdown.git from cache
Fetched https://github.com/apple/swift-markdown.git from cache (0.77s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18667] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (2.58s)
Fetching https://github.com/scinfu/SwiftSoup.git from cache
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.61s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.14.3 (1.23s)
Creating working copy for https://github.com/facebook/lexical-ios.git
Working copy of https://github.com/facebook/lexical-ios.git resolved at main (59a67a7)
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at main (392b73b)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (a7ecfef)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.14.3
warning: '.resolve-product-dependencies': dependency 'lexical-ios' is not used by any target
Found 2 product dependencies
  - SwiftSoup
  - swift-markdown
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/facebook/lexical-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 711]
[Planning deferred tasks]
[105 / 276] SwiftSoup_SwiftSoup
[106 / 276]
[117 / 279] SwiftSoup
[137 / 291] cmark-gfm
[159 / 301]
[167 / 301]
[183 / 301] cmark-gfm
[194 / 301] cmark-gfm
[202 / 301] SwiftSoup
error: /Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift:9:8 unable to resolve module dependency: 'UIKit'
error: /Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:9:8 unable to resolve module dependency: 'MobileCoreServices'
error: SwiftDriver Lexical normal arm64 com.apple.xcode.tools.swift.compiler failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name Lexical -Onone @/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/Objects-normal/arm64/Lexical.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a389db99fe7804849a4777d653a8cfc1be.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/Objects-normal/arm64/Lexical-OutputFileMap.json -save-temps -color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/Objects-normal/arm64/Lexical.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/Objects-normal/arm64/Lexical-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/Objects-normal/arm64/Lexical_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug/Lexical-t.build/Objects-normal/arm64/Lexical-Swift.h -working-directory /Users/admin/builder -experimental-emit-module-separately -disable-cmo
error: Build failed
BUILD FAILURE 6.4 macosSpm