The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ApacheExpress3 with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apacheexpress/apacheexpress3.git
Reference: 0.8.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/apacheexpress/apacheexpress3
 * tag               0.8.2      -> FETCH_HEAD
HEAD is now at 4f83895 Merge branch 'develop'
Cloned https://github.com/apacheexpress/apacheexpress3.git
Revision (git rev-parse @):
4f8389582b81a9a80a49079502d8fec94b4e3d3b
SUCCESS checkout https://github.com/apacheexpress/apacheexpress3.git at 0.8.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/apacheexpress/apacheexpress3.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/modswift/CApache.git
Fetching https://github.com/modswift/ExExpress.git
[1/1133] Fetching exexpress
[1134/1182] Fetching exexpress, capache
Fetched https://github.com/modswift/CApache.git from cache (0.27s)
Fetched https://github.com/modswift/ExExpress.git from cache (0.27s)
Computing version for https://github.com/modswift/CApache.git
Computed https://github.com/modswift/CApache.git at 2.0.2 (0.44s)
Computing version for https://github.com/modswift/ExExpress.git
Computed https://github.com/modswift/ExExpress.git at 0.7.2 (0.46s)
Fetching https://github.com/modswift/Freddy.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/2937] Fetching freddy
[824/3481] Fetching freddy, mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.31s)
Fetched https://github.com/modswift/Freddy.git from cache (0.33s)
Computing version for https://github.com/modswift/Freddy.git
Computed https://github.com/modswift/Freddy.git at 3.0.58 (0.44s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.1 (0.45s)
Creating working copy for https://github.com/modswift/ExExpress.git
Working copy of https://github.com/modswift/ExExpress.git resolved at 0.7.2
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/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
warning: you may be able to install mod_swift using your system-packager:
    apt-get install apache2-dev
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/23] Compiling Freddy JSONSerializing.swift
[7/24] Compiling Freddy JSONParsing.swift
[8/24] Compiling Freddy JSONOptional.swift
[9/24] Compiling Freddy JSONLiteralConvertible.swift
[10/24] Compiling Freddy JSONParser.swift
[11/24] Emitting module Freddy
[12/24] Compiling Freddy JSON.swift
[13/24] Compiling Freddy JSONDecodable.swift
[14/24] Compiling Freddy JSONEncodable.swift
[15/24] Compiling Freddy JSONEncodingDetector.swift
[16/24] Compiling mustache HTMLEscape.swift
[17/24] Emitting module mustache
[18/24] Compiling mustache MustacheNode.swift
[19/24] Compiling mustache MustacheRenderingContext.swift
[20/24] Compiling mustache Mustacheable.swift
[21/24] Compiling mustache Helpers.swift
[22/24] Compiling mustache SimpleKVC.swift
[23/24] Compiling mustache MustacheParser.swift
[25/25] Compiling Freddy JSONSubscripting.swift
[27/71] Compiling ExExpress Stringify.swift
[28/71] Compiling ExExpress json_module.swift
[29/71] Compiling ExExpress leftpad_module.swift
[30/71] Compiling ExExpress mime_module.swift
[31/71] Compiling ExExpress process_module.swift
[32/71] Compiling ExExpress FileOutputStream.swift
[33/77] Emitting module ExExpress
[34/77] Compiling ExExpress BodyParser.swift
[35/77] Compiling ExExpress CORS.swift
[36/77] Compiling ExExpress Connect.swift
[37/77] Compiling ExExpress CookieParser.swift
[38/77] Compiling ExExpress Logger.swift
[39/77] Compiling ExExpress MethodOverride.swift
[40/77] Compiling ExExpress Pause.swift
[41/77] Compiling ExExpress fs_module.swift
[42/77] Compiling ExExpress Cookies.swift
[43/77] Compiling ExExpress HttpMessageBaseType.swift
[44/77] Compiling ExExpress HttpMisc.swift
[45/77] Compiling ExExpress IncomingMessage.swift
[46/77] Compiling ExExpress QueryString.swift
[47/77] Compiling ExExpress GWritableStreamType.swift
[48/77] Compiling ExExpress WritableByteStreamType.swift
[49/77] Compiling ExExpress WritableStreams.swift
[50/77] Compiling ExExpress time.swift
[51/77] Compiling ExExpress timespec.swift
[52/77] Compiling ExExpress timeval_any.swift
[53/77] Compiling ExExpress Route.swift
[54/77] Compiling ExExpress RouteKeeper.swift
[55/77] Compiling ExExpress RoutePattern.swift
[56/77] Compiling ExExpress Router.swift
[57/77] Compiling ExExpress Settings.swift
[58/77] Compiling ExExpress express_module.swift
[59/77] Compiling ExExpress ServerResponse.swift
[60/77] Compiling ExExpress TestSupport.swift
[61/77] Compiling ExExpress URL.swift
[62/77] Compiling ExExpress http_module.swift
[63/77] Compiling ExExpress JSONWritableStream.swift
[64/77] Compiling ExExpress JsonFile.swift
[65/77] Compiling ExExpress ExpressIncomingMessage.swift
[66/77] Compiling ExExpress ExpressJSON.swift
[67/77] Compiling ExExpress ExpressMustache.swift
[68/77] Compiling ExExpress ExpressServerResponse.swift
[69/77] Compiling ExExpress MiddlewareObject.swift
[70/77] Compiling ExExpress Render.swift
[71/77] Compiling ExExpress QS.swift
[72/77] Compiling ExExpress Session.swift
[73/77] Compiling ExExpress TypeIs.swift
[74/77] Compiling ExExpress connect_module.swift
[75/77] Compiling ExExpress Console.swift
[76/77] Compiling ExExpress console_module.swift
[77/77] Compiling ExExpress Express.swift
[79/87] 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
       ^
[80/87] 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
       ^
[81/88] 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
       ^
[82/88] 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
       ^
[83/88] 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
       ^
[84/88] 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
       ^
[85/88] 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
       ^
[86/88] 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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/88] 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
       ^
[88/88] 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
warning: you may be able to install mod_swift using your system-packager:
    apt-get install apache2-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] 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
       ^
[3/11] 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
       ^
[4/11] 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
       ^
[5/11] 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
       ^
[6/11] 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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] 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
       ^
[8/11] 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
       ^
[9/11] 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
       ^
[10/11] 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
       ^
[11/11] 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.10 linux

Build Machine: Linux 2