Build Information
Failed to build ApacheExpress3 with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.25.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apacheexpress/apacheexpress3.git
Reference: develop
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/apacheexpress/apacheexpress3
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 0264914 Add a GHActions workflow
Cloned https://github.com/apacheexpress/apacheexpress3.git
Revision (git rev-parse @):
0264914da29f7d82674b71750cacf7d601699e02
SUCCESS checkout https://github.com/apacheexpress/apacheexpress3.git at develop
========================================
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...
[1/18] Compiling mustache MustacheRenderingContext.swift
[2/18] Compiling mustache MustacheNode.swift
[3/18] Compiling mustache Helpers.swift
[4/18] Compiling mustache SimpleKVC.swift
[5/18] Compiling mustache Mustacheable.swift
[6/18] Compiling mustache MustacheParser.swift
[7/18] Emitting module mustache
[8/18] Compiling mustache HTMLEscape.swift
[9/18] Compiling Freddy JSONOptional.swift
[10/18] Compiling Freddy JSONParsing.swift
[11/18] Compiling Freddy JSONSerializing.swift
[12/18] Compiling Freddy JSONLiteralConvertible.swift
[13/18] Compiling Freddy JSONEncodable.swift
[14/18] Compiling Freddy JSONEncodingDetector.swift
[15/18] Compiling Freddy JSONParser.swift
[16/18] Emitting module Freddy
[17/18] Compiling Freddy JSON.swift
[18/18] Compiling Freddy JSONDecodable.swift
[19/19] Compiling Freddy JSONSubscripting.swift
[20/64] Compiling ExExpress ExpressIncomingMessage.swift
[21/64] Compiling ExExpress ExpressJSON.swift
[22/64] Compiling ExExpress ExpressMustache.swift
[23/64] Compiling ExExpress ExpressServerResponse.swift
[24/64] Compiling ExExpress MiddlewareObject.swift
[25/64] Compiling ExExpress Render.swift
[26/64] Compiling ExExpress QS.swift
[27/64] Compiling ExExpress Session.swift
[28/64] Compiling ExExpress TypeIs.swift
[29/64] Compiling ExExpress connect_module.swift
[30/64] Compiling ExExpress Console.swift
[31/64] Compiling ExExpress console_module.swift
[32/64] Compiling ExExpress Express.swift
[33/64] Compiling ExExpress BodyParser.swift
[34/64] Compiling ExExpress CORS.swift
[35/64] Compiling ExExpress Connect.swift
[36/64] Compiling ExExpress CookieParser.swift
[37/64] Compiling ExExpress Logger.swift
[38/64] Compiling ExExpress MethodOverride.swift
[39/64] Compiling ExExpress Pause.swift
[40/64] Compiling ExExpress Route.swift
[41/64] Compiling ExExpress RouteKeeper.swift
[42/64] Compiling ExExpress RoutePattern.swift
[43/64] Compiling ExExpress Router.swift
[44/64] Compiling ExExpress Settings.swift
[45/64] Compiling ExExpress express_module.swift
[46/64] Compiling ExExpress ServerResponse.swift
[47/64] Compiling ExExpress TestSupport.swift
[48/64] Compiling ExExpress URL.swift
[49/64] Compiling ExExpress http_module.swift
[50/64] Compiling ExExpress JSONWritableStream.swift
[51/64] Compiling ExExpress JsonFile.swift
[52/64] Compiling ExExpress Stringify.swift
[53/64] Compiling ExExpress json_module.swift
[54/64] Compiling ExExpress leftpad_module.swift
[55/64] Compiling ExExpress mime_module.swift
[56/64] Compiling ExExpress process_module.swift
[57/64] Compiling ExExpress FileOutputStream.swift
[58/64] Emitting module ExExpress
[59/64] Compiling ExExpress fs_module.swift
[60/64] Compiling ExExpress Cookies.swift
[61/64] Compiling ExExpress HttpMessageBaseType.swift
[62/64] Compiling ExExpress HttpMisc.swift
[63/64] Compiling ExExpress IncomingMessage.swift
[64/64] Compiling ExExpress QueryString.swift
[65/70] Compiling ExExpress GWritableStreamType.swift
[66/70] Compiling ExExpress WritableByteStreamType.swift
[67/70] Compiling ExExpress WritableStreams.swift
[68/70] Compiling ExExpress time.swift
[69/70] Compiling ExExpress timespec.swift
[70/70] Compiling ExExpress timeval_any.swift
[71/79] Compiling ApacheExpress3 ApacheIncomingMessage.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[72/79] Compiling ApacheExpress3 ReExport.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[73/79] Compiling ApacheExpress3 ApacheReloadMiddleware.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/80] Emitting module ApacheExpress3
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[75/80] Compiling ApacheExpress3 ApacheMessageBase.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[76/80] Compiling ApacheExpress3 ApacheExpressHandler.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[77/80] Compiling ApacheExpress3 ApacheConsole.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[78/80] Compiling ApacheExpress3 ApacheExpress3.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[79/80] Compiling ApacheExpress3 ApacheServer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[80/80] Compiling ApacheExpress3 ApacheServerResponse.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
error: fatalError
Fetching https://github.com/modswift/ExExpress.git from cache
Fetching https://github.com/modswift/CApache.git from cache
Fetched https://github.com/modswift/ExExpress.git (0.19s)
Fetched https://github.com/modswift/CApache.git (0.19s)
Computing version for https://github.com/modswift/CApache.git
Computed https://github.com/modswift/CApache.git at 2.0.2 (0.55s)
Computing version for https://github.com/modswift/ExExpress.git
Computed https://github.com/modswift/ExExpress.git at 0.7.2 (0.60s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git from cache
Fetching https://github.com/modswift/Freddy.git from cache
Fetched https://github.com/modswift/Freddy.git (0.18s)
Fetched https://github.com/AlwaysRightInstitute/mustache.git (0.18s)
Computing version for https://github.com/modswift/Freddy.git
Computed https://github.com/modswift/Freddy.git at 3.0.58 (0.60s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.1 (0.58s)
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.1
Creating working copy for https://github.com/modswift/Freddy.git
Working copy of https://github.com/modswift/Freddy.git resolved at 3.0.58
Creating working copy for https://github.com/modswift/CApache.git
Working copy of https://github.com/modswift/CApache.git resolved at 2.0.2
Creating working copy for https://github.com/modswift/ExExpress.git
Working copy of https://github.com/modswift/ExExpress.git resolved at 0.7.2
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install mod_swift using your system-packager:
brew install modswift/mod_swift
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/9] Emitting module ApacheExpress3
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[2/9] Compiling ApacheExpress3 ApacheIncomingMessage.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[3/9] Compiling ApacheExpress3 ReExport.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[4/9] Compiling ApacheExpress3 ApacheMessageBase.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[5/9] Compiling ApacheExpress3 ApacheExpressHandler.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[6/9] Compiling ApacheExpress3 ApacheServer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[7/9] Compiling ApacheExpress3 ApacheReloadMiddleware.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[8/9] Compiling ApacheExpress3 ApacheConsole.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[9/9] Compiling ApacheExpress3 ApacheExpress3.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
[10/10] Compiling ApacheExpress3 ApacheServerResponse.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "CApache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build Objective-C module 'CApache'
import CApache
^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install mod_swift using your system-packager:
brew install modswift/mod_swift
BUILD FAILURE 5.9 macosSpm