The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ApacheExpress3 with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apacheexpress/apacheexpress3.git
Reference: 0.8.2
Cloned https://github.com/apacheexpress/apacheexpress3.git into spi-builder-workspace
SUCCESS checkout https://github.com/apacheexpress/apacheexpress3.git at 0.8.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/modswift/ExExpress.git
Fetching https://github.com/modswift/CApache.git
[1/1133] Fetching exexpress
Fetched https://github.com/modswift/ExExpress.git (0.24s)
Fetched https://github.com/modswift/CApache.git (0.25s)
Computing version for https://github.com/modswift/CApache.git
Computed https://github.com/modswift/CApache.git at 2.0.2 (0.29s)
Computing version for https://github.com/modswift/ExExpress.git
Computed https://github.com/modswift/ExExpress.git at 0.7.2 (0.31s)
Fetching https://github.com/modswift/Freddy.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/544] Fetching mustache
[545/3481] Fetching mustache, freddy
Fetched https://github.com/AlwaysRightInstitute/mustache.git (0.24s)
[823/2937] Fetching freddy
Fetched https://github.com/modswift/Freddy.git (0.34s)
Computing version for https://github.com/modswift/Freddy.git
Computed https://github.com/modswift/Freddy.git at 3.0.58 (0.29s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.1 (0.29s)
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/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/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: you may be able to install mod_swift using your system-packager:
    apt-get install apache2-dev
Building for debugging...
[1/18] Emitting module mustache
[2/18] Compiling Freddy JSON.swift
[3/18] Compiling Freddy JSONDecodable.swift
[4/18] Emitting module Freddy
[5/19] Compiling Freddy JSONParsing.swift
[6/19] Compiling Freddy JSONSerializing.swift
[7/19] Compiling Freddy JSONEncodable.swift
[8/19] Compiling Freddy JSONEncodingDetector.swift
[9/19] Compiling Freddy JSONOptional.swift
[10/19] Compiling mustache MustacheNode.swift
[11/19] Compiling mustache Mustacheable.swift
[12/19] Compiling mustache MustacheRenderingContext.swift
[13/19] Compiling mustache SimpleKVC.swift
[14/19] Compiling mustache MustacheParser.swift
[15/19] Compiling mustache HTMLEscape.swift
[16/19] Compiling mustache Helpers.swift
[18/21] Compiling Freddy JSONLiteralConvertible.swift
[19/21] Compiling Freddy JSONParser.swift
[21/21] Compiling Freddy JSONSubscripting.swift
[24/68] Compiling ExExpress ExpressIncomingMessage.swift
[25/68] Compiling ExExpress ExpressJSON.swift
[26/68] Compiling ExExpress ExpressMustache.swift
[27/68] Compiling ExExpress ExpressServerResponse.swift
[28/68] Compiling ExExpress MiddlewareObject.swift
[29/68] Compiling ExExpress Render.swift
[30/74] Emitting module ExExpress
[31/74] Compiling ExExpress Route.swift
[32/74] Compiling ExExpress RouteKeeper.swift
[33/74] Compiling ExExpress RoutePattern.swift
[34/74] Compiling ExExpress Router.swift
[35/74] Compiling ExExpress Settings.swift
[36/74] Compiling ExExpress express_module.swift
[37/74] Compiling ExExpress ServerResponse.swift
[38/74] Compiling ExExpress TestSupport.swift
[39/74] Compiling ExExpress URL.swift
[40/74] Compiling ExExpress http_module.swift
[41/74] Compiling ExExpress JSONWritableStream.swift
[42/74] Compiling ExExpress JsonFile.swift
[43/74] Compiling ExExpress Stringify.swift
[44/74] Compiling ExExpress json_module.swift
[45/74] Compiling ExExpress leftpad_module.swift
[46/74] Compiling ExExpress mime_module.swift
[47/74] Compiling ExExpress process_module.swift
[48/74] Compiling ExExpress FileOutputStream.swift
[49/74] Compiling ExExpress BodyParser.swift
[50/74] Compiling ExExpress CORS.swift
[51/74] Compiling ExExpress Connect.swift
[52/74] Compiling ExExpress CookieParser.swift
[53/74] Compiling ExExpress Logger.swift
[54/74] Compiling ExExpress MethodOverride.swift
[55/74] Compiling ExExpress Pause.swift
[56/74] Compiling ExExpress fs_module.swift
[57/74] Compiling ExExpress Cookies.swift
[58/74] Compiling ExExpress HttpMessageBaseType.swift
[59/74] Compiling ExExpress HttpMisc.swift
[60/74] Compiling ExExpress IncomingMessage.swift
[61/74] Compiling ExExpress QueryString.swift
[62/74] Compiling ExExpress GWritableStreamType.swift
[63/74] Compiling ExExpress WritableByteStreamType.swift
[64/74] Compiling ExExpress WritableStreams.swift
[65/74] Compiling ExExpress time.swift
[66/74] Compiling ExExpress timespec.swift
[67/74] Compiling ExExpress timeval_any.swift
[68/74] Compiling ExExpress QS.swift
[69/74] Compiling ExExpress Session.swift
[70/74] Compiling ExExpress TypeIs.swift
[71/74] Compiling ExExpress connect_module.swift
[72/74] Compiling ExExpress Console.swift
[73/74] Compiling ExExpress console_module.swift
[74/74] Compiling ExExpress Express.swift
[77/85] Compiling ApacheExpress3 ReExport.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
[78/86] Compiling ApacheExpress3 ApacheExpressHandler.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
[79/86] Compiling ApacheExpress3 ApacheMessageBase.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
[80/86] Compiling ApacheExpress3 ApacheServer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
[81/86] Compiling ApacheExpress3 ApacheIncomingMessage.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[82/86] Emitting module ApacheExpress3
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
[83/86] Compiling ApacheExpress3 ApacheReloadMiddleware.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
[84/86] Compiling ApacheExpress3 ApacheConsole.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
[85/86] Compiling ApacheExpress3 ApacheExpress3.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
[86/86] Compiling ApacheExpress3 ApacheServerResponse.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
         ^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2