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-4606859-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: develop
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
 * 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:         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-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/modswift/ExExpress.git
Fetching https://github.com/modswift/CApache.git
[1/49] Fetching capache
[50/1182] Fetching capache, exexpress
Fetched https://github.com/modswift/CApache.git from cache (0.39s)
Fetched https://github.com/modswift/ExExpress.git from cache (0.39s)
Computing version for https://github.com/modswift/CApache.git
Computed https://github.com/modswift/CApache.git at 2.0.2 (0.38s)
Computing version for https://github.com/modswift/ExExpress.git
Computed https://github.com/modswift/ExExpress.git at 0.7.2 (0.39s)
Fetching https://github.com/modswift/Freddy.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/544] Fetching mustache
[263/3481] Fetching mustache, freddy
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.26s)
Fetched https://github.com/modswift/Freddy.git from cache (0.27s)
Computing version for https://github.com/modswift/Freddy.git
Computed https://github.com/modswift/Freddy.git at 3.0.58 (0.37s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.1 (0.39s)
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/ExExpress.git
Working copy of https://github.com/modswift/ExExpress.git resolved at 0.7.2
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 mustache MustacheNode.swift
[7/23] Compiling Freddy JSON.swift
[8/23] Compiling Freddy JSONDecodable.swift
[9/23] Emitting module Freddy
[10/24] Compiling Freddy JSONSubscripting.swift
[11/24] Emitting module mustache
[12/24] Compiling mustache HTMLEscape.swift
[13/24] Compiling mustache Helpers.swift
[14/24] Compiling Freddy JSONSerializing.swift
[15/24] Compiling Freddy JSONParsing.swift
[16/24] Compiling mustache Mustacheable.swift
[17/24] Compiling mustache SimpleKVC.swift
[18/24] Compiling mustache MustacheRenderingContext.swift
[19/24] Compiling mustache MustacheParser.swift
[21/25] Compiling Freddy JSONOptional.swift
[22/25] Compiling Freddy JSONLiteralConvertible.swift
[23/25] Compiling Freddy JSONEncodable.swift
[24/25] Compiling Freddy JSONEncodingDetector.swift
[25/25] Compiling Freddy JSONParser.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 ExpressIncomingMessage.swift
[35/77] Compiling ExExpress ExpressJSON.swift
[36/77] Compiling ExExpress ExpressMustache.swift
[37/77] Compiling ExExpress ExpressServerResponse.swift
[38/77] Compiling ExExpress MiddlewareObject.swift
[39/77] Compiling ExExpress Render.swift
[40/77] Compiling ExExpress BodyParser.swift
[41/77] Compiling ExExpress CORS.swift
[42/77] Compiling ExExpress Connect.swift
[43/77] Compiling ExExpress CookieParser.swift
[44/77] Compiling ExExpress Logger.swift
[45/77] Compiling ExExpress MethodOverride.swift
[46/77] Compiling ExExpress Pause.swift
[47/77] Compiling ExExpress fs_module.swift
[48/77] Compiling ExExpress Cookies.swift
[49/77] Compiling ExExpress HttpMessageBaseType.swift
[50/77] Compiling ExExpress HttpMisc.swift
[51/77] Compiling ExExpress IncomingMessage.swift
[52/77] Compiling ExExpress QueryString.swift
[53/77] Compiling ExExpress GWritableStreamType.swift
[54/77] Compiling ExExpress WritableByteStreamType.swift
[55/77] Compiling ExExpress WritableStreams.swift
[56/77] Compiling ExExpress time.swift
[57/77] Compiling ExExpress timespec.swift
[58/77] Compiling ExExpress timeval_any.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 Route.swift
[66/77] Compiling ExExpress RouteKeeper.swift
[67/77] Compiling ExExpress RoutePattern.swift
[68/77] Compiling ExExpress Router.swift
[69/77] Compiling ExExpress Settings.swift
[70/77] Compiling ExExpress express_module.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/88] 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 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
       ^
[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 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)
[85/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
       ^
[86/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
       ^
[87/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
       ^
[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 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
       ^
[3/10] 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
       ^
[4/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
       ^
[5/11] 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
       ^
[6/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
       ^
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 1