The Swift Package Index logo.Swift Package Index

Build Information

Failed to build x11-example, reference master (143d4a), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 20:14:04 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/terhechte/swift-x11-example.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/terhechte/swift-x11-example
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 143d4ab Merge pull request #3 from aestesis/master
Cloned https://github.com/terhechte/swift-x11-example.git
Revision (git rev-parse @):
143d4abfd517fdca5500b04783479df07ed97429
SUCCESS checkout https://github.com/terhechte/swift-x11-example.git at master
Fetching https://github.com/aestesis/X11.git
[1/35] Fetching x11
Fetched https://github.com/aestesis/X11.git from cache (0.52s)
Computing version for https://github.com/aestesis/X11.git
Computed https://github.com/aestesis/X11.git at 1.0.2 (1.23s)
Creating working copy for https://github.com/aestesis/X11.git
Working copy of https://github.com/aestesis/X11.git 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": "swift-x11-example",
      "name": "x11-example",
      "url": "https://github.com/terhechte/swift-x11-example.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-x11-example",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "x11",
          "name": "X11",
          "url": "https://github.com/aestesis/X11.git",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/X11",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/terhechte/swift-x11-example.git
[1/161] Fetching swift-x11-example
Fetched https://github.com/terhechte/swift-x11-example.git from cache (1.03s)
Fetching https://github.com/aestesis/X11.git from cache
Fetched https://github.com/aestesis/X11.git from cache (0.46s)
Computing version for https://github.com/aestesis/X11.git
Computed https://github.com/aestesis/X11.git at 1.0.2 (0.52s)
Creating working copy for https://github.com/terhechte/swift-x11-example.git
Working copy of https://github.com/terhechte/swift-x11-example.git resolved at master (143d4ab)
Creating working copy for https://github.com/aestesis/X11.git
Working copy of https://github.com/aestesis/X11.git resolved at 1.0.2
warning: 'x11': ignoring declared target(s) 'X11' in the system package
Found 1 product dependencies
  - X11
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/terhechte/swift-x11-example.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write x11-example-entitlement.plist
[2/6] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module DEMO
/Users/admin/builder/spi-builder-workspace/.build/checkouts/X11/module.modulemap:4:16: error: header '/usr/include/X11/Xlib.h' not found
 2 |     header "macros.h"
 3 |     module Xlib {
 4 |         header "/usr/include/X11/Xlib.h"
   |                `- error: header '/usr/include/X11/Xlib.h' not found
 5 |     }
 6 |     module X {
/Users/admin/builder/spi-builder-workspace/main.swift:1:8: error: could not build Objective-C module 'X11'
 1 | import X11.Xlib
   |        `- error: could not build Objective-C module 'X11'
 2 | import X11.X
 3 |
[5/8] Compiling DEMO main.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/X11/module.modulemap:4:16: error: header '/usr/include/X11/Xlib.h' not found
 2 |     header "macros.h"
 3 |     module Xlib {
 4 |         header "/usr/include/X11/Xlib.h"
   |                `- error: header '/usr/include/X11/Xlib.h' not found
 5 |     }
 6 |     module X {
/Users/admin/builder/spi-builder-workspace/main.swift:1:8: error: could not build Objective-C module 'X11'
 1 | import X11.Xlib
   |        `- error: could not build Objective-C module 'X11'
 2 | import X11.X
 3 |
warning: 'x11': ignoring declared target(s) 'X11' in the system package
BUILD FAILURE 6.3 macosSpm