The Swift Package Index logo.Swift Package Index

Build Information

Failed to build x11-example with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/terhechte/swift-x11-example.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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 (0.26s)
Computing version for https://github.com/aestesis/X11.git
Computed https://github.com/aestesis/X11.git at 1.0.2 (0.46s)
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/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-x11-example",
      "name": "x11-example",
      "url": "https://github.com/terhechte/swift-x11-example.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-x11-example",
      "dependencies": [
        {
          "identity": "x11",
          "name": "X11",
          "url": "https://github.com/aestesis/X11.git",
          "version": "1.0.2",
          "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/X11",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/terhechte/swift-x11-example.git
[2/161] Fetching swift-x11-example
Fetched https://github.com/terhechte/swift-x11-example.git (0.31s)
Fetching https://github.com/aestesis/X11.git from cache
Fetched https://github.com/aestesis/X11.git (0.20s)
Computing version for https://github.com/aestesis/X11.git
Computed https://github.com/aestesis/X11.git at 1.0.2 (0.02s)
Creating working copy for https://github.com/aestesis/X11.git
Working copy of https://github.com/aestesis/X11.git resolved at 1.0.2
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
warning: 'x11': ignoring declared target(s) 'X11' in the system package
Found 1 product dependencies
  - X11
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module DEMO
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/X11/module.modulemap:4:16: error: header '/usr/include/X11/Xlib.h' not found
        header "/usr/include/X11/Xlib.h"
               ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/main.swift:1:8: error: could not build Objective-C module 'X11'
import X11.Xlib
       ^
[2/3] Compiling DEMO main.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/X11/module.modulemap:4:16: error: header '/usr/include/X11/Xlib.h' not found
        header "/usr/include/X11/Xlib.h"
               ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/main.swift:1:8: error: could not build Objective-C module 'X11'
import X11.Xlib
       ^
error: fatalError
warning: 'x11': ignoring declared target(s) 'X11' in the system package
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module DEMO
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/X11/module.modulemap:4:16: error: header '/usr/include/X11/Xlib.h' not found
        header "/usr/include/X11/Xlib.h"
               ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/main.swift:1:8: error: could not build Objective-C module 'X11'
import X11.Xlib
       ^
[2/3] Compiling DEMO main.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/X11/module.modulemap:4:16: error: header '/usr/include/X11/Xlib.h' not found
        header "/usr/include/X11/Xlib.h"
               ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/main.swift:1:8: error: could not build Objective-C module 'X11'
import X11.Xlib
       ^
error: fatalError
warning: 'x11': ignoring declared target(s) 'X11' in the system package
BUILD FAILURE 5.9 macosSpm